Olivier
2018-Apr-27 12:57 UTC
[asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
Hello I've just discovered this [1] invaluable blog post (thank you very much Richard for writing it) and its reference to PJSIP's endpoint_identifier_order setting. On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited a pjsip.conf file with the following content (and nothing more): [global] endpoint_identifier_order=auth_username,ip,username max_forwards=50 Then: # service asterisk restart # asterisk -rx "pjsip show settings" | grep forwa max_forwards : 70 # asterisk -rx "pjsip show identifiers" Identifier Names: name not specified ip username anonymous auth_username # grep -v '^;' modules.conf [modules] autoload=yes noload => pbx_gtkconsole.so noload => pbx_kdeconsole.so noload => app_intercom.so noload => chan_modem.so noload => chan_modem_aopen.so noload => chan_modem_bestdata.so noload => chan_modem_i4l.so noload => chan_capi.so load => res_musiconhold.so noload => chan_alsa.so noload => cdr_sqlite.so noload => app_directory_odbc.so noload => res_config_odbc.so noload => res_config_pgsql.so [global] What do you think of this ? Best regards [1] http://blogs.asterisk.org/2018/02/07/identifying-endpoint-pjsip/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180427/b5eedbe1/attachment.html>
Joshua Colp
2018-Apr-27 12:59 UTC
[asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
On Fri, Apr 27, 2018, at 9:57 AM, Olivier wrote:> Hello > > I've just discovered this [1] invaluable blog post (thank you very much > Richard for writing it) and its reference to PJSIP's > endpoint_identifier_order setting. > > On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited > a pjsip.conf file with the following content (and nothing more): > [global] > endpoint_identifier_order=auth_username,ip,username > max_forwards=50This is incomplete. You need to also have "type=global". -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Joshua Colp
2018-Apr-27 13:00 UTC
[asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
On Fri, Apr 27, 2018, at 9:57 AM, Olivier wrote:> Hello > > I've just discovered this [1] invaluable blog post (thank you very much > Richard for writing it) and its reference to PJSIP's > endpoint_identifier_order setting. > > On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited > a pjsip.conf file with the following content (and nothing more):Your version is also quite old, and changes/improvements/tweaks have been made since then to the option. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org