]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add a var
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Dec 2007 22:56:20 +0000 (22:56 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Dec 2007 22:56:20 +0000 (22:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6681 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index fd0bfefcc07ffdabf63b5b3a95049e9f36a14f4e..30cb256d3ef3e71c83939ab1ad4a355a2a2beb1a 100644 (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) {