[Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:1] NoOp("SIP/204.11.200.152-c8062a50", "-(B)------------------------------------- context default-external -----------") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:2] NoOp("SIP/204.11.200.152-c8062a50", "---------- External call arrived ----------") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:3] System("SIP/204.11.200.152-c8062a50", "(sudo -u apache echo `date` 1208371309.8726 SIP/204.11.200.152-c8062a50 5133310925 8007104210 0 >> /var/log/asterisk/custom_logs/incoming_`date +%Y-%m-%d`.log)&") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:4] Macro("SIP/204.11.200.152-c8062a50", "init_channel") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:1] NoOp("SIP/204.11.200.152-c8062a50", "-(B)------------------------------------- macro init_channel (SIP/204.11.200.152-c8062a50) -----------") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:2] GotoIf("SIP/204.11.200.152-c8062a50", "1?3:19") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,3) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:3] GotoIf("SIP/204.11.200.152-c8062a50", "1?4:7") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,4) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:4] Set("SIP/204.11.200.152-c8062a50", "__call_id=1208371309.8726") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:5] NoOp("SIP/204.11.200.152-c8062a50", "Initializing call_id to 1208371309.8726") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:6] Goto("SIP/204.11.200.152-c8062a50", "15") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,15) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Goto [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:15] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-init_channel-28-29") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:16] Set("SIP/204.11.200.152-c8062a50", "__call_id=1208371309.8726") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:17] NoOp("SIP/204.11.200.152-c8062a50", "Initializing call_id to 1208371309.8726") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:18] Goto("SIP/204.11.200.152-c8062a50", "20") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,20) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Goto [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:20] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-28") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:21] GotoIf("SIP/204.11.200.152-c8062a50", "1?22:23") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,22) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:49] DEBUG[19916] func_db.c: DB: call_globals/1208371309.8726/call_num not found in database. [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:22] Set("SIP/204.11.200.152-c8062a50", "call_num=") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:23] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-31") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:24] GotoIf("SIP/204.11.200.152-c8062a50", "1?25:26") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,25) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:25] Set("SIP/204.11.200.152-c8062a50", "call_num=0") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:26] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-32") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:27] GotoIf("SIP/204.11.200.152-c8062a50", "1?28:34") in new stack [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,28) [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:28] Set("SIP/204.11.200.152-c8062a50", "call_num=1") in new stack [Apr 16 11:41:49] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:49] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:29] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/call_num)=1") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:30] NoOp("SIP/204.11.200.152-c8062a50", "call_num=1") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:31] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:32] Set("SIP/204.11.200.152-c8062a50", "CDR(accountcode)=1208371309.8726") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:33] Set("SIP/204.11.200.152-c8062a50", "__parent_channel=#SIP/204.11.200.152-c8062a50") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:34] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-33") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:35] GotoIf("SIP/204.11.200.152-c8062a50", "1?36:38") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,36) [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:36] Set("SIP/204.11.200.152-c8062a50", "__caller=5133310925") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:37] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/caller)=5133310925") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:38] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-34") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:39] Set("SIP/204.11.200.152-c8062a50", "__TRANSFER_CONTEXT="transfer"") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:40] GotoIf("SIP/204.11.200.152-c8062a50", "1?41:42") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,41) [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:41] Set("SIP/204.11.200.152-c8062a50", "__transfer_count=0") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:42] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-35") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:43] GotoIf("SIP/204.11.200.152-c8062a50", "1?44:45") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,44) [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:44] Set("SIP/204.11.200.152-c8062a50", "__transfer_back=0") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:45] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-36") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:46] GotoIf("SIP/204.11.200.152-c8062a50", "1?47:48") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,47) [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:47] Set("SIP/204.11.200.152-c8062a50", "__call_from_queue=0") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:48] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-37") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:49] GotoIf("SIP/204.11.200.152-c8062a50", "1?50:51") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Goto (macro-init_channel,s,50) [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:50] Set("SIP/204.11.200.152-c8062a50", "__directly_from_queue=0") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:51] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-init_channel-38") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:52] Set("SIP/204.11.200.152-c8062a50", "initialized=1") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [s@macro-init_channel:53] NoOp("SIP/204.11.200.152-c8062a50", "-(E)------------------------------------- macro init_channel -----------") in new stack [Apr 16 11:41:50] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:5] Set("SIP/204.11.200.152-c8062a50", "__source_type=external") in new stack [Apr 16 11:41:50] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:6] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/source_type)=external") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:7] Set("SIP/204.11.200.152-c8062a50", "__source_num=5133310925") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:8] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/source_num)=5133310925") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:9] Set("SIP/204.11.200.152-c8062a50", "__dnis=8007104210") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:10] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/dnis)=8007104210") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:11] Macro("SIP/204.11.200.152-c8062a50", "dumpvars") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:1] NoOp("SIP/204.11.200.152-c8062a50", "-(B)------------------------------------- dumpvars ---------------") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:2] NoOp("SIP/204.11.200.152-c8062a50", "CALLERIDNAME(CALLERIDNUM)[CALLINGPRES]=(5133310925)[0]") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:3] NoOp("SIP/204.11.200.152-c8062a50", "DIALEDPEERNAME= ### DIALEDPEERNUMBER= ### DIALEDTIME= ### DIALSTATUS= ### QUEUESTATUS=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:4] NoOp("SIP/204.11.200.152-c8062a50", "ANSWEREDTIME(UNIQUEID)PRIORITY=(1208371309.8726)4 ### [HANGUPCAUSE]MEETMESECS=[0]") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:5] NoOp("SIP/204.11.200.152-c8062a50", "SIPDOMAIN=69.80.215.12 ### SIP_CODEC= ### SIPCALLID=SDlpgq501-0deeb11e21594bb5a5a067117387a037-v3000v3") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:6] NoOp("SIP/204.11.200.152-c8062a50", "TRANSFER_CONTEXT=transfer ### TXTCIDNAME= ### BLINDTRANSFER= ### TRANSFERSTATUS=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:7] NoOp("SIP/204.11.200.152-c8062a50", "TOUCH_MONITOR= ### CHANNEL=SIP/204.11.200.152-c8062a50") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:8] NoOp("SIP/204.11.200.152-c8062a50", "MACRO_CONTEXT=default-external ### MACRO_EXTEN=8007104210 ### MACRO_PRIORITY=11") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:9] NoOp("SIP/204.11.200.152-c8062a50", "----------------- User variables ---------------") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:10] NoOp("SIP/204.11.200.152-c8062a50", "dnis=8007104210 agent(extension) A[()] -> B[()]") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:11] NoOp("SIP/204.11.200.152-c8062a50", "business_hours= ### agent_auto_pause= ### workgroup_auto_pause= ### queue_ring_time=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:12] NoOp("SIP/204.11.200.152-c8062a50", "call_id-call_num=1208371309.8726-1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:13] NoOp("SIP/204.11.200.152-c8062a50", "call_from_queue=0 ### direct_from_queue= ### queue_call= ### queue_call_num=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:14] NoOp("SIP/204.11.200.152-c8062a50", "transfer_count=0 ### transfer_to_agent= ### transfer_back=0") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:15] NoOp("SIP/204.11.200.152-c8062a50", "cdr_block_started=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:16] NoOp("SIP/204.11.200.152-c8062a50", "is_agent= ### have_mapping= ### agent_away=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:17] NoOp("SIP/204.11.200.152-c8062a50", "source_type=external ### source_num=5133310925 ### source_num_id= ### source_ext= ### source_ext_id= ### source_dpt_id=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:18] NoOp("SIP/204.11.200.152-c8062a50", "middle_type= ### middle_num= ### middle_num_id= ### middle_ext= ### middle_ext_id= ### middle_dpt_id=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:19] NoOp("SIP/204.11.200.152-c8062a50", "target_type= ### target_num= ### target_num_id= ### target_ext= ### target_ext_id= ### target_dpt_id=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:20] NoOp("SIP/204.11.200.152-c8062a50", "parent_channel=#SIP/204.11.200.152-c8062a50") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:21] Set("SIP/204.11.200.152-c8062a50", "i=1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:22] GotoIf("SIP/204.11.200.152-c8062a50", "1?23:30") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-dumpvars,s,23) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:23] NoOp("SIP/204.11.200.152-c8062a50", "target[1]=|||||") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:24] GotoIf("SIP/204.11.200.152-c8062a50", "0?25:27") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-dumpvars,s,27) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:27] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-for-dumpvars-1-2") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:28] Set("SIP/204.11.200.152-c8062a50", "i=2") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:29] Goto("SIP/204.11.200.152-c8062a50", "22") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-dumpvars,s,22) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Goto [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:22] GotoIf("SIP/204.11.200.152-c8062a50", "0?23:30") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-dumpvars,s,30) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:30] NoOp("SIP/204.11.200.152-c8062a50", "Finish for-dumpvars-1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:31] NoOp("SIP/204.11.200.152-c8062a50", "v_data=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-dumpvars:32] NoOp("SIP/204.11.200.152-c8062a50", "-(E)------------------------------------- dumpvars ---------------") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [8007104210@default-external:12] Gosub("SIP/204.11.200.152-c8062a50", "db_dnis_routing|8007104210|1") in new stack [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__dnis=4210") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/dnis)=4210") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8007104210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoTo("SIP/204.11.200.152-c8062a50", "db_dnis_routing|4210|1") [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (db_dnis_routing,4210,1) [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__target_dpt_id=4") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_dpt_id)=4") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__source_dpt_id=4") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/source_dpt_id)=4") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__source_ext=8007104210") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '6' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '6' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '6' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/source_ext)=8007104210") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '7' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '7' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '7' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__source_ext_id=183") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '8' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '8' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '8' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/source_ext_id)=183") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '9' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '9' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '9' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoSub("SIP/204.11.200.152-c8062a50", "db_department_prompt|4|1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4' AND context = 'db_department_prompt' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4' AND context = 'db_department_prompt' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4' AND context = 'db_department_prompt' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Return("SIP/204.11.200.152-c8062a50", "") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '10' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '10' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '10' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoSub("SIP/204.11.200.152-c8062a50", "db_business_hours|36|1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing NoOp("SIP/204.11.200.152-c8062a50", "Wed Apr 16 11:41:51 2008") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoSubIf("SIP/204.11.200.152-c8062a50", "1?db_holiday|5|1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__holiday=") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '5' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Return("SIP/204.11.200.152-c8062a50", "") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '3' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoSubIf("SIP/204.11.200.152-c8062a50", "1?db_holiday|10|1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__holiday=") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '10' AND context = 'db_holiday' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Return("SIP/204.11.200.152-c8062a50", "") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '4' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__route_enabled=0") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '5' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '5' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '5' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__route_enabled=1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '6' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '6' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '36' AND context = 'db_business_hours' AND priority = '6' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Return("SIP/204.11.200.152-c8062a50", "") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '11' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '11' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '11' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GoSubIf("SIP/204.11.200.152-c8062a50", "0?db_holiday_prompt|56|1") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '12' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '12' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '12' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing MacroIf("SIP/204.11.200.152-c8062a50", "0?bh_non_working") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '13' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '13' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '13' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "QUEUE_PRIO=0") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '14' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '14' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '4210' AND context = 'db_dnis_routing' AND priority = '14' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing GotoIf("SIP/204.11.200.152-c8062a50", "1?d_4210|1:e_4210|1") [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (db_dnis_routing,d_4210,1) [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '1' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "__business_hours=yes") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '2' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/business_hours)=yes") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '3' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Answer("SIP/204.11.200.152-c8062a50", "") [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Update SQL: UPDATE channels SET state = 'Up', accountcode = '1208371309.8726', context = 'db_dnis_routing', exten = 'd_4210', priority = '3', application = 'Answer', data = '' WHERE uniqueid = '1208371309.8726' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:41:51] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '4' [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing Macro("SIP/204.11.200.152-c8062a50", "cdr_block_end|dnis|4210") [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:1] Set("SIP/204.11.200.152-c8062a50", "type=dnis") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:2] Set("SIP/204.11.200.152-c8062a50", "number=4210") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:3] NoOp("SIP/204.11.200.152-c8062a50", "-(B)------------------------------------- macro cdr_block_end(dnis|4210) -----------") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:4] GotoIf("SIP/204.11.200.152-c8062a50", "0?5:7") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,7) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:7] Set("SIP/204.11.200.152-c8062a50", "call_num=1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:8] GotoIf("SIP/204.11.200.152-c8062a50", "0?9:10") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,10) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:10] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-66") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:11] GotoIf("SIP/204.11.200.152-c8062a50", "1?12:15") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,12) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:12] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1#dnis=4210#bh=yes") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:13] Set("SIP/204.11.200.152-c8062a50", "__dnis_written=1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:14] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/dnis_written)=1") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:15] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-67") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:16] GotoIf("SIP/204.11.200.152-c8062a50", "0?17:18") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,18) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:18] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-68") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:19] GotoIf("SIP/204.11.200.152-c8062a50", "0?20:21") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,21) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:21] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-69") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:22] GotoIf("SIP/204.11.200.152-c8062a50", "0?23:24") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,24) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:24] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-70") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:25] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1#dnis=4210#bh=yes#t_dpt=4") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:26] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1#dnis=4210#bh=yes#t_dpt=4#s_type=external#s_num=5133310925") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:27] GotoIf("SIP/204.11.200.152-c8062a50", "0?28:29") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,29) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:29] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-71") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:30] GotoIf("SIP/204.11.200.152-c8062a50", "1?31:32") in new stack [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_end,s,31) [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:31] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1#dnis=4210#bh=yes#t_dpt=4#s_type=external#s_num=5133310925#s_ext=8007104210#s_ext_id=183") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:32] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_end-65-72") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:33] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-1#dnis=4210#bh=yes#t_dpt=4#s_type=external#s_num=5133310925#s_ext=8007104210#s_ext_id=183#s_dpt=4") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:34] Set("SIP/204.11.200.152-c8062a50", "__target_1_type=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:35] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_1_type)=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:36] Set("SIP/204.11.200.152-c8062a50", "__target_1_num_id=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:37] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_1_num_id)=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:38] Set("SIP/204.11.200.152-c8062a50", "__target_1_num=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:39] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_1_num)=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:40] Set("SIP/204.11.200.152-c8062a50", "__target_1_ext_id=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:41] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_1_ext_id)=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:42] Set("SIP/204.11.200.152-c8062a50", "__target_1_ext=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:43] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_1_ext)=") in new stack [Apr 16 11:41:51] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:41:51] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:44] ResetCDR("SIP/204.11.200.152-c8062a50", "w") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: ResetCDR [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:45] Set("SIP/204.11.200.152-c8062a50", "call_num=2") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:46] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/call_num)=2") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:47] NoOp("SIP/204.11.200.152-c8062a50", "call_num=2") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:48] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:49] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_end-65") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_end:50] NoOp("SIP/204.11.200.152-c8062a50", "-(E)------------------------------------- macro cdr_block_end(dnis|4210) -----------") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'd_4210' AND context = 'db_dnis_routing' AND priority = '5' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing GoTo("SIP/204.11.200.152-c8062a50", "db_ivr|ivr---538|1") [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (db_ivr,ivr---538,1) [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '1' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '1' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '1' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "target_num=451") [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '2' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '2' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '2' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_num)=451") [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '3' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '3' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '3' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "target_num_id=451") [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '4' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '4' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '4' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_num_id)=451") [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '5' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '5' [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:10] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '5' [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing Macro("SIP/204.11.200.152-c8062a50", "cdr_block_start|ivr|451") [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:1] Set("SIP/204.11.200.152-c8062a50", "type=ivr") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:2] Set("SIP/204.11.200.152-c8062a50", "number=451") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:3] NoOp("SIP/204.11.200.152-c8062a50", "-(B)------------------------------------- macro cdr_block_start(ivr|451) -----------") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Noop [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:4] GotoIf("SIP/204.11.200.152-c8062a50", "1?5:13") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,5) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:5] Set("SIP/204.11.200.152-c8062a50", "__cdr_block_started=1") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:6] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/cdr_block_started)=1") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:7] GotoIf("SIP/204.11.200.152-c8062a50", "0?8:11") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,11) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:11] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_start-52-53") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:12] Goto("SIP/204.11.200.152-c8062a50", "25") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,25) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Goto [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:25] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_start-52") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:26] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:27] GotoIf("SIP/204.11.200.152-c8062a50", "0?28:29") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,29) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:29] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_start-56") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:30] GotoIf("SIP/204.11.200.152-c8062a50", "0?31:33") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,33) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:33] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_start-57") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:34] GotoIf("SIP/204.11.200.152-c8062a50", "0?35:35") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,35) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:35] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_start-58") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:36] Set("SIP/204.11.200.152-c8062a50", "__xfer_block_started=") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:37] GotoIf("SIP/204.11.200.152-c8062a50", "0?38:58") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,58) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:58] Set("SIP/204.11.200.152-c8062a50", "__xfer_block_started=") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:59] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/xfer_block_started)=") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:60] GotoIf("SIP/204.11.200.152-c8062a50", "1?61:62") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,61) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:61] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451#t_id=451") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:62] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_start-59-61") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:63] GotoIf("SIP/204.11.200.152-c8062a50", "0?64:65") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,65) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:65] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_start-59-62") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:66] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451#t_id=451#t_dpt=4") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:67] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451#t_id=451#t_dpt=4#s_type=external#s_num=5133310925") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:68] GotoIf("SIP/204.11.200.152-c8062a50", "0?69:70") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,70) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:70] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_start-59-63") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:71] GotoIf("SIP/204.11.200.152-c8062a50", "1?72:73") in new stack [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Goto (macro-cdr_block_start,s,72) [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: GotoIf [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:72] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451#t_id=451#t_dpt=4#s_type=external#s_num=5133310925#s_ext=8007104210#s_ext_id=183") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:73] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-if-cdr_block_start-59-64") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:74] Set("SIP/204.11.200.152-c8062a50", "CDR(userfield)=#call_id=1208371309.8726-2#ivr=451#t_id=451#t_dpt=4#s_type=external#s_num=5133310925#s_ext=8007104210#s_ext_id=183#s_dpt=4") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:75] NoOp("SIP/204.11.200.152-c8062a50", "Finish if-cdr_block_start-59") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:76] Set("SIP/204.11.200.152-c8062a50", "__target_2_type=") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:77] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_2_type)=") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:78] Set("SIP/204.11.200.152-c8062a50", "__target_2_num_id=451") in new stack [Apr 16 11:42:10] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:10] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:79] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_2_num_id)=451") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:80] Set("SIP/204.11.200.152-c8062a50", "__target_2_num=451") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:81] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_2_num)=451") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:82] Set("SIP/204.11.200.152-c8062a50", "__target_2_ext_id=") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:83] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_2_ext_id)=") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:84] Set("SIP/204.11.200.152-c8062a50", "__target_2_ext=") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:85] Set("SIP/204.11.200.152-c8062a50", "DB(call_globals/1208371309.8726/target_2_ext)=") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: Set [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing [s@macro-cdr_block_start:86] NoOp("SIP/204.11.200.152-c8062a50", "-(E)------------------------------------- macro cdr_block_start(ivr|451) -----------") in new stack [Apr 16 11:42:11] DEBUG[19916] app_macro.c: Executed application: NoOp [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '6' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '6' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '6' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing NoOp("SIP/204.11.200.152-c8062a50", "ivr---538, action=playlist, p1=SFT, p2=3") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '7' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '7' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '7' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing SetMusicOnHold("SIP/204.11.200.152-c8062a50", "SFT") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '8' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '8' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '8' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing NoOp("SIP/204.11.200.152-c8062a50", "ivr---538, action=play, p1=dpt-4/talent 6 day greeting, p2=3") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '9' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '9' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '9' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing MYSQL("SIP/204.11.200.152-c8062a50", "Connect connid localhost asterisk ********** asteriskcdrdb") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '10' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '10' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '10' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing NoOp("SIP/204.11.200.152-c8062a50", "connid = "6"") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '11' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '11' [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '11' [Apr 16 11:42:11] VERBOSE[19916] logger.c: -- Executing MYSQL("SIP/204.11.200.152-c8062a50", "Query resultid 6 INSERT INTO prompt_stats SET calldate=FROM_UNIXTIME(1208371331), uniqueid="1208371309.8726-2", clid="5133310925", ivr_id=451, ivr_node_id=538, prompt="dpt-4/talent 6 day greeting"") [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Everything is fine. [Apr 16 11:42:11] DEBUG[19916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---538' AND context = 'db_ivr' AND priority = '12'