Update the outgoing channel handler so it passes the "var_event" event down towards rtmp_send_incoming_call since variables passed using originate are not yet in the session before the outgoing channel function returns.

This commit is contained in:
Mathieu Rene committed 2012-05-22 14:00:39 -04:00
1 parent fb790bc320
commit a5cd951c53
3 files changed
+27 -4

No files matched your search

+1 -1
View File
@@ -625,7 +625,7 @@ switch_call_cause_t rtmp_outgoing_channel(switch_core_session_t *session, switch
/*switch_channel_mark_pre_answered(channel);*/
switch_channel_ring_ready(channel);
rtmp_send_incoming_call(*newsession);
rtmp_send_incoming_call(*newsession, var_event);
switch_channel_set_state(channel, CS_INIT);
switch_set_flag_locked(tech_pvt, TFLAG_IO);