summaryrefslogtreecommitdiff
path: root/res/res_pjsip.c
diff options
context:
space:
mode:
authorAlexei Gradinari <alex2grad@gmail.com>2016-07-06 10:29:27 -0400
committerAlexei Gradinari <alex2grad@gmail.com>2016-07-06 10:30:27 -0400
commit1c949eea6cbd644a9e96b447381faecc5230b85c (patch)
tree6751441fd90236a6d600eed8027555f2039b39bf /res/res_pjsip.c
parent9e10aa84969b3b6e57dde5a637c47f17f1fd4ef7 (diff)
res_pjsip: Added "subscribe_context" to endpoint
If specified, incoming SUBSCRIBE requests will be searched for the matching extension in the indicated context. If no "subscribe_context" is specified, then the "context" setting is used. ASTERISK-25471 #close Change-Id: I3fb7a15f5bc154079bd348c08b7ad1cdd2d5e514
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r--res/res_pjsip.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index d99c1cf84..af2f93749 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -900,6 +900,15 @@
mask with a slash ('/')
</para></description>
</configOption>
+ <configOption name="subscribe_context">
+ <synopsis>Context for incoming MESSAGE requests.</synopsis>
+ <description><para>
+ If specified, incoming SUBSCRIBE requests will be searched for the matching
+ extension in the indicated context.
+ If no <replaceable>subscribe_context</replaceable> is specified,
+ then the <replaceable>context</replaceable> setting is used.
+ </para></description>
+ </configOption>
</configObject>
<configObject name="auth">
<synopsis>Authentication type</synopsis>
@@ -1964,6 +1973,9 @@
<parameter name="ActiveChannels">
<para>The number of active channels associated with this endpoint.</para>
</parameter>
+ <parameter name="SubscribeContext">
+ <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='subscribe_context']/synopsis/node())"/></para>
+ </parameter>
</syntax>
</managerEventInstance>
</managerEvent>