]> 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 17:07:35 +0000 (17:07 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 29 Aug 2012 17:07:35 +0000 (17:07 +0000)
(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

channels/chan_sip.c

index 55f3778eed90996525abb382fcc760cd7fe769e5..94fae2ef5a87465c3f558dcf1024d05960130bbf 100644 (file)
@@ -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 */