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:
Andreas Eversberg 2009-01-06 18:37:02 +01:00
parent bf61575a94
commit f8cbd5d6f1
1 changed files with 15 additions and 14 deletions

View File

@ -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
};