diff options
author | Alexei Gradinari <alex2grad@gmail.com> | 2016-04-15 10:32:12 -0400 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-05-05 10:45:49 -0500 |
commit | cc4c5f5693101b3c63ba083044729f24c3924685 (patch) | |
tree | bebec3263b06e339a3ef63f49875fb2fde64b9be /res/res_pjsip.c | |
parent | 380ac201acf29efb2a69a4ef668a8d7da387f47b (diff) |
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
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index db3395fa7..a3b2d081d 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1095,6 +1095,13 @@ If <literal>0</literal> no timeout. Time in fractional seconds. </para></description> </configOption> + <configOption name="authenticate_qualify" default="no"> + <synopsis>Authenticates a qualify request if needed</synopsis> + <description><para> + If true and a qualify request receives a challenge or authenticate response + authentication is attempted before declaring the contact available. + </para></description> + </configOption> <configOption name="outbound_proxy"> <synopsis>Outbound proxy used when sending OPTIONS request</synopsis> <description><para> |