added capabilites to lcr channel driver to fix some codec problems. thanx to gregor for this patch!
modified: chan_lcr.c
This commit is contained in:
parent
bf61575a94
commit
f8cbd5d6f1
29
chan_lcr.c
29
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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue