diff options
author | Richard Begg <asterisk@meric.id.au> | 2017-03-15 08:45:06 +1100 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-03-22 05:25:29 -0600 |
commit | d7f50afb7c57d001f95a796dd483a1138e3f3f7a (patch) | |
tree | f7928953c01e3dd8a1840f7942d8035a7961b8ac /res/res_pjsip.c | |
parent | d36a260fcf1cfdb8206dcca6f6c7207edc05f5f8 (diff) |
res_pjsip_session: Enable RFC3578 overlap dialing support.
Support for RFC3578 overlap dialling (i.e. 484 Response to partially matched
destinations) as currently provided by chan_sip is missing from res_pjsip.
This patch adds a new endpoint attribute (allow_overlap) [defaults to yes]
which when set to yes enables 484 responses to partial destination
matches rather than the current 404.
ASTERISK-26864
Change-Id: Iea444da3ee7c7d4f1fde1d01d138a3d7b0fe40f6
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 824c9ef91..340ba8731 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -100,6 +100,9 @@ <configOption name="allow"> <synopsis>Media Codec(s) to allow</synopsis> </configOption> + <configOption name="allow_overlap" default="yes"> + <synopsis>Enable RFC3578 overlap dialing support.</synopsis> + </configOption> <configOption name="aors"> <synopsis>AoR(s) to be used with the endpoint</synopsis> <description><para> @@ -2128,6 +2131,9 @@ <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> + <parameter name="Allowoverlap"> + <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='allow_overlap']/synopsis/node())"/></para> + </parameter> </syntax> </managerEventInstance> </managerEvent> |