PJSIP Global Section Ignored In Asterisk 13.14.1

Home » Asterisk Users » PJSIP Global Section Ignored In Asterisk 13.14.1
Asterisk Users 2 Comments

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_forwardsP

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/

2 thoughts on - PJSIP Global Section Ignored In Asterisk 13.14.1