summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorAndreas Eversberg2011-02-20 10:23:03 +0100
committerAndreas Eversberg2011-02-20 10:23:03 +0100
commitb8ba879d97268aeaa9e5c8838d27d38da731d971 (patch)
tree507dd902b1066bc79056c3d44a544af69ba2279c /chan_lcr.c
parent[chan_lcr] Fixed caller ID for calls from AST->LCR (diff)
downloadlcr-b8ba879d97268aeaa9e5c8838d27d38da731d971.tar.gz
lcr-b8ba879d97268aeaa9e5c8838d27d38da731d971.tar.xz
lcr-b8ba879d97268aeaa9e5c8838d27d38da731d971.zip
[chan_lcr] Fixed broken communication with chan_lcr
There are two modes: The remote mode is used to route a call directly to Asterisk or route a call from Asterisk to an ISDN interface. (the old way) The interface mode is used to handle chan_lcr as an interface, so calls from Asterisk can be routed and behave like they come from an ISDN interface. (documentation for that will follow)
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index 2740a32..13aa680 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -1522,8 +1522,7 @@ int receive_message(int message_type, unsigned int ref, union parameter *param)
call = find_call_ref(0);
if (!call) {
/* send release, if ref does not exist */
- CDEBUG(NULL, NULL, "No call found, that requests a ref.\n");
- send_release_and_import(call, CAUSE_NORMAL, LOCATION_PRIVATE_LOCAL);
+ CERROR(NULL, NULL, "No call found, that requests a ref.\n");
return 0;
}
/* store new ref */