summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-07-09 11:53:46 +0200
committerAndreas Eversberg2010-07-09 11:53:46 +0200
commit5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d (patch)
treeedbb28d878a54a1820a7c9c8b0c0da15ce1cf473 /chan_lcr.c
parentSince this banch only is for debugging the chan_lcr deadlock problem, i will ... (diff)
downloadlcr-5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d.tar.gz
lcr-5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d.tar.xz
lcr-5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d.zip
Another test patch.
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c9
1 files 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)