mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
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:
1 parent
fb790bc320
commit
a5cd951c53
3 files changed
+27
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user