]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6781: #resolve #comment lets change this to always do confirm to match the other...
authorMichael Jerris <mike@jerris.com>
Fri, 3 Oct 2014 20:53:32 +0000 (16:53 -0400)
committerMichael Jerris <mike@jerris.com>
Fri, 3 Oct 2014 20:53:38 +0000 (16:53 -0400)
src/mod/applications/mod_valet_parking/mod_valet_parking.c

index 05b8074a02b41c30de21a49bef67f2a0c26e1f19..6dc34fe7f18f056605d7a4f75a6ad3d5de121696 100644 (file)
@@ -880,7 +880,7 @@ static void pres_event_handler(switch_event_t *event)
                                                switch_event_add_header(event, SWITCH_STACK_BOTTOM, "event_count", "%d", EC++);
                                                switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "unique-id", lot_name);
                                                switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "channel-state", "CS_ROUTING");
-                                               switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "answer-state", token->bridged == 0 ? "early" : "confirmed");
+                                               switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "answer-state", "confirmed");
                                                switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "call-direction", token->bridged == 0 ? "outbound" : "inbound");
                                                switch_event_fire(&event);
                                        }