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
This commit is contained in:
Richard Begg
2017-03-15 08:45:06 +11:00
committed by Joshua Colp
parent fdea369852
commit 398e5ec16c
7 changed files with 65 additions and 4 deletions

View File

@@ -759,6 +759,8 @@ struct ast_sip_endpoint {
unsigned int asymmetric_rtp_codec;
/*! Use RTCP-MUX */
unsigned int rtcp_mux;
/*! Do we allow overlap dialling? */
unsigned int allow_overlap;
};
/*! URI parameter for symmetric transport */