From f8cbd5d6f14b55691355debeaa6287d0543d8dd5 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Tue, 6 Jan 2009 18:37:02 +0100 Subject: [PATCH] added capabilites to lcr channel driver to fix some codec problems. thanx to gregor for this patch! modified: chan_lcr.c --- chan_lcr.c | 29 +++++++++++++++-------------- 1 file 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 }; -- 2.13.6