[asterisk-users] pjsip configuration realtime+static

marek cervenka cervajs2 at gmail.com
Tue Jun 27 03:20:31 CDT 2017


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--

  user_agent                          : Asterisk PBX 13.16.0

any ideas?

Marek


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170627/43571d82/attachment.html>


More information about the asterisk-users mailing list