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:49 +0000 (10:45 -0500)
commitcc4c5f5693101b3c63ba083044729f24c3924685
treebebec3263b06e339a3ef63f49875fb2fde64b9be
parent380ac201acf29efb2a69a4ef668a8d7da387f47b
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