summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorRichard Begg <asterisk@meric.id.au>2017-03-15 08:45:06 +1100
committerJoshua Colp <jcolp@digium.com>2017-03-22 11:26:48 +0000
commit6b7697ed486fc3a8e5e7a72344437e66bd4ae507 (patch)
tree00e1080abdb866d38337658f6b3fdbd13f3c8f11 /include/asterisk
parentf5603cb1ece5001d1288004c9bc6ed51448deb81 (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 'include/asterisk')
-rw-r--r--include/asterisk/res_pjsip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index c6c308bee..6f44852b1 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -765,6 +765,8 @@ struct ast_sip_endpoint {
unsigned int preferred_codec_only;
/*! Do we allow an asymmetric RTP codec? */
unsigned int asymmetric_rtp_codec;
+ /*! Do we allow overlap dialling? */
+ unsigned int allow_overlap;
};
/*! URI parameter for symmetric transport */