From: Jonathan Rose Date: Wed, 29 Aug 2012 17:25:19 +0000 (+0000) Subject: chan_sip: Send 408 on retransmit timeout instead of 603 X-Git-Tag: 11.0.0-beta2~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=862adf23cfbd421557bd42af484349098d345120;p=thirdparty%2Fasterisk.git chan_sip: Send 408 on retransmit timeout instead of 603 (closes issue ASTERISK-20124) Reported by: Walter Doekes ........ Merged revisions 371824 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 371825 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@371845 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9cfa64f64c..85590a119a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3928,7 +3928,7 @@ static int retrans_pkt(const void *data) /* there is nothing left to do, mark the dialog as gone */ sip_alreadygone(pkt->owner); } - ast_queue_hangup_with_cause(pkt->owner->owner, AST_CAUSE_PROTOCOL_ERROR); + ast_queue_hangup_with_cause(pkt->owner->owner, AST_CAUSE_NO_USER_RESPONSE); ast_channel_unlock(pkt->owner->owner); } else { /* If no channel owner, destroy now */