summaryrefslogtreecommitdiffstats
path: root/action.cpp
diff options
context:
space:
mode:
authorSuper User2008-03-21 18:42:41 +0100
committerSuper User2008-03-21 18:42:41 +0100
commita396a7e8da350e3c08b431cc096d058d6797bb55 (patch)
treefd32a77df5a95c21d5be4a1d9dfb21e4fa8cbeb6 /action.cpp
parenttrace fix (diff)
downloadlcr-a396a7e8da350e3c08b431cc096d058d6797bb55.tar.gz
lcr-a396a7e8da350e3c08b431cc096d058d6797bb55.tar.xz
lcr-a396a7e8da350e3c08b431cc096d058d6797bb55.zip
more screening bug, more trace bug
modified: action.cpp modified: extension.c modified: interface.c
Diffstat (limited to 'action.cpp')
-rw-r--r--action.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/action.cpp b/action.cpp
index 3e0def3..83e4965 100644
--- a/action.cpp
+++ b/action.cpp
@@ -1839,13 +1839,15 @@ void EndpointAppPBX::_action_goto_menu(int mode)
if (e_dialinginfo.id[0])
{
add_trace("dialing", NULL, "%s", e_dialinginfo.id);
- end_trace();
}
if ((rparam = routeparam(e_action, PARAM_SAMPLE)))
{
add_trace("sample", NULL, "%s", rparam->string_value);
end_trace();
set_tone(ea_endpoint->ep_portlist, rparam->string_value);
+ } else
+ {
+ end_trace();
}
/* do dialing with new ruleset */