summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorAndreas Eversberg2009-01-06 18:37:02 +0100
committerAndreas Eversberg2009-01-06 18:37:02 +0100
commitf8cbd5d6f14b55691355debeaa6287d0543d8dd5 (patch)
tree26b763d98eae1d30febf669b7c0d14ecf9dd509c /chan_lcr.c
parentchanged error message a bit... (diff)
downloadlcr-f8cbd5d6f14b55691355debeaa6287d0543d8dd5.tar.gz
lcr-f8cbd5d6f14b55691355debeaa6287d0543d8dd5.tar.xz
lcr-f8cbd5d6f14b55691355debeaa6287d0543d8dd5.zip
added capabilites to lcr channel driver to fix some codec problems. thanx to gregor for this patch!
modified: chan_lcr.c
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index 53a7fb6..f6ff27c 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -2362,20 +2362,21 @@ enum ast_bridge_result lcr_bridge(struct ast_channel *ast1,
}
static struct ast_channel_tech lcr_tech = {
.type="LCR",
- .description="Channel driver for connecting to Linux-Call-Router",
- .requester=lcr_request,
- .send_digit_begin=lcr_digit_begin,
- .send_digit_end=lcr_digit_end,
- .call=lcr_call,
- .bridge=lcr_bridge,
- .hangup=lcr_hangup,
- .answer=lcr_answer,
- .read=lcr_read,
- .write=lcr_write,
- .indicate=lcr_indicate,
- .fixup=lcr_fixup,
- .send_text=lcr_send_text,
- .properties=0
+ .description = "Channel driver for connecting to Linux-Call-Router",
+ .capabilities = AST_FORMAT_ALAW,
+ .requester = lcr_request,
+ .send_digit_begin = lcr_digit_begin,
+ .send_digit_end = lcr_digit_end,
+ .call = lcr_call,
+ .bridge = lcr_bridge,
+ .hangup = lcr_hangup,
+ .answer = lcr_answer,
+ .read = lcr_read,
+ .write = lcr_write,
+ .indicate = lcr_indicate,
+ .fixup = lcr_fixup,
+ .send_text = lcr_send_text,
+ .properties = 0
};