mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
res_pjsip: Added a norefersub configuration setting
Added a new PJSIP global setting called norefersub. Default is true to keep support working as before. res_pjsip_refer: Configures PJSIP norefersub capability accordingly. Checks the PJSIP global setting value. If it is true (default) it adds the norefersub capability to PJSIP. If it is false (disabled) it does not add the norefersub capability to PJSIP. This is useful for Cisco switches that do not follow RFC4488. ASTERISK-28375 #close Reported-by: Dan Cropp Change-Id: I0b1c28ebc905d881f4a16e752715487a688b30e9
This commit is contained in:
@@ -2761,6 +2761,13 @@ unsigned int ast_sip_get_mwi_disable_initial_unsolicited(void);
|
||||
*/
|
||||
unsigned int ast_sip_get_use_callerid_contact(void);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the global setting 'norefersub'.
|
||||
*
|
||||
* \retval non zero if norefersub is to be sent in "Supported" Headers
|
||||
*/
|
||||
unsigned int ast_sip_get_norefersub(void);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the global setting 'ignore_uri_user_options'.
|
||||
* \since 13.12.0
|
||||
|
Reference in New Issue
Block a user