Pjsip Configuration Realtime+static

Home » Asterisk Users » Pjsip Configuration Realtime+static
Asterisk Users 1 Comment

hi,

i have mix of realtime and static configuration of pjsip

https://pastebin.com/YVFwVsMD

pjsip.conf
[global]
endpoint_identifier_order=username,ip,anonymous user_agent=ipbx
… transport definition extconfig.conf
[settings]
ps_endpoints => odbc,configDb ps_auths => odbc,configDb ps_domain_aliases => odbc,configDb ps_aors => odbc,configDb sorcery.conf
[res_pjsip]
endpoint/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes endpoint=realtime,ps_endpoints auth/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes auth=realtime,ps_auths aor/cache=memory_cache,expire_on_reload=yes,full_backend_cache=yes aor=realtime,ps_aors domain_alias=realtime,ps_domain_aliases

but the section [global] is not honored

CLI> pjsip show settings

Global Settings:

ParameterName : ParameterValue
============================================================== contact_expiration_check_interval : 30
debug : no
default_from_user : asterisk
default_outbound_endpoint : default_outbound_endpoint
default_realm : asterisk
default_voicemail_extension :
disable_multi_domain : false
endpoint_identifier_order : ip,username,anonymous

–snip

One thought on - Pjsip Configuration Realtime+static

  • You don’t have a “type=global” line in the global section so it’s not being found.