diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2009-10-26 13:34:22 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2009-10-26 13:34:22 +0000 |
commit | ad51cd08a93a846337d4b5eacb8ba6aacda64bb8 (patch) | |
tree | f29c087ceed55d120d4df4b21fa33d1418213e9f /net-misc/asterisk/files | |
parent | Keywording for ppc. (diff) | |
download | gentoo-2-ad51cd08a93a846337d4b5eacb8ba6aacda64bb8.tar.gz gentoo-2-ad51cd08a93a846337d4b5eacb8ba6aacda64bb8.tar.bz2 gentoo-2-ad51cd08a93a846337d4b5eacb8ba6aacda64bb8.zip |
Cope with automated British Telecom line tests as they currently cause the DAHDI channel to wedge with "exiting simple switch" messages. An upstream bug exists since July but has not been actioned yet. Delete old ebuild.
(Portage version: 2.1.7.1/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/asterisk/files')
-rw-r--r-- | net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-bt-line-test.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-bt-line-test.patch b/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-bt-line-test.patch new file mode 100644 index 000000000000..dc62aff6d657 --- /dev/null +++ b/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.6-bt-line-test.patch @@ -0,0 +1,35 @@ +diff -uNr asterisk-1.6.1.6.ORIG/channels/chan_dahdi.c asterisk-1.6.1.6/channels/chan_dahdi.c +--- asterisk-1.6.1.6.ORIG/channels/chan_dahdi.c 2009-10-26 12:57:27.000000000 +0000 ++++ asterisk-1.6.1.6/channels/chan_dahdi.c 2009-10-26 12:59:26.000000000 +0000 +@@ -7287,6 +7287,7 @@ + } + if (i & DAHDI_IOMUX_SIGEVENT) { + res = dahdi_get_event(p->subs[idx].dfd); ++ if (res == DAHDI_EVENT_NOALARM) p->inalarm = 0; + ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); + + if (p->cid_signalling == CID_SIG_V23_JP) { +@@ -7389,6 +7390,7 @@ + if (i & DAHDI_IOMUX_SIGEVENT) { + res = dahdi_get_event(p->subs[idx].dfd); + ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); ++ if (res == DAHDI_EVENT_NOALARM) p->inalarm = 0; + res = 0; + /* Let us detect distinctive ring */ + +@@ -7540,6 +7542,7 @@ + if (i & DAHDI_IOMUX_SIGEVENT) { + res = dahdi_get_event(p->subs[idx].dfd); + ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); ++ if (res == DAHDI_EVENT_NOALARM) p->inalarm = 0; + /* If we get a PR event, they hung up while processing calerid */ + if ( res == DAHDI_EVENT_POLARITY && p->hanguponpolarityswitch && p->polarity == POLARITY_REV) { + ast_log(LOG_DEBUG, "Hanging up due to polarity reversal on channel %d while detecting callerid\n", p->channel); +@@ -7609,6 +7612,7 @@ + if (i & DAHDI_IOMUX_SIGEVENT) { + res = dahdi_get_event(p->subs[idx].dfd); + ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); ++ if (res == DAHDI_EVENT_NOALARM) p->inalarm = 0; + res = 0; + /* Let us detect callerid when the telco uses distinctive ring */ + |