mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
res_pjsip_rfc3326: Add SIP causes support for RFC3326
Add ability to set HANGUPCAUSE when SIP causecode received in BYE (in addition to currently supported Q.850). ASTERISK-30319 #close Change-Id: I3f55622dc680ce713a2ffb5a458ef5dd39fcf645
This commit is contained in:
committed by
George Joseph
parent
7dc8773178
commit
410150235a
@@ -3962,7 +3962,7 @@ int ast_sip_is_uri_sip_sips(pjsip_uri *uri);
|
||||
*
|
||||
* \param uri The pjsip_uri to check
|
||||
*
|
||||
* \retva; 1 if allowed
|
||||
* \retval 1 if allowed
|
||||
* \retval 0 if not allowed
|
||||
*/
|
||||
int ast_sip_is_allowed_uri(pjsip_uri *uri);
|
||||
@@ -4013,4 +4013,15 @@ struct pjsip_param *ast_sip_pjsip_uri_get_other_param(pjsip_uri *uri, const pj_s
|
||||
*/
|
||||
unsigned int ast_sip_get_all_codecs_on_empty_reinvite(void);
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Convert SIP hangup causes to Asterisk hangup causes
|
||||
*
|
||||
* \param cause SIP cause
|
||||
*
|
||||
* \retval matched cause code from causes.h
|
||||
*/
|
||||
const int ast_sip_hangup_sip2cause(int cause);
|
||||
|
||||
|
||||
#endif /* _RES_PJSIP_H */
|
||||
|
Reference in New Issue
Block a user