[asterisk-users] PJSIP does not qualify contacts after starting Asterisk

Annus Fictus annusfictus at gmail.com
Mon Jun 13 07:11:22 CDT 2016


Hello Francisco,

you have to use:

extensions => odbc,asterisk

only if you want use dialplan in Realtime

can you share your sorcery.conf file?

Regards

El 13/06/2016 a las 10:21, Francisco Valentin Vinagrero escribió:
>
> Hi all,
>
> (sending this again from the correct address)
>
> I’m running Asterisk 13.8.0 (I need to check if that happens with 
> 13.9.1 too when I have the time to build it) with PJSIP realtime config.
>
> I’ve defined several aors in the table ps_aors, like this (real url 
> replaced by myurl):
>
> *CLI> pjsip show aor pbx-node-1
>
>       Aor: <Aor..............................................> 
> <MaxContact>
>
>     Contact: <Aor/ContactUri............................> <Hash....> 
> <Status> <RTT(ms)..>
>
>  ========================================================================================= 
>
>
>       Aor: pbx-node-1 0
>
>     Contact: pbx-node-1/sip:myurl:5060      771bf6a7d4 Created 0.000
>
>  ParameterName        : ParameterValue
>
>  ===================================================
>
>  authenticate_qualify : false
>
>  contact              : sip:myurl:5060
>
> default_expiration : 3600
>
>  mailboxes :
>
>  max_contacts : 0
>
> maximum_expiration   : 7200
>
>  minimum_expiration   : 60
>
>  outbound_proxy       : sip:myurl:5060
>
>  qualify_frequency    : 30
>
>  qualify_timeout      : 3.000000
>
>  remove_existing      : false
>
>  support_path         : false
>
> So I think that those aors should be qualified automatically when I 
> run Asterisk, but if I do “/pjsip show contacts”/, I get that it was 
> just Created but not qualified:
>
> *CLI> pjsip show contacts
>
>   Contact: <Aor/ContactUri..............................> <Hash....> 
> <Status> <RTT(ms)..>
>
> =========================================================================================
>
>   Contact: pbx-node-1/sip:myurl:5060        771bf6a7d4 Created 0.000
>
> And not a single OPTIONS message if I take a trace…
>
> If I want Asterisk to start sending OPTIONS, I need to do pjsip reload 
> and after that, they are qualified and their status changes dynamically:
>
> *CLI> pjsip show contacts
>
>   Contact: <Aor/ContactUri..............................> <Hash....> 
> <Status> <RTT(ms)..>
>
> =========================================================================================
>
>   Contact: pbx-node-1/sip:myurl.ch:5060        771bf6a7d4 Avail 8.833
>
> The extconfig.conf file looks like this:
>
> [settings]
>
> ps_endpoints => odbc,asterisk
>
> ps_auths => odbc,asterisk
>
> ps_aors => odbc,asterisk
>
> ps_domain_aliases => odbc,asterisk
>
> ps_endpoint_id_ips => odbc,asterisk
>
> ps_contacts => odbc,asterisk
>
> extensions => odbc,asterisk
>
> Any idea why I need to reload PJSIP if I want the aors to be qualified?
>
> Cheers, Francisco.
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160613/1695e33d/attachment.html>


More information about the asterisk-users mailing list