]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10035: [mod_sofia] Outbound calls use progressing not alerting #resolve
authorBrian West <brian@freeswitch.org>
Mon, 13 Feb 2017 14:08:56 +0000 (08:08 -0600)
committerBrian West <brian@freeswitch.org>
Mon, 13 Feb 2017 14:08:56 +0000 (08:08 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 244c8909208c49485c475a668afe4e98fce33c60..19d1fc7d9b4d2e9371aaaa58c13a90a9b63fa353 100644 (file)
@@ -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) ||
                        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_number = switch_channel_get_variable(channel, "callee_id_number");