]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
chan_sip: Send 408 on retransmit timeout instead of 603
authorJonathan Rose <jrose@digium.com>
Wed, 29 Aug 2012 16:59:54 +0000 (16:59 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 29 Aug 2012 16:59:54 +0000 (16:59 +0000)
(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

channels/chan_sip.c

index 062228ceff8b7806436233448cab5fe506807be8..be1f8921a720d3896eea7d421d1c4f227b235bbf 100644 (file)
@@ -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 */