projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f16d257
)
Another test patch.
author
Andreas Eversberg
<jolly@eversberg.eu>
Fri, 9 Jul 2010 09:53:46 +0000
(11:53 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Fri, 9 Jul 2010 09:53:46 +0000
(11:53 +0200)
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
88f6670
..
b710888
100644
(file)
--- 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;
{
union parameter newparam;
struct ast_channel *ast = call->ast;
-
const char *tmp;
+
//
const char *tmp;
if (!call->ast || !call->ref)
return;
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;
}
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)
newparam.setup.capainfo.bearer_capa = ast->transfercapability;
newparam.setup.capainfo.bearer_mode = INFO_BMODE_CIRCUIT;
if (call->hdlc)