aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/400-bug-227.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-26 15:09:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-26 15:12:01 +0000
commit8e5baaaeb3ce0775d6e205329010a6dedc198f6a (patch)
tree2a5bf54662a72d0b1331e8807c6ea6101a4d10cb /main/asterisk/400-bug-227.patch
parent11bf0c3d841c47e0c81e3107b9539f08ea38ee73 (diff)
downloadaports-8e5baaaeb3ce0775d6e205329010a6dedc198f6a.tar.bz2
aports-8e5baaaeb3ce0775d6e205329010a6dedc198f6a.tar.xz
main/asterisk: upgrade to 1.6.2.0 (from testing)
Diffstat (limited to 'main/asterisk/400-bug-227.patch')
-rw-r--r--main/asterisk/400-bug-227.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/asterisk/400-bug-227.patch b/main/asterisk/400-bug-227.patch
new file mode 100644
index 0000000000..f8187379e1
--- /dev/null
+++ b/main/asterisk/400-bug-227.patch
@@ -0,0 +1,15 @@
+Index: channels/chan_sip.c
+===================================================================
+--- a/channels/chan_sip.c (revision 212243)
++++ b/channels/chan_sip.c (working copy)
+@@ -3675,8 +3675,8 @@
+ char method_str[31];
+ ast_debug(3, "Re-scheduled destruction of SIP call %s\n", p->callid ? p->callid : "<unknown>");
+ append_history(p, "ReliableXmit", "timeout");
+- if (sscanf(p->lastmsg, "Tx: %30s", method_str) == 1 || sscanf(p->lastmsg, "Rx: %30s", method_str) == 1) {
+- if (method_match(SIP_CANCEL, method_str) || method_match(SIP_BYE, method_str)) {
++ if (sscanf(p->lastmsg, "Tx: %30s", method_str) == 1 || sscanf(p->lastmsg, "Rx: %30s", method_str) == 1 || sscanf(p->lastmsg, "Init: %30s", method_str) == 1) {
++ if (method_match(SIP_CANCEL, method_str) || method_match(SIP_BYE, method_str) || method_match(SIP_INVITE, method_str)) {
+ pvt_set_needdestroy(p, "autodestruct");
+ }
+ }