diff options
author | Alexei Gradinari <alex2grad@gmail.com> | 2016-04-15 12:59:42 -0400 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-04-27 10:58:25 -0500 |
commit | df3639700a7d7e6a9a2dd67fde74e14b4bb46a37 (patch) | |
tree | 7bea0a94530120b56b9f4e315fdad0c928698995 /res/res_pjsip.c | |
parent | 5f788018592ec33e4b8928a614ca012fcc75542e (diff) |
res_pjsip: disable multi domain to improve realtime performace
This patch added new global pjsip option 'disable_multi_domain'.
Disabling Multi Domain can improve Realtime performance by reducing
number of database requests.
ASTERISK-25930 #close
Change-Id: I2e7160f3aae68475d52742107949a799aa2c7dc7
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index cc86f9045..7f6175115 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1291,6 +1291,12 @@ <configOption name="contact_expiration_check_interval" default="30"> <synopsis>The interval (in seconds) to check for expired contacts.</synopsis> </configOption> + <configOption name="disable_multi_domain" default="no"> + <synopsis>Disable Multi Domain support</synopsis> + <description><para> + If disabled it can improve realtime performace by reducing number of database requsts. + </para></description> + </configOption> <configOption name="max_initial_qualify_time" default="0"> <synopsis>The maximum amount of time from startup that qualifies should be attempted on all contacts. If greater than the qualify_frequency for an aor, qualify_frequency will be used instead.</synopsis> |