]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix storage class for 'cause' in user_outgoing_channel() so that each call has its...
authorMathieu Rene <mrene@avgs.ca>
Wed, 23 Feb 2011 01:25:16 +0000 (20:25 -0500)
committerMathieu Rene <mrene@avgs.ca>
Wed, 23 Feb 2011 01:25:16 +0000 (20:25 -0500)
src/mod/applications/mod_dptools/mod_dptools.c

index 9a1258a5b675454e4be6d8bb8c9045d61b79bd73..346cdaa9f83282846c879abac2f9529b799c668b 100755 (executable)
@@ -2893,7 +2893,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
        switch_xml_t x_domain = NULL, xml = NULL, x_user = NULL, x_group = NULL, x_param, x_params;
        char *user = NULL, *domain = NULL, *dup_domain = NULL;
        const char *dest = NULL;
-       static switch_call_cause_t cause = SWITCH_CAUSE_NONE;
+       switch_call_cause_t cause = SWITCH_CAUSE_NONE;
        unsigned int timelimit = 60;
        switch_channel_t *new_channel = NULL;
        switch_event_t *params = NULL, *var_event_orig = var_event;