res_pjsip: improve realtime performance
authorAlexei Gradinari <alex2grad@gmail.com>
Fri, 15 Apr 2016 14:32:12 +0000 (10:32 -0400)
committerJoshua Colp <jcolp@digium.com>
Thu, 5 May 2016 15:45:28 +0000 (10:45 -0500)
commit9c2032240e4974fc4b6212f411c86c7d673006e3
treeceff6408ca114726cec4190ebe7fd6cf18cce9d2
parent5f788018592ec33e4b8928a614ca012fcc75542e
res_pjsip: improve realtime performance

This patch modified pjsip_options to retrieve only
permament contacts for aor if the qualify_frequency is > 0
and persisted contacts if the qualify_frequency is > 0.

This patch also fixed a bug in res_sorcery_astdb.
res_sorcery_astdb doesn't save object data retrived from astdb.

ASTERISK-25826

Change-Id: I1831fa46c4578eae5a3e574ee3362fddf08a1f05
contrib/ast-db-manage/config/versions/837aa67461fb_ps_contacts_add_authenticate_qualify.py [new file with mode: 0644]
res/res_pjsip.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_options.c
res/res_sorcery_astdb.c