summaryrefslogtreecommitdiffstats
path: root/apppbx.cpp
diff options
context:
space:
mode:
authorSuper User2008-01-06 15:49:29 +0100
committerSuper User2008-01-06 15:49:29 +0100
commitd2ffecef264949e36341e87f8e1ff41a8effb1f2 (patch)
treef1466d38dae68a0dbf03f3c82cd3e0010fac98d5 /apppbx.cpp
parentfixes (diff)
downloadlcr-d2ffecef264949e36341e87f8e1ff41a8effb1f2.tar.gz
lcr-d2ffecef264949e36341e87f8e1ff41a8effb1f2.tar.xz
lcr-d2ffecef264949e36341e87f8e1ff41a8effb1f2.zip
added filter options (gain, pipeline, blowfish) to interface configuration.
modified: apppbx.cpp modified: interface.c modified: interface.h modified: mISDN.cpp modified: mISDN.h modified: route.c modified: todo.txt
Diffstat (limited to 'apppbx.cpp')
-rw-r--r--apppbx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/apppbx.cpp b/apppbx.cpp
index c7803ac..3a39524 100644
--- a/apppbx.cpp
+++ b/apppbx.cpp
@@ -47,7 +47,7 @@ EndpointAppPBX::EndpointAppPBX(class Endpoint *epoint, int origin) : EndpointApp
e_ext.tout_disconnect = 120;
// e_ext.tout_hold = 900;
// e_ext.tout_park = 900;
- e_ext.rxvol = e_ext.txvol = 256;
+ e_ext.rxvol = e_ext.txvol = 0;
e_state = EPOINT_STATE_IDLE;
e_ext.number[0] = '\0';
e_extension_interface[0] = '\0';
@@ -1583,7 +1583,7 @@ void EndpointAppPBX::port_setup(struct port_list *portlist, int message_type, un
/* set volume of rx and tx */
if (param->setup.callerinfo.itype == INFO_ITYPE_ISDN_EXTENSION)
- if (e_ext.txvol!=256 || e_ext.rxvol!=256)
+ if (e_ext.txvol!=0 || e_ext.rxvol!=0)
{
message = message_create(ea_endpoint->ep_serial, portlist->port_id, EPOINT_TO_PORT, MESSAGE_mISDNSIGNAL);
message->param.mISDNsignal.message = mISDNSIGNAL_VOLUME;
@@ -2073,7 +2073,7 @@ void EndpointAppPBX::port_connect(struct port_list *portlist, int message_type,
new_state(EPOINT_STATE_CONNECT);
/* set volume of rx and tx */
- if (e_ext.txvol!=256 || e_ext.rxvol!=256)
+ if (e_ext.txvol!=0 || e_ext.rxvol!=0)
{
message = message_create(ea_endpoint->ep_serial, portlist->port_id, EPOINT_TO_PORT, MESSAGE_mISDNSIGNAL);
message->param.mISDNsignal.message = mISDNSIGNAL_VOLUME;
@@ -2453,7 +2453,7 @@ void EndpointAppPBX::port_notify(struct port_list *portlist, int message_type, u
case INFO_NOTIFY_USER_RESUMED:
/* set volume of rx and tx */
if (param->setup.callerinfo.itype == INFO_ITYPE_ISDN_EXTENSION)
- if (e_ext.txvol!=256 || e_ext.rxvol!=256)
+ if (e_ext.txvol!=0 || e_ext.rxvol!=0)
if (portlist)
{
message = message_create(ea_endpoint->ep_serial, portlist->port_id, EPOINT_TO_PORT, MESSAGE_mISDNSIGNAL);