mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip_session: add new flag use_callerid_contact
Add a new global flag to res_pjsip to allow the callerid to be used as the username in the contact header. This allows chan_pjsip to have the same behavour as chan_sip ASTERISK-28087 #close Change-Id: I9a720e058323f6862a91c62f8a8c1a4b5c087b95
This commit is contained in:
committed by
Torrey Searle
parent
3f4f31fed6
commit
3ba66b8a9d
@@ -2747,6 +2747,14 @@ int ast_sip_get_mwi_tps_queue_low(void);
|
||||
*/
|
||||
unsigned int ast_sip_get_mwi_disable_initial_unsolicited(void);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the global setting 'use_callerid_contact'.
|
||||
* \since 13.24.0
|
||||
*
|
||||
* \retval non zero if CALLERID(num) is to be used as the default username in the contact
|
||||
*/
|
||||
unsigned int ast_sip_get_use_callerid_contact(void);
|
||||
|
||||
/*!
|
||||
* \brief Retrieve the global setting 'ignore_uri_user_options'.
|
||||
* \since 13.12.0
|
||||
|
Reference in New Issue
Block a user