summaryrefslogtreecommitdiffstats
path: root/testing/asterisk/400-bug-227.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-14 08:59:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-14 08:59:04 +0000
commitdd0022d637b0a21f616550bca17979d8370eaea5 (patch)
treedf67d6d0d787ceec71db9bbe2cf2bbfd435ebd5a /testing/asterisk/400-bug-227.patch
parent8957a44d6e89ba6f39e470c358b5841cf9a1b384 (diff)
downloadaports-dd0022d637b0a21f616550bca17979d8370eaea5.tar.bz2
aports-dd0022d637b0a21f616550bca17979d8370eaea5.tar.xz
testing/asterisk: use 1.6.2.0
we want use this for production and it needs some testing
Diffstat (limited to 'testing/asterisk/400-bug-227.patch')
-rw-r--r--testing/asterisk/400-bug-227.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/asterisk/400-bug-227.patch b/testing/asterisk/400-bug-227.patch
new file mode 100644
index 000000000..f8187379e
--- /dev/null
+++ b/testing/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");
+ }
+ }