Fix storage class for 'cause' in user_outgoing_channel() so that each call has its very own hangup cause

This commit is contained in:
Mathieu Rene 2011-02-22 20:25:16 -05:00
parent b53a684843
commit cb6f1ed61d
1 changed files with 1 additions and 1 deletions

View File

@ -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;