1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-04 01:37:14 +00:00

Merge pull request from greenbea/patch-19

[core] switch_ivr_originate set originate endpoint used
This commit is contained in:
Andrey Volk 2023-03-27 19:41:32 +03:00 committed by GitHub
commit be1b1c8085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3215,6 +3215,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
l_session = NULL;
}
switch_channel_set_variable(oglobals.originate_status[i].peer_channel, "originate_endpoint", chan_type);
switch_channel_execute_on(oglobals.originate_status[i].peer_channel, SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE);
switch_channel_api_on(oglobals.originate_status[i].peer_channel, SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE);
}