summaryrefslogtreecommitdiffstats
path: root/apppbx.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2010-05-20 05:54:59 +0200
committerAndreas Eversberg2010-05-20 05:54:59 +0200
commit5b5923141c3ac53d3e63395d9197080d087342f3 (patch)
treec3a8018dd53f8a6d4b2ab9dcd2dbda5ca670d8a8 /apppbx.cpp
parentFixes a locking bug in chan_lcr. Thanx to WIMPy for that report. (diff)
downloadlcr-5b5923141c3ac53d3e63395d9197080d087342f3.tar.gz
lcr-5b5923141c3ac53d3e63395d9197080d087342f3.tar.xz
lcr-5b5923141c3ac53d3e63395d9197080d087342f3.zip
Fixed forwarding of sending-complete information.
modified: Makefile.in modified: README modified: action.cpp modified: apppbx.cpp
Diffstat (limited to 'apppbx.cpp')
-rw-r--r--apppbx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/apppbx.cpp b/apppbx.cpp
index 56667c2..6836715 100644
--- a/apppbx.cpp
+++ b/apppbx.cpp
@@ -896,6 +896,7 @@ void EndpointAppPBX::out_setup(void)
release(RELEASE_ALL, LOCATION_PRIVATE_LOCAL, CAUSE_OUTOFORDER, LOCATION_PRIVATE_LOCAL, CAUSE_NORMAL, 0); /* RELEASE_TYPE, join, port */
return; /* must exit here */
}
+ e_dialinginfo.sending_complete = 1;
if (e_dialinginfo.itype == INFO_ITYPE_VBOX) {
PDEBUG(DEBUG_EPOINT, "EPOINT(%d) dialing directly to VBOX\n", ea_endpoint->ep_serial);
@@ -1213,6 +1214,7 @@ void EndpointAppPBX::out_setup(void)
SCPY(dialinginfo.id, number);
dialinginfo.itype = INFO_ITYPE_ISDN;
dialinginfo.ntype = e_dialinginfo.ntype;
+ dialinginfo.sending_complete = e_dialinginfo.sending_complete;
portlist = ea_endpoint->portlist_new(port->p_serial, port->p_type, mISDNport->earlyb);
if (!portlist) {
PERROR("EPOINT(%d) cannot allocate port_list relation\n", ea_endpoint->ep_serial);