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

channels/chan_sip.c

index 9cfa64f64c445469b8fa4ab7e9ed6dccfdd70a45..85590a119a642a18ea352bfc39c4448285547af7 100644 (file)
@@ -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 */