From 5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 9 Jul 2010 11:53:46 +0200 Subject: [PATCH] Another test patch. --- chan_lcr.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/chan_lcr.c b/chan_lcr.c index 88f6670..b710888 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -623,7 +623,7 @@ static void send_setup_to_lcr(struct chan_call *call) { union parameter newparam; struct ast_channel *ast = call->ast; - const char *tmp; +// const char *tmp; if (!call->ast || !call->ref) return; @@ -676,9 +676,10 @@ static void send_setup_to_lcr(struct chan_call *call) default: newparam.setup.callerinfo.ntype = INFO_NTYPE_UNKNOWN; } - tmp = pbx_builtin_getvar_helper(ast, "LCR_TRANSFERCAPABILITY"); - if (tmp && *tmp) - ast->transfercapability = atoi(tmp); +#warning DISABLED DUE TO DOUBLE LOCKING PROBLEM +// tmp = pbx_builtin_getvar_helper(ast, "LCR_TRANSFERCAPABILITY"); +// if (tmp && *tmp) +// ast->transfercapability = atoi(tmp); newparam.setup.capainfo.bearer_capa = ast->transfercapability; newparam.setup.capainfo.bearer_mode = INFO_BMODE_CIRCUIT; if (call->hdlc) -- 2.13.6