]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
2 wrong toins
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Aug 2011 02:25:48 +0000 (21:25 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Aug 2011 02:25:48 +0000 (21:25 -0500)
src/switch_core_sqldb.c

index e296d86fcd47ed2df45127ce8a10c6a464d9887c..26c12a1c9f9b485e17a6b6f02553ac3404330c4d 100644 (file)
@@ -1293,14 +1293,12 @@ static void core_event_handler(switch_event_t *event)
        case SWITCH_EVENT_CALL_UPDATE:
                {
                        new_sql() = switch_mprintf("update channels set callee_name='%q',callee_num='%q',callee_direction='%q',"
-                                                                          "cid_name='%q',cid_num='%q',callee_name='%q',callee_num='%q' where uuid='%s' and hostname='%q'",
+                                                                          "cid_name='%q',cid_num='%q' where uuid='%s' and hostname='%q'",
                                                                           switch_event_get_header_nil(event, "caller-callee-id-name"),
                                                                           switch_event_get_header_nil(event, "caller-callee-id-number"),
                                                                           switch_event_get_header_nil(event, "direction"),
                                                                           switch_event_get_header_nil(event, "caller-caller-id-name"),
                                                                           switch_event_get_header_nil(event, "caller-caller-id-number"),
-                                                                          switch_event_get_header_nil(event, "caller-callee-id-name"),
-                                                                          switch_event_get_header_nil(event, "caller-callee-id-number"),
                                                                           switch_event_get_header_nil(event, "unique-id"), 
                                                                           switch_core_get_switchname());
                }