]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak to uuid field in fifo event
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 13:55:56 +0000 (08:55 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 13:55:56 +0000 (08:55 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index d126f86d32ef67109df5f8e9721378be211c4e89..3d99740e6825590bef002599acc90c514f12e6f8 100644 (file)
@@ -1121,7 +1121,7 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_
                                                                         "(fifo_name,caller_uuid,caller_caller_id_name,caller_caller_id_number,consumer_uuid,consumer_outgoing_uuid,bridge_start) "
                                                                         "values ('%q','%q','%q','%q','%q','%q',%ld)",
                                                                         MANUAL_QUEUE_NAME,
-                                                                        "N/A",
+                                                                        (msg->string_arg && strchr(msg->string_arg, '-')) ? msg->string_arg : "00000000-0000-0000-0000-000000000000",
                                                                         ced_name,
                                                                         ced_number,
                                                                         switch_core_session_get_uuid(session),