mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip_diversion: fix double 181
Arming response to both AST_SIP_SESSION_BEFORE_REDIRECTING and AST_SIP_SESSION_BEFORE_MEDIA causes 302 to to be handled twice, resulting in to 181 being generated. Change-Id: I866e5461564644ffb8a5e12b6f1330b50a7b63ab
This commit is contained in:
committed by
George Joseph
parent
5929e0ccbd
commit
c470327e6c
@@ -682,7 +682,7 @@ static struct ast_sip_session_supplement diversion_supplement = {
|
||||
.incoming_response = diversion_incoming_response,
|
||||
.outgoing_request = diversion_outgoing_request,
|
||||
.outgoing_response = diversion_outgoing_response,
|
||||
.response_priority = AST_SIP_SESSION_BEFORE_REDIRECTING|AST_SIP_SESSION_BEFORE_MEDIA,
|
||||
.response_priority = AST_SIP_SESSION_BEFORE_MEDIA,
|
||||
};
|
||||
|
||||
static int load_module(void)
|
||||
|
Reference in New Issue
Block a user