summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorschlaile2008-07-20 19:33:28 +0200
committerroot2008-07-20 19:33:28 +0200
commita114e74299f4708d96b490be055ab8939b9e7610 (patch)
tree3a787227e89e8f2a399e5a240eb1b24d5bf9b3fb /chan_lcr.c
parentremoved "lcr query", use "isdninfo" instead. (diff)
downloadlcr-a114e74299f4708d96b490be055ab8939b9e7610.tar.gz
lcr-a114e74299f4708d96b490be055ab8939b9e7610.tar.xz
lcr-a114e74299f4708d96b490be055ab8939b9e7610.zip
rebuffer option for chan_lcr (160 bytes per frame)
l1-link state "unknown" if not known yet. removed root user check. modified: bchannel.c modified: bchannel.h modified: chan_lcr.c modified: chan_lcr.h modified: dss1.cpp modified: lcradmin.c modified: mISDN.cpp modified: main.c
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index ff8da54..dc7ebed 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -475,6 +475,14 @@ void apply_opt(struct chan_call *call, char *data)
if (call->bchannel)
bchannel_pipeline(call->bchannel, call->pipeline);
break;
+ case 'r':
+ if (opt[1] == '\0') {
+ CERROR(call, call->ast, "Option 'r' (re-buffer 160 bytes) expects no parameter.\n", opt);
+ break;
+ }
+ CDEBUG(call, call->ast, "Option 'r' (re-buffer 160 bytes)");
+ call->rebuffer = 1;
+ break;
#if 0
case 's':
if (opt[1] != '\0') {