If your line is shown as Registered but you also see 'Offline' displayed, this is a user set value, which you can click on to change to 'Available' as shown below:
The line will then be registered as 'Online' inside the Phone Line Configuration page.