add a var

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6681 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-12-11 22:56:20 +00:00
parent 33395d6727
commit 14d261aacf
1 changed files with 2 additions and 0 deletions

View File

@ -1501,6 +1501,8 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
timelimit = atoi(var);
}
switch_channel_set_variable(channel, "dialed_user", user);
d_dest = switch_channel_expand_variables(channel, dest);
if (switch_ivr_originate(session, new_session, &cause, d_dest, timelimit, NULL, NULL, NULL, NULL) == SWITCH_STATUS_SUCCESS) {