summaryrefslogtreecommitdiffstats
path: root/apppbx.cpp
diff options
context:
space:
mode:
authorSuper User2008-03-22 15:38:04 +0100
committerSuper User2008-03-22 15:38:04 +0100
commita39754a92cc41611860fbb2d09d758579394f1d1 (patch)
tree3083ae0f0d57afc6dd320ee3e005933f53e7115d /apppbx.cpp
parentmore screening bug, more trace bug (diff)
downloadlcr-a39754a92cc41611860fbb2d09d758579394f1d1.tar.gz
lcr-a39754a92cc41611860fbb2d09d758579394f1d1.tar.xz
lcr-a39754a92cc41611860fbb2d09d758579394f1d1.zip
fixed dialtone bug
modified: apppbx.cpp
Diffstat (limited to 'apppbx.cpp')
-rw-r--r--apppbx.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/apppbx.cpp b/apppbx.cpp
index 243e4dd..077aae5 100644
--- a/apppbx.cpp
+++ b/apppbx.cpp
@@ -2877,7 +2877,10 @@ void EndpointAppPBX::join_overlap(struct port_list *portlist, int message_type,
}
if (e_action) if (e_action->index == ACTION_OUTDIAL || e_action->index == ACTION_EXTERNAL)
{
- set_tone(portlist, "dialtone");
+ if (e_dialinginfo.id[0])
+ set_tone(portlist, "dialing");
+ else
+ set_tone(portlist, "dialtone");
return;
}
if (e_ext.number[0])