Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 226319

PJSIP trunks not registering with provider - unknown option "line"

$
0
0

I am using Freepbx 14.0.1.31 and asterisk 12.8.2

I have create two PJSIP trunks in Freepbx. I can see the using the asterisk cli I can see endpoints being created for both of them but neither of them are registering with the provider. Entering into the asterisk CLI.

pjship show registrations
No objects found.

The pjsip.registration.conf file contains apparently correct entries (here’s one trunk)

[Faktortel-XXXX]
type=registration
transport=0.0.0.0-udp
outbound_auth=Faktortel-XXXX
retry_interval=60
max_retries=10
expiration=3600
line=yes
endpoint=Faktortel-XXXX
auth_rejection_permanent=yes
server_uri=sip:sip.faktortel.com.au:5060
client_uri=sip:XXXX@sip.faktortel.com.au:5060

When the config is loading, I can see these ERROR messages

NOTICE[52636]: sorcery.c:1182 sorcery_wizard_load: Type ‘transport’ is not reloadable, maintaining previous values
NOTICE[52636]: sorcery.c:1182 sorcery_wizard_load: Type ‘system’ is not reloadable, maintaining previous values

(There is no sorcery.conf in /etc/asterisk)

and then later

[2018-03-28 10:05:49] ERROR[54750]: config_options.c:703 aco_process_var: Could not find option suitable for category ‘Faktortel-XXXX’ named ‘line’ at line 18 of /etc/asterisk/pjsip.registration.conf
[2018-03-28 10:05:49] ERROR[54750]: res_sorcery_config.c:277 sorcery_config_internal_load: Could not create an object of type ‘registration’ with id ‘Faktortel-XXXX’ from configuration file ‘pjsip.conf’

I don’t know why these ERRORs are happening, and I suspect they’re what are stopping the registration. As far as I can see the configuration is correct, so why is it saying it doesn’t understand the ‘line’ option?

What can I do to correct this?

Thanks

Nick


Viewing all articles
Browse latest Browse all 226319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>