summaryrefslogtreecommitdiffstats
path: root/action.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2009-03-15 09:44:24 +0100
committerAndreas Eversberg2009-03-15 09:44:24 +0100
commitea4c98fc11fb0ab6311d3c91f19959e823e43c21 (patch)
tree3aec2034e68d28d7554321775d16ea4becf267b8 /action.cpp
parentAdded Callweaver support. (thanx to Kristijan) (diff)
downloadlcr-ea4c98fc11fb0ab6311d3c91f19959e823e43c21.tar.gz
lcr-ea4c98fc11fb0ab6311d3c91f19959e823e43c21.tar.xz
lcr-ea4c98fc11fb0ab6311d3c91f19959e823e43c21.zip
Bugfix on timeout rules. (thanx to Benjamin)
modified: README modified: action.cpp
Diffstat (limited to 'action.cpp')
-rw-r--r--action.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.cpp b/action.cpp
index 5819670..080e8f6 100644
--- a/action.cpp
+++ b/action.cpp
@@ -2227,7 +2227,7 @@ void EndpointAppPBX::process_dialing(void)
//PDEBUG(~0, "HANG-BUG-DEBUGGING: before action-timeout processing\n");
/* process timeout */
- if (e_action_timeout)
+ if (e_action && e_action_timeout) /* e_action may be NULL, but e_action_timeout may still be set and must be ignored */
{
e_action_timeout = 0;
if (e_state == EPOINT_STATE_CONNECT)