From: Jonathan Rose Date: Wed, 29 Aug 2012 17:07:35 +0000 (+0000) Subject: chan_sip: Send 408 on retransmit timeout instead of 603 X-Git-Tag: 10.9.0-rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5f3cb9441253c6c22486ff804d534bda62ec5b;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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@371825 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 55f3778eed..94fae2ef5a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3762,7 +3762,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 */