X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;h=b710888ffd2bbce91b73923958fb742a7e39b80c;hp=88f66703c2ef457ae69daa24da2011f3cce6be80;hb=5a7b2b52008bbd8d64c6b1fe6a1f7398312afb5d;hpb=f16d257c5a17f97fe9a939209adcc39f3fae311c 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)