From: Jonathan Rose Date: Wed, 29 Aug 2012 16:59:54 +0000 (+0000) Subject: chan_sip: Send 408 on retransmit timeout instead of 603 X-Git-Tag: 1.8.17.0-rc1~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf01ad537964ac59316f0e91605880bc97ac825e;p=thirdparty%2Fasterisk.git chan_sip: Send 408 on retransmit timeout instead of 603 (closes issue ASTERISK-20124) Reported by: Walter Doekes git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371824 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 062228ceff..be1f8921a7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3740,7 +3740,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 */