mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-18 06:42:34 +00:00
FS-10035: [mod_sofia] Outbound calls use progressing not alerting #resolve
This commit is contained in:
parent
3823bcd08d
commit
9e971e5602
@ -3421,6 +3421,7 @@ static int broadsoft_sla_gather_state_callback(void *pArg, int argc, char **argv
|
|||||||
|
|
||||||
if (switch_channel_test_flag(channel, CF_ORIGINATOR) || switch_channel_test_flag(channel, CF_BRIDGE_ORIGINATOR) ||
|
if (switch_channel_test_flag(channel, CF_ORIGINATOR) || switch_channel_test_flag(channel, CF_BRIDGE_ORIGINATOR) ||
|
||||||
switch_channel_inbound_display(channel) || switch_channel_test_flag(channel, CF_SLA_BARGING)) {
|
switch_channel_inbound_display(channel) || switch_channel_test_flag(channel, CF_SLA_BARGING)) {
|
||||||
|
if (!switch_channel_test_flag(channel, CF_ANSWERED)) state = "progressing";
|
||||||
callee_name = switch_channel_get_variable(channel, "callee_id_name");
|
callee_name = switch_channel_get_variable(channel, "callee_id_name");
|
||||||
callee_number = switch_channel_get_variable(channel, "callee_id_number");
|
callee_number = switch_channel_get_variable(channel, "callee_id_number");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user