diff options
author | Florian Smeets <flo@FreeBSD.org> | 2012-08-21 23:29:37 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2012-08-21 23:29:37 +0000 |
commit | db14b9f38a9cc7de99fc52c04ada0a43a911b26d (patch) | |
tree | de547461edc29a7d9d85d29a32c992e11d16bd04 /net/asterisk16/files/patch-channels-chan_dahdi.c | |
parent | Remove expired port: (diff) |
- Remove net/asterisk16, net/asterisk16-addons, japanese/asterisk16-sounds
- Update net/appkonference to 2.1 to make it work with net/asterisk [1]
- Switch www/bigbluebutton to net/asterisk
- While here fix typo in www/xxxterm's MOVED entry
PR: ports/169038 [1]
Approved by: maintainer [1]
Diffstat (limited to 'net/asterisk16/files/patch-channels-chan_dahdi.c')
-rw-r--r-- | net/asterisk16/files/patch-channels-chan_dahdi.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/net/asterisk16/files/patch-channels-chan_dahdi.c b/net/asterisk16/files/patch-channels-chan_dahdi.c deleted file mode 100644 index 1c2bd48db785..000000000000 --- a/net/asterisk16/files/patch-channels-chan_dahdi.c +++ /dev/null @@ -1,32 +0,0 @@ ---- channels/chan_dahdi.c.orig 2010-05-05 17:50:15.000000000 +0600 -+++ channels/chan_dahdi.c 2010-05-05 17:50:09.000000000 +0600 -@@ -2672,13 +2672,17 @@ - return; - } - if (p->echocancel.head.tap_length) { -+ struct dahdi_echocanparams *pecp; -+ - if ((p->sig == SIG_BRI) || (p->sig == SIG_BRI_PTMP) || (p->sig == SIG_PRI) || (p->sig == SIG_SS7)) { - x = 1; - res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_AUDIOMODE, &x); - if (res) - ast_log(LOG_WARNING, "Unable to enable audio mode on channel %d (%s)\n", p->channel, strerror(errno)); - } -- res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &p->echocancel); -+ -+ pecp = &p->echocancel.head; -+ res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp); - if (res) { - ast_log(LOG_WARNING, "Unable to enable echo cancellation on channel %d (%s)\n", p->channel, strerror(errno)); - } else { -@@ -2712,8 +2716,9 @@ - - if (p->echocanon) { - struct dahdi_echocanparams ecp = { .tap_length = 0 }; -+ struct dahdi_echocanparams *pecp = &ecp; - -- res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &ecp); -+ res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp); - - if (res) - ast_log(LOG_WARNING, "Unable to disable echo cancellation on channel %d: %s\n", p->channel, strerror(errno)); |