[2009-12-22 11:54:10.1417] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1419] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- context default_from_local ---------------") in new stack [2009-12-22 11:54:10.1422] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1424] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:2] NoOp("SIP/90541-00e31d10", "---- Initiated call to 3473422089 from 90541----") in new stack [2009-12-22 11:54:10.1426] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1427] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:3] Set("SIP/90541-00e31d10", "transfer_to_agent=3473422089") in new stack [2009-12-22 11:54:10.1430] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1431] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1431] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:4] GotoIf("SIP/90541-00e31d10", "0?5:6") in new stack [2009-12-22 11:54:10.1432] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,6) [2009-12-22 11:54:10.1433] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1434] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:6] NoOp("SIP/90541-00e31d10", "Finish if-default_from_local-190") in new stack [2009-12-22 11:54:10.1435] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1436] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:7] Gosub("SIP/90541-00e31d10", "init_channel,s,1") in new stack [2009-12-22 11:54:10.1436] DEBUG[6187] app_stack.c: Channel SIP/90541-00e31d10 has no datastore, so we're allocating one. [2009-12-22 11:54:10.1438] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1438] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- macro init_channel (SIP/90541-00e31d10) -----------") in new stack [2009-12-22 11:54:10.1440] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1440] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1441] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:2] GotoIf("SIP/90541-00e31d10", "1?3:18") in new stack [2009-12-22 11:54:10.1441] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,3) [2009-12-22 11:54:10.1443] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1444] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1445] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:3] GotoIf("SIP/90541-00e31d10", "1?4:7") in new stack [2009-12-22 11:54:10.1446] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,4) [2009-12-22 11:54:10.1446] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1447] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:4] Set("SIP/90541-00e31d10", "__call_id=1261511650.11325") in new stack [2009-12-22 11:54:10.1448] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1449] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:5] NoOp("SIP/90541-00e31d10", "Initializing call_id to 1261511650.11325") in new stack [2009-12-22 11:54:10.1450] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1451] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:6] Goto("SIP/90541-00e31d10", "15") in new stack [2009-12-22 11:54:10.1451] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,15) [2009-12-22 11:54:10.1452] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1453] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:15] NoOp("SIP/90541-00e31d10", "Finish if-if-init_channel-60-61") in new stack [2009-12-22 11:54:10.1454] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1454] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:16] Set("SIP/90541-00e31d10", "__call_day=2009/12/22") in new stack [2009-12-22 11:54:10.1455] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1456] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:17] Goto("SIP/90541-00e31d10", "19") in new stack [2009-12-22 11:54:10.1456] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,19) [2009-12-22 11:54:10.1457] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1458] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:19] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-60") in new stack [2009-12-22 11:54:10.1459] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1460] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1461] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:20] GotoIf("SIP/90541-00e31d10", "1?21:35") in new stack [2009-12-22 11:54:10.1461] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,21) [2009-12-22 11:54:10.1462] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1464] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:21] MYSQL("SIP/90541-00e31d10", "Connect connid master.voip asterisk ********** asteriskcdrdb") in new stack [2009-12-22 11:54:10.1509] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1510] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:22] MYSQL("SIP/90541-00e31d10", "Query result1 1 INSERT INTO call_num_counter SET call_id="1261511650.11325"") in new stack [2009-12-22 11:54:10.1517] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1518] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:23] MYSQL("SIP/90541-00e31d10", "Query result2 1 SELECT LAST_INSERT_ID()") in new stack [2009-12-22 11:54:10.1521] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1522] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:24] MYSQL("SIP/90541-00e31d10", "Fetch rows 2 new_call_num") in new stack [2009-12-22 11:54:10.1523] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1523] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:25] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1525] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1525] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:26] MYSQL("SIP/90541-00e31d10", "Disconnect 1") in new stack [2009-12-22 11:54:10.1527] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1527] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:27] Set("SIP/90541-00e31d10", "call_num=1") in new stack [2009-12-22 11:54:10.1528] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1529] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:28] Set("SIP/90541-00e31d10", "__last_call_num=1") in new stack [2009-12-22 11:54:10.1529] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1530] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:29] NoOp("SIP/90541-00e31d10", "call_num=1") in new stack [2009-12-22 11:54:10.1531] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1532] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:30] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1") in new stack [2009-12-22 11:54:10.1533] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1534] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:31] Set("SIP/90541-00e31d10", "CDR(e_call_id)=1261511650.11325") in new stack [2009-12-22 11:54:10.1535] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1535] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:32] Set("SIP/90541-00e31d10", "CDR(e_call_num)=1") in new stack [2009-12-22 11:54:10.1536] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1537] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:33] Set("SIP/90541-00e31d10", "CDR(accountcode)=1261511650.11325") in new stack [2009-12-22 11:54:10.1538] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1538] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:34] Set("SIP/90541-00e31d10", "__parent_channel=#SIP/90541-00e31d10") in new stack [2009-12-22 11:54:10.1539] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1540] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:35] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-63") in new stack [2009-12-22 11:54:10.1542] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1542] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1543] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:36] GotoIf("SIP/90541-00e31d10", "1?37:39") in new stack [2009-12-22 11:54:10.1544] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,37) [2009-12-22 11:54:10.1545] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1546] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:37] Set("SIP/90541-00e31d10", "__caller=90541") in new stack [2009-12-22 11:54:10.1547] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1547] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:38] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/caller)=90541") in new stack [2009-12-22 11:54:10.1549] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1550] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:39] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-64") in new stack [2009-12-22 11:54:10.1550] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1551] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:40] Set("SIP/90541-00e31d10", "__TRANSFER_CONTEXT=transfer") in new stack [2009-12-22 11:54:10.1553] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1553] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1554] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:41] GotoIf("SIP/90541-00e31d10", "1?42:43") in new stack [2009-12-22 11:54:10.1555] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,42) [2009-12-22 11:54:10.1555] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1556] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:42] Set("SIP/90541-00e31d10", "__transfer_count=0") in new stack [2009-12-22 11:54:10.1557] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1558] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:43] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-65") in new stack [2009-12-22 11:54:10.1559] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1559] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1560] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:44] GotoIf("SIP/90541-00e31d10", "1?45:46") in new stack [2009-12-22 11:54:10.1561] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,45) [2009-12-22 11:54:10.1562] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1562] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:45] Set("SIP/90541-00e31d10", "__transfer_back=0") in new stack [2009-12-22 11:54:10.1563] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1564] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:46] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-66") in new stack [2009-12-22 11:54:10.1565] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1566] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1566] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:47] GotoIf("SIP/90541-00e31d10", "1?48:49") in new stack [2009-12-22 11:54:10.1567] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,48) [2009-12-22 11:54:10.1568] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1568] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:48] Set("SIP/90541-00e31d10", "__call_from_queue=0") in new stack [2009-12-22 11:54:10.1569] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1570] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:49] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-67") in new stack [2009-12-22 11:54:10.1571] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1572] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1572] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:50] GotoIf("SIP/90541-00e31d10", "1?51:52") in new stack [2009-12-22 11:54:10.1573] VERBOSE[6187] pbx.c: -- Goto (init_channel,s,51) [2009-12-22 11:54:10.1574] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1575] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:51] Set("SIP/90541-00e31d10", "__directly_from_queue=0") in new stack [2009-12-22 11:54:10.1575] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1576] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:52] NoOp("SIP/90541-00e31d10", "Finish if-init_channel-68") in new stack [2009-12-22 11:54:10.1578] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1579] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:53] Set("SIP/90541-00e31d10", "initialized=1") in new stack [2009-12-22 11:54:10.1579] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1580] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:54] NoOp("SIP/90541-00e31d10", "-(E)------------------------------------- macro init_channel -----------") in new stack [2009-12-22 11:54:10.1581] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:10.1582] VERBOSE[6187] pbx.c: -- Executing [s@init_channel:55] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.1583] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1584] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:8] Gosub("SIP/90541-00e31d10", "dumpvars,s,1") in new stack [2009-12-22 11:54:10.1585] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1585] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- dumpvars ---------------") in new stack [2009-12-22 11:54:10.1586] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1587] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:2] NoOp("SIP/90541-00e31d10", "CALLERIDNAME(CALLERIDNUM)[CALLINGPRES]=Autoconfigured Grandstream BT-100 - 000b821d30ed(90541)[0]") in new stack [2009-12-22 11:54:10.1588] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1589] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:3] NoOp("SIP/90541-00e31d10", "DIALEDPEERNAME= ### DIALEDPEERNUMBER= ### DIALEDTIME= ### DIALSTATUS= ### QUEUESTATUS=") in new stack [2009-12-22 11:54:10.1589] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1590] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:4] NoOp("SIP/90541-00e31d10", "ANSWEREDTIME(UNIQUEID)PRIORITY=(1261511650.11325)4 ### [HANGUPCAUSE]MEETMESECS=[0]") in new stack [2009-12-22 11:54:10.1591] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1591] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:5] NoOp("SIP/90541-00e31d10", "SIPDOMAIN=207.7.135.103 ### SIP_CODEC= ### SIPCALLID=8d0c52b50182f762@192.168.0.66") in new stack [2009-12-22 11:54:10.1592] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1593] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:6] NoOp("SIP/90541-00e31d10", "TRANSFER_CONTEXT=transfer ### TXTCIDNAME= ### BLINDTRANSFER= ### TRANSFERSTATUS=") in new stack [2009-12-22 11:54:10.1593] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1594] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:7] NoOp("SIP/90541-00e31d10", "TOUCH_MONITOR= ### CHANNEL=SIP/90541-00e31d10") in new stack [2009-12-22 11:54:10.1595] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1596] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:8] NoOp("SIP/90541-00e31d10", "MACRO_CONTEXT= ### MACRO_EXTEN= ### MACRO_PRIORITY=") in new stack [2009-12-22 11:54:10.1596] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1597] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:9] NoOp("SIP/90541-00e31d10", "----------------- User variables ---------------") in new stack [2009-12-22 11:54:10.1598] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1599] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:10] NoOp("SIP/90541-00e31d10", "dnis= agent(extension) A[()] -> B[()]") in new stack [2009-12-22 11:54:10.1600] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1600] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:11] NoOp("SIP/90541-00e31d10", "business_hours= ### agent_auto_pause= ### workgroup_auto_pause= ### queue_ring_time=") in new stack [2009-12-22 11:54:10.1601] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1602] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:12] NoOp("SIP/90541-00e31d10", "call_id-call_num=1261511650.11325-1") in new stack [2009-12-22 11:54:10.1602] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1603] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:13] NoOp("SIP/90541-00e31d10", "call_from_queue=0 ### direct_from_queue= ### queue_call= ### queue_call_num=") in new stack [2009-12-22 11:54:10.1604] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1605] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:14] NoOp("SIP/90541-00e31d10", "transfer_count=0 ### transfer_to_agent=3473422089 ### transfer_back=0") in new stack [2009-12-22 11:54:10.1605] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1606] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:15] NoOp("SIP/90541-00e31d10", "cdr_block_started=") in new stack [2009-12-22 11:54:10.1607] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1607] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:16] NoOp("SIP/90541-00e31d10", "is_agent= ### have_mapping= ### agent_away=") in new stack [2009-12-22 11:54:10.1608] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1609] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:17] NoOp("SIP/90541-00e31d10", "source_type= ### source_num= ### source_num_id= ### source_ext= ### source_ext_id= ### source_wg_id= ### source_dpt_id=") in new stack [2009-12-22 11:54:10.1610] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1610] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:18] NoOp("SIP/90541-00e31d10", "middle_type= ### middle_num= ### middle_num_id= ### middle_ext= ### middle_ext_id= ### middle_wg_id= ### middle_dpt_id=") in new stack [2009-12-22 11:54:10.1611] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1612] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:19] NoOp("SIP/90541-00e31d10", "target_type= ### target_num= ### target_num_id= ### target_ext= ### target_ext_id= ### target_wg_id= ### target_dpt_id=") in new stack [2009-12-22 11:54:10.1613] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1613] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:20] NoOp("SIP/90541-00e31d10", "parent_channel=#SIP/90541-00e31d10") in new stack [2009-12-22 11:54:10.1615] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1615] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1616] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:21] GotoIf("SIP/90541-00e31d10", "1?22:32") in new stack [2009-12-22 11:54:10.1616] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,22) [2009-12-22 11:54:10.1617] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1618] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1619] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:22] Set("SIP/90541-00e31d10", "i=1") in new stack [2009-12-22 11:54:10.1621] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1621] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1622] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:23] GotoIf("SIP/90541-00e31d10", "1?24:31") in new stack [2009-12-22 11:54:10.1623] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,24) [2009-12-22 11:54:10.1624] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1625] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:24] NoOp("SIP/90541-00e31d10", "target[1]=#####") in new stack [2009-12-22 11:54:10.1626] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1627] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1628] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:25] GotoIf("SIP/90541-00e31d10", "0?26:28") in new stack [2009-12-22 11:54:10.1628] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,28) [2009-12-22 11:54:10.1629] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1630] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:28] NoOp("SIP/90541-00e31d10", "Finish if-for-if-dumpvars-1-2-3") in new stack [2009-12-22 11:54:10.1631] DEBUG[6187] pbx.c: Expression result is '2' [2009-12-22 11:54:10.1632] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1632] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:29] Set("SIP/90541-00e31d10", "i=2") in new stack [2009-12-22 11:54:10.1633] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1634] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:30] Goto("SIP/90541-00e31d10", "23") in new stack [2009-12-22 11:54:10.1635] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,23) [2009-12-22 11:54:10.1636] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1637] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1638] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:23] GotoIf("SIP/90541-00e31d10", "0?24:31") in new stack [2009-12-22 11:54:10.1638] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,31) [2009-12-22 11:54:10.1639] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1640] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:31] NoOp("SIP/90541-00e31d10", "Finish for-if-dumpvars-1-2") in new stack [2009-12-22 11:54:10.1641] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1641] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:32] NoOp("SIP/90541-00e31d10", "Finish if-dumpvars-1") in new stack [2009-12-22 11:54:10.1642] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1643] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:33] NoOp("SIP/90541-00e31d10", "v_data=") in new stack [2009-12-22 11:54:10.1644] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1645] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:34] NoOp("SIP/90541-00e31d10", "-(E)------------------------------------- dumpvars ---------------") in new stack [2009-12-22 11:54:10.1645] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:10.1646] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:35] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.1647] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1648] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:9] Set("SIP/90541-00e31d10", "__A_extension=90541") in new stack [2009-12-22 11:54:10.1649] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1649] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:10] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/A_extension)=90541") in new stack [2009-12-22 11:54:10.1651] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1651] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:11] Set("SIP/90541-00e31d10", "__A_agent=90541") in new stack [2009-12-22 11:54:10.1652] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1653] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:12] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/A_agent)=90541") in new stack [2009-12-22 11:54:10.1654] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1655] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:13] Set("SIP/90541-00e31d10", "__queue_call=") in new stack [2009-12-22 11:54:10.1655] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1656] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:14] MYSQL("SIP/90541-00e31d10", "Connect connid master.voip asterisk ********** asterisk") in new stack [2009-12-22 11:54:10.1698] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1699] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:15] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT agent FROM asteriskcdrdb.agent_extension_mapping WHERE extension="90541"") in new stack [2009-12-22 11:54:10.1707] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1708] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:16] MYSQL("SIP/90541-00e31d10", "Fetch have_mapping 2 db_agent") in new stack [2009-12-22 11:54:10.1709] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1710] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:17] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1711] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1712] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:18] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT extension FROM asteriskcdrdb.agent_extension_mapping WHERE agent="90541"") in new stack [2009-12-22 11:54:10.1719] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1719] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:19] MYSQL("SIP/90541-00e31d10", "Fetch agent_away 2 db_extension") in new stack [2009-12-22 11:54:10.1720] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1721] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:20] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1722] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1723] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1723] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:21] GotoIf("SIP/90541-00e31d10", "1?22:24") in new stack [2009-12-22 11:54:10.1724] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,22) [2009-12-22 11:54:10.1725] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1725] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:22] Set("SIP/90541-00e31d10", "__A_agent=22280") in new stack [2009-12-22 11:54:10.1726] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1727] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:23] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/A_agent)=22280") in new stack [2009-12-22 11:54:10.1728] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1729] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:24] NoOp("SIP/90541-00e31d10", "Finish if-default_from_local-191") in new stack [2009-12-22 11:54:10.1729] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1730] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:25] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT id FROM asterisk.extensions WHERE extension="90541" AND ts_deleted IS NULL") in new stack [2009-12-22 11:54:10.1736] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1737] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:26] MYSQL("SIP/90541-00e31d10", "Fetch have_ext 2 extension_id") in new stack [2009-12-22 11:54:10.1738] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1738] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:27] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1739] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1740] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:28] Set("SIP/90541-00e31d10", "__source_ext=90541") in new stack [2009-12-22 11:54:10.1741] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1742] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:29] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_ext)=90541") in new stack [2009-12-22 11:54:10.1743] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1743] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:30] Set("SIP/90541-00e31d10", "__source_ext_id=36189") in new stack [2009-12-22 11:54:10.1744] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1745] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:31] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_ext_id)=36189") in new stack [2009-12-22 11:54:10.1746] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1747] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:32] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT agent, id, name, workgroup_id, department_id FROM asterisk.extensions WHERE extension="22280" AND ts_deleted IS NULL") in new stack [2009-12-22 11:54:10.1752] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1753] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:33] MYSQL("SIP/90541-00e31d10", "Fetch is_ext 2 is_agent agent_id agent_name wg_id dpt_id") in new stack [2009-12-22 11:54:10.1754] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1755] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:34] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1756] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1756] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:35] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT extension_length,extension_prefix FROM asterisk.departments WHERE id=1") in new stack [2009-12-22 11:54:10.1760] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1760] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:36] MYSQL("SIP/90541-00e31d10", "Fetch rows 2 extension_length extension_prefix") in new stack [2009-12-22 11:54:10.1761] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1762] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:37] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.1763] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.1764] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:38] MYSQL("SIP/90541-00e31d10", "Disconnect 1") in new stack [2009-12-22 11:54:10.1767] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1767] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1768] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:39] GotoIf("SIP/90541-00e31d10", "1?40:43") in new stack [2009-12-22 11:54:10.1769] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,40) [2009-12-22 11:54:10.1769] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1770] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:40] Set("SIP/90541-00e31d10", "__source_type=agent") in new stack [2009-12-22 11:54:10.1771] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1772] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:41] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_type)=agent") in new stack [2009-12-22 11:54:10.1773] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1773] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:42] Goto("SIP/90541-00e31d10", "45") in new stack [2009-12-22 11:54:10.1774] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,45) [2009-12-22 11:54:10.1775] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1775] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:45] NoOp("SIP/90541-00e31d10", "Finish if-default_from_local-192") in new stack [2009-12-22 11:54:10.1776] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1777] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:46] Set("SIP/90541-00e31d10", "__source_num=22280") in new stack [2009-12-22 11:54:10.1778] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1778] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:47] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_num)=22280") in new stack [2009-12-22 11:54:10.1779] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1780] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:48] Set("SIP/90541-00e31d10", "__source_num_id=36085") in new stack [2009-12-22 11:54:10.1781] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1782] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:49] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_num_id)=36085") in new stack [2009-12-22 11:54:10.1783] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1784] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:50] Set("SIP/90541-00e31d10", "__source_wg_id=1") in new stack [2009-12-22 11:54:10.1785] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1786] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:51] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_wg_id)=1") in new stack [2009-12-22 11:54:10.1787] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1787] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:52] Set("SIP/90541-00e31d10", "__source_dpt_id=1") in new stack [2009-12-22 11:54:10.1788] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1789] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:53] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/source_dpt_id)=1") in new stack [2009-12-22 11:54:10.1790] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1791] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:54] Set("SIP/90541-00e31d10", "CALLERID(num)=22280") in new stack [2009-12-22 11:54:10.1793] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.1795] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET callerid_num='22280', callerid_name='Autoconfigured Grandstream BT-100 - 000b821d30ed', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='54', application='Set', data='CALLERID(num)=22280' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1796] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET callerid_num='22280', callerid_name='Autoconfigured Grandstream BT-100 - 000b821d30ed', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='54', application='Set', data='CALLERID(num)=22280' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1801] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:10.1802] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1802] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:55] Set("SIP/90541-00e31d10", "CALLERID(name)=Viktorija Zelenkevica") in new stack [2009-12-22 11:54:10.1804] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.1806] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET callerid_num='22280', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='55', application='Set', data='CALLERID(name)=Viktorija Zelenkevica' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1806] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET callerid_num='22280', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='55', application='Set', data='CALLERID(name)=Viktorija Zelenkevica' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1809] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:10.1810] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1810] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:56] Set("SIP/90541-00e31d10", "CALLERID(ANI)=22280") in new stack [2009-12-22 11:54:10.1812] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.1813] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET callerid_num='22280', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='56', application='Set', data='CALLERID(ANI)=22280' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1814] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET callerid_num='22280', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='default-sip', exten='3473422089', priority='56', application='Set', data='CALLERID(ANI)=22280' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:10.1817] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:10.1817] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1818] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:57] Set("SIP/90541-00e31d10", "__caller=22280") in new stack [2009-12-22 11:54:10.1819] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1819] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:58] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/caller)=22280") in new stack [2009-12-22 11:54:10.1821] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1821] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:59] Set("SIP/90541-00e31d10", "GROUP(agent_out)=22280") in new stack [2009-12-22 11:54:10.1823] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1823] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:60] Gosub("SIP/90541-00e31d10", "static_ivr,3473422089,1") in new stack [2009-12-22 11:54:10.1825] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:10.1826] VERBOSE[6187] pbx.c: -- Executing [3473422089@static_ivr:1] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.1829] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1830] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1831] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:61] GotoIf("SIP/90541-00e31d10", "0?62:66") in new stack [2009-12-22 11:54:10.1831] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,66) [2009-12-22 11:54:10.1832] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1833] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:66] NoOp("SIP/90541-00e31d10", "Finish if-default_from_local-193") in new stack [2009-12-22 11:54:10.1834] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1835] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:67] Set("SIP/90541-00e31d10", "__TRANSFER_CONTEXT=transfer") in new stack [2009-12-22 11:54:10.1835] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1836] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:68] Set("SIP/90541-00e31d10", "destination=3473422089") in new stack [2009-12-22 11:54:10.1837] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1838] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1839] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:69] GotoIf("SIP/90541-00e31d10", "0?70:71") in new stack [2009-12-22 11:54:10.1839] VERBOSE[6187] pbx.c: -- Goto (default-sip,3473422089,71) [2009-12-22 11:54:10.1840] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1841] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:71] NoOp("SIP/90541-00e31d10", "Finish if-default_from_local-194") in new stack [2009-12-22 11:54:10.1841] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1842] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:72] Gosub("SIP/90541-00e31d10", "dumpvars,s,1") in new stack [2009-12-22 11:54:10.1843] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1843] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- dumpvars ---------------") in new stack [2009-12-22 11:54:10.1844] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1845] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:2] NoOp("SIP/90541-00e31d10", "CALLERIDNAME(CALLERIDNUM)[CALLINGPRES]=Viktorija Zelenkevica(22280)[0]") in new stack [2009-12-22 11:54:10.1846] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1846] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:3] NoOp("SIP/90541-00e31d10", "DIALEDPEERNAME= ### DIALEDPEERNUMBER= ### DIALEDTIME= ### DIALSTATUS= ### QUEUESTATUS=") in new stack [2009-12-22 11:54:10.1847] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1848] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:4] NoOp("SIP/90541-00e31d10", "ANSWEREDTIME(UNIQUEID)PRIORITY=(1261511650.11325)4 ### [HANGUPCAUSE]MEETMESECS=[0]") in new stack [2009-12-22 11:54:10.1849] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1849] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:5] NoOp("SIP/90541-00e31d10", "SIPDOMAIN=207.7.135.103 ### SIP_CODEC= ### SIPCALLID=8d0c52b50182f762@192.168.0.66") in new stack [2009-12-22 11:54:10.1850] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1851] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:6] NoOp("SIP/90541-00e31d10", "TRANSFER_CONTEXT=transfer ### TXTCIDNAME= ### BLINDTRANSFER= ### TRANSFERSTATUS=") in new stack [2009-12-22 11:54:10.1852] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1852] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:7] NoOp("SIP/90541-00e31d10", "TOUCH_MONITOR= ### CHANNEL=SIP/90541-00e31d10") in new stack [2009-12-22 11:54:10.1853] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1854] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:8] NoOp("SIP/90541-00e31d10", "MACRO_CONTEXT= ### MACRO_EXTEN= ### MACRO_PRIORITY=") in new stack [2009-12-22 11:54:10.1854] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1855] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:9] NoOp("SIP/90541-00e31d10", "----------------- User variables ---------------") in new stack [2009-12-22 11:54:10.1856] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1856] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:10] NoOp("SIP/90541-00e31d10", "dnis= agent(extension) A[22280(90541)] -> B[()]") in new stack [2009-12-22 11:54:10.1857] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1858] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:11] NoOp("SIP/90541-00e31d10", "business_hours= ### agent_auto_pause= ### workgroup_auto_pause= ### queue_ring_time=") in new stack [2009-12-22 11:54:10.1859] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1859] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:12] NoOp("SIP/90541-00e31d10", "call_id-call_num=1261511650.11325-1") in new stack [2009-12-22 11:54:10.1860] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1861] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:13] NoOp("SIP/90541-00e31d10", "call_from_queue=0 ### direct_from_queue= ### queue_call= ### queue_call_num=") in new stack [2009-12-22 11:54:10.1862] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1862] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:14] NoOp("SIP/90541-00e31d10", "transfer_count=0 ### transfer_to_agent=3473422089 ### transfer_back=0") in new stack [2009-12-22 11:54:10.1863] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1864] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:15] NoOp("SIP/90541-00e31d10", "cdr_block_started=") in new stack [2009-12-22 11:54:10.1865] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1865] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:16] NoOp("SIP/90541-00e31d10", "is_agent=1 ### have_mapping=1 ### agent_away=0") in new stack [2009-12-22 11:54:10.1866] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1867] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:17] NoOp("SIP/90541-00e31d10", "source_type=agent ### source_num=22280 ### source_num_id=36085 ### source_ext=90541 ### source_ext_id=36189 ### source_wg_id= ### source_dpt_id=1") in new stack [2009-12-22 11:54:10.1868] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1869] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:18] NoOp("SIP/90541-00e31d10", "middle_type= ### middle_num= ### middle_num_id= ### middle_ext= ### middle_ext_id= ### middle_wg_id= ### middle_dpt_id=") in new stack [2009-12-22 11:54:10.1870] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1870] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:19] NoOp("SIP/90541-00e31d10", "target_type= ### target_num= ### target_num_id= ### target_ext= ### target_ext_id= ### target_wg_id= ### target_dpt_id=") in new stack [2009-12-22 11:54:10.1871] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1872] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:20] NoOp("SIP/90541-00e31d10", "parent_channel=#SIP/90541-00e31d10") in new stack [2009-12-22 11:54:10.1873] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1874] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1874] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:21] GotoIf("SIP/90541-00e31d10", "1?22:32") in new stack [2009-12-22 11:54:10.1875] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,22) [2009-12-22 11:54:10.1876] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1876] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1877] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:22] Set("SIP/90541-00e31d10", "i=1") in new stack [2009-12-22 11:54:10.1879] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1879] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1880] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:23] GotoIf("SIP/90541-00e31d10", "1?24:31") in new stack [2009-12-22 11:54:10.1880] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,24) [2009-12-22 11:54:10.1882] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1883] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:24] NoOp("SIP/90541-00e31d10", "target[1]=#####") in new stack [2009-12-22 11:54:10.1884] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1885] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1885] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:25] GotoIf("SIP/90541-00e31d10", "0?26:28") in new stack [2009-12-22 11:54:10.1886] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,28) [2009-12-22 11:54:10.1886] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1887] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:28] NoOp("SIP/90541-00e31d10", "Finish if-for-if-dumpvars-1-2-3") in new stack [2009-12-22 11:54:10.1889] DEBUG[6187] pbx.c: Expression result is '2' [2009-12-22 11:54:10.1889] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1890] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:29] Set("SIP/90541-00e31d10", "i=2") in new stack [2009-12-22 11:54:10.1890] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1891] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:30] Goto("SIP/90541-00e31d10", "23") in new stack [2009-12-22 11:54:10.1892] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,23) [2009-12-22 11:54:10.1893] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.1894] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1895] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:23] GotoIf("SIP/90541-00e31d10", "0?24:31") in new stack [2009-12-22 11:54:10.1895] VERBOSE[6187] pbx.c: -- Goto (dumpvars,s,31) [2009-12-22 11:54:10.1896] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1896] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:31] NoOp("SIP/90541-00e31d10", "Finish for-if-dumpvars-1-2") in new stack [2009-12-22 11:54:10.1897] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1898] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:32] NoOp("SIP/90541-00e31d10", "Finish if-dumpvars-1") in new stack [2009-12-22 11:54:10.1898] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1899] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:33] NoOp("SIP/90541-00e31d10", "v_data=") in new stack [2009-12-22 11:54:10.1899] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1900] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:34] NoOp("SIP/90541-00e31d10", "-(E)------------------------------------- dumpvars ---------------") in new stack [2009-12-22 11:54:10.1901] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:10.1902] VERBOSE[6187] pbx.c: -- Executing [s@dumpvars:35] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.1903] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.1903] VERBOSE[6187] pbx.c: -- Executing [3473422089@default-sip:73] Goto("SIP/90541-00e31d10", "out_call,3473422089,1") in new stack [2009-12-22 11:54:10.1904] VERBOSE[6187] pbx.c: -- Goto (out_call,3473422089,1) [2009-12-22 11:54:10.1904] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1905] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- context out_call ---------------") in new stack [2009-12-22 11:54:10.1906] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1906] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:2] Set("SIP/90541-00e31d10", "__target_num=3473422089") in new stack [2009-12-22 11:54:10.1907] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1908] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:3] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_num)=3473422089") in new stack [2009-12-22 11:54:10.1910] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1910] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1911] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:4] GotoIf("SIP/90541-00e31d10", "1?5:7") in new stack [2009-12-22 11:54:10.1912] VERBOSE[6187] pbx.c: -- Goto (out_call,3473422089,5) [2009-12-22 11:54:10.1913] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1913] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:5] Set("SIP/90541-00e31d10", "__target_wg_id=1") in new stack [2009-12-22 11:54:10.1914] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1915] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:6] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_wg_id)=1") in new stack [2009-12-22 11:54:10.1916] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1917] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:7] NoOp("SIP/90541-00e31d10", "Finish if-out_call-195") in new stack [2009-12-22 11:54:10.1918] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.1919] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.1919] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:8] GotoIf("SIP/90541-00e31d10", "1?9:11") in new stack [2009-12-22 11:54:10.1920] VERBOSE[6187] pbx.c: -- Goto (out_call,3473422089,9) [2009-12-22 11:54:10.1921] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1921] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:9] Set("SIP/90541-00e31d10", "__target_dpt_id=1") in new stack [2009-12-22 11:54:10.1922] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1923] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:10] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_dpt_id)=1") in new stack [2009-12-22 11:54:10.1924] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1924] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:11] NoOp("SIP/90541-00e31d10", "Finish if-out_call-196") in new stack [2009-12-22 11:54:10.1925] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1926] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:12] NoOp("SIP/90541-00e31d10", "Going to Filters") in new stack [2009-12-22 11:54:10.1926] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1927] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:13] Set("SIP/90541-00e31d10", "A=22280") in new stack [2009-12-22 11:54:10.1928] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1928] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:14] Set("SIP/90541-00e31d10", "B=3473422089") in new stack [2009-12-22 11:54:10.1929] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1930] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:15] Gosub("SIP/90541-00e31d10", "check_filters,s,1(3473422089)") in new stack [2009-12-22 11:54:10.1932] DEBUG[6187] app_stack.c: Setting 'ARG1' to '3473422089' [2009-12-22 11:54:10.1932] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.1933] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:1] Set("SIP/90541-00e31d10", "LOCAL(number)=3473422089") in new stack [2009-12-22 11:54:10.1934] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.1935] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:2] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- context check_filters ---------------") in new stack [2009-12-22 11:54:10.1935] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:10.1936] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:3] Gosub("SIP/90541-00e31d10", "db_filters,3473422089,1") in new stack [2009-12-22 11:54:10.1939] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.1939] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.1940] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.1948] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.1949] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.1950] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2002] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2003] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.2004] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.2010] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2011] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2011] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2062] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2064] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.2066] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '1' [2009-12-22 11:54:10.2073] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2074] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2075] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2098] VERBOSE[6187] pbx_realtime.c: -- Executing Set("SIP/90541-00e31d10", "__filter_in_use=1") [2009-12-22 11:54:10.2102] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2103] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '2' [2009-12-22 11:54:10.2103] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '2' [2009-12-22 11:54:10.2109] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2109] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '2' ORDER BY exten [2009-12-22 11:54:10.2110] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '2' ORDER BY exten [2009-12-22 11:54:10.2162] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2163] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '2' [2009-12-22 11:54:10.2164] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '2' [2009-12-22 11:54:10.2172] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2173] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '2' ORDER BY exten [2009-12-22 11:54:10.2174] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '2' ORDER BY exten [2009-12-22 11:54:10.2202] VERBOSE[6187] pbx_realtime.c: -- Executing NoOp("SIP/90541-00e31d10", "Mask used=_x.") [2009-12-22 11:54:10.2205] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2206] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '3' [2009-12-22 11:54:10.2207] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '3' [2009-12-22 11:54:10.2214] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2215] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '3' ORDER BY exten [2009-12-22 11:54:10.2215] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '3' ORDER BY exten [2009-12-22 11:54:10.2272] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2273] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '3' [2009-12-22 11:54:10.2273] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_filters' AND priority = '3' [2009-12-22 11:54:10.2283] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2283] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '3' ORDER BY exten [2009-12-22 11:54:10.2284] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_filters' AND priority = '3' ORDER BY exten [2009-12-22 11:54:10.2310] VERBOSE[6187] pbx_realtime.c: -- Executing Return("SIP/90541-00e31d10", "") [2009-12-22 11:54:10.2311] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2312] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:4] NoOp("SIP/90541-00e31d10", "filter = 1") in new stack [2009-12-22 11:54:10.2313] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.2314] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.2314] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:5] GotoIf("SIP/90541-00e31d10", "0?6:7") in new stack [2009-12-22 11:54:10.2315] VERBOSE[6187] pbx.c: -- Goto (check_filters,s,7) [2009-12-22 11:54:10.2316] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2316] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:7] NoOp("SIP/90541-00e31d10", "Finish if-check_filters-185") in new stack [2009-12-22 11:54:10.2317] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2318] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:8] MYSQL("SIP/90541-00e31d10", "Connect filter_conn_id master.voip asterisk ********** asterisk") in new stack [2009-12-22 11:54:10.2363] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2364] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:9] MYSQL("SIP/90541-00e31d10", "Query filter_result_id 1 SELECT f_o.action FROM filter_owner AS f_o, extensions AS e WHERE f_o.filter_id=1 AND f_o.owner_type="user" AND f_o.owner_id=e.id AND e.extension IN ("22280","") AND e.ts_deleted IS NULL GROUP BY f_o.action") in new stack [2009-12-22 11:54:10.2373] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2373] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:10] MYSQL("SIP/90541-00e31d10", "Fetch filter_fetch_id 2 filter_user_action") in new stack [2009-12-22 11:54:10.2374] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2375] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:11] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.2376] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2377] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:12] NoOp("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.2377] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.2378] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:13] Set("SIP/90541-00e31d10", "filter_action=") in new stack [2009-12-22 11:54:10.2379] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.2380] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.2381] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:14] GotoIf("SIP/90541-00e31d10", "1?15:27") in new stack [2009-12-22 11:54:10.2381] VERBOSE[6187] pbx.c: -- Goto (check_filters,s,15) [2009-12-22 11:54:10.2382] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2383] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:15] MYSQL("SIP/90541-00e31d10", "Query filter_result_id 1 SELECT f_o.action FROM filter_owner AS f_o, extension_workgroup AS e_w, extensions AS e WHERE f_o.filter_id=1 AND f_o.owner_type="workgroup" AND f_o.owner_id=e_w.workgroup_id AND e_w.ext_id=e.id AND e.extension IN ("22280","") AND e.ts_deleted IS NULL GROUP BY f_o.action ORDER BY f_o.action ASC") in new stack [2009-12-22 11:54:10.2390] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2391] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:16] MYSQL("SIP/90541-00e31d10", "Fetch filter_fetch_id 2 filter_workgroup_action") in new stack [2009-12-22 11:54:10.2392] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2393] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:17] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.2393] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2394] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:18] NoOp("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.2395] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.2395] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:19] Set("SIP/90541-00e31d10", "filter_action=") in new stack [2009-12-22 11:54:10.2397] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:10.2397] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.2398] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:20] GotoIf("SIP/90541-00e31d10", "1?21:26") in new stack [2009-12-22 11:54:10.2398] VERBOSE[6187] pbx.c: -- Goto (check_filters,s,21) [2009-12-22 11:54:10.2399] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2399] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:21] MYSQL("SIP/90541-00e31d10", "Query filter_result_id 1 SELECT default_action FROM filters WHERE id=1") in new stack [2009-12-22 11:54:10.2403] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2403] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:22] MYSQL("SIP/90541-00e31d10", "Fetch filter_fetch_id 2 filter_system_action") in new stack [2009-12-22 11:54:10.2404] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2405] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:23] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:10.2406] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2406] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:24] NoOp("SIP/90541-00e31d10", "allow") in new stack [2009-12-22 11:54:10.2407] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.2408] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:25] Set("SIP/90541-00e31d10", "filter_action=allow") in new stack [2009-12-22 11:54:10.2408] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2409] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:26] NoOp("SIP/90541-00e31d10", "Finish if-if-check_filters-186-187") in new stack [2009-12-22 11:54:10.2409] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2410] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:27] NoOp("SIP/90541-00e31d10", "Finish if-check_filters-186") in new stack [2009-12-22 11:54:10.2411] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:10.2411] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:28] MYSQL("SIP/90541-00e31d10", "Disconnect 1") in new stack [2009-12-22 11:54:10.2413] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:10.2414] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:10.2414] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:29] GotoIf("SIP/90541-00e31d10", "0?30:31") in new stack [2009-12-22 11:54:10.2415] VERBOSE[6187] pbx.c: -- Goto (check_filters,s,31) [2009-12-22 11:54:10.2416] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2416] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:31] NoOp("SIP/90541-00e31d10", "Finish if-check_filters-188") in new stack [2009-12-22 11:54:10.2417] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:10.2417] VERBOSE[6187] pbx.c: -- Executing [s@check_filters:32] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:10.2418] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:10.2419] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:16] NoOp("SIP/90541-00e31d10", "Going to Trunks") in new stack [2009-12-22 11:54:10.2419] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:10.2420] VERBOSE[6187] pbx.c: -- Executing [3473422089@out_call:17] Goto("SIP/90541-00e31d10", "db_trunks,3473422089,1") in new stack [2009-12-22 11:54:10.2421] VERBOSE[6187] pbx.c: -- Goto (db_trunks,3473422089,1) [2009-12-22 11:54:10.2425] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2425] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2426] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2436] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2437] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2438] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2502] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2503] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2504] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '3473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2513] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2513] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2514] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2548] VERBOSE[6187] pbx_realtime.c: -- Executing GoTo("SIP/90541-00e31d10", "13473422089,1") [2009-12-22 11:54:10.2548] VERBOSE[6187] pbx.c: -- Goto (db_trunks,13473422089,1) [2009-12-22 11:54:10.2551] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2551] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2552] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2561] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2561] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2562] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2611] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2612] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2613] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:10.2621] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:10.2622] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2622] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '1' ORDER BY exten [2009-12-22 11:54:10.2652] VERBOSE[6187] pbx_realtime.c: -- Executing GoSub("SIP/90541-00e31d10", "set_clid,s,1(5)") [2009-12-22 11:54:10.2653] DEBUG[6187] app_stack.c: Setting 'ARG1' to '5' [2009-12-22 11:54:10.2654] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:10.2655] VERBOSE[6187] pbx.c: -- Executing [s@set_clid:1] Set("SIP/90541-00e31d10", "LOCAL(trunk)=5") in new stack [2009-12-22 11:54:10.2656] DEBUG[6187] pbx.c: Launching 'AGI' [2009-12-22 11:54:10.2656] VERBOSE[6187] pbx.c: -- Executing [s@set_clid:2] AGI("SIP/90541-00e31d10", "system/clid.php") in new stack [2009-12-22 11:54:10.2805] VERBOSE[6187] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/system/clid.php [2009-12-22 11:54:10.2815] VERBOSE[6187] res_agi.c: AGI Tx >> agi_request: system/clid.php [2009-12-22 11:54:10.2817] VERBOSE[6187] res_agi.c: AGI Tx >> agi_channel: SIP/90541-00e31d10 [2009-12-22 11:54:10.2819] VERBOSE[6187] res_agi.c: AGI Tx >> agi_language: en [2009-12-22 11:54:10.2822] VERBOSE[6187] res_agi.c: AGI Tx >> agi_type: SIP [2009-12-22 11:54:10.2823] VERBOSE[6187] res_agi.c: AGI Tx >> agi_uniqueid: 1261511650.11325 [2009-12-22 11:54:10.2826] VERBOSE[6187] res_agi.c: AGI Tx >> agi_version: 1.6.1.6 [2009-12-22 11:54:10.2831] VERBOSE[6187] res_agi.c: AGI Tx >> agi_callerid: 22280 [2009-12-22 11:54:10.2834] VERBOSE[6187] res_agi.c: AGI Tx >> agi_calleridname: Viktorija Zelenkevica [2009-12-22 11:54:10.2835] VERBOSE[6187] res_agi.c: AGI Tx >> agi_callingpres: 0 [2009-12-22 11:54:10.2836] VERBOSE[6187] res_agi.c: AGI Tx >> agi_callingani2: 0 [2009-12-22 11:54:10.2837] VERBOSE[6187] res_agi.c: AGI Tx >> agi_callington: 0 [2009-12-22 11:54:10.2839] VERBOSE[6187] res_agi.c: AGI Tx >> agi_callingtns: 0 [2009-12-22 11:54:10.2840] VERBOSE[6187] res_agi.c: AGI Tx >> agi_dnid: 3473422089 [2009-12-22 11:54:10.2841] VERBOSE[6187] res_agi.c: AGI Tx >> agi_rdnis: unknown [2009-12-22 11:54:10.2842] VERBOSE[6187] res_agi.c: AGI Tx >> agi_context: set_clid [2009-12-22 11:54:10.2843] VERBOSE[6187] res_agi.c: AGI Tx >> agi_extension: s [2009-12-22 11:54:10.2844] VERBOSE[6187] res_agi.c: AGI Tx >> agi_priority: 2 [2009-12-22 11:54:10.2845] VERBOSE[6187] res_agi.c: AGI Tx >> agi_enhanced: 0.0 [2009-12-22 11:54:10.2846] VERBOSE[6187] res_agi.c: AGI Tx >> agi_accountcode: 1261511650.11325 [2009-12-22 11:54:10.2847] VERBOSE[6187] res_agi.c: AGI Tx >> agi_threadid: 1104214336 [2009-12-22 11:54:10.2848] VERBOSE[6187] res_agi.c: AGI Tx >> [2009-12-22 11:54:10.5940] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_type [2009-12-22 11:54:10.5942] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (agent) [2009-12-22 11:54:10.5944] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_ext [2009-12-22 11:54:10.5945] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (90541) [2009-12-22 11:54:10.5946] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_ext_id [2009-12-22 11:54:10.5947] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (36189) [2009-12-22 11:54:10.5948] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_num_id [2009-12-22 11:54:10.5949] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (36085) [2009-12-22 11:54:10.5951] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_wg_id [2009-12-22 11:54:10.5952] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (1) [2009-12-22 11:54:10.5953] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE source_dpt_id [2009-12-22 11:54:10.5954] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (1) [2009-12-22 11:54:12.6219] VERBOSE[6187] res_agi.c: AGI Rx << SET VARIABLE CALLERID(num) "8663491096" [2009-12-22 11:54:12.6225] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6226] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET callerid_num='8663491096', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='set_clid', exten='s', priority='2', application='AGI', data='system/clid.php' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:12.6227] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET callerid_num='8663491096', callerid_name='Viktorija Zelenkevica', accountcode='1261511650.11325', context='set_clid', exten='s', priority='2', application='AGI', data='system/clid.php' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:12.6232] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:12.6233] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 [2009-12-22 11:54:12.6236] VERBOSE[6187] res_agi.c: AGI Rx << GET VARIABLE call_id [2009-12-22 11:54:12.6237] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 (1261511650.11325) [2009-12-22 11:54:12.6238] VERBOSE[6187] res_agi.c: AGI Rx << SET VARIABLE __target_ext "8663491096" [2009-12-22 11:54:12.6239] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 [2009-12-22 11:54:12.6241] VERBOSE[6187] res_agi.c: AGI Rx << SET VARIABLE DB(call_globals/1261511650.11325/target_ext) "8663491096" [2009-12-22 11:54:12.6242] VERBOSE[6187] res_agi.c: AGI Tx >> 200 result=1 [2009-12-22 11:54:12.6707] VERBOSE[6187] res_agi.c: -- AGI Script system/clid.php completed, returning 0 [2009-12-22 11:54:12.6759] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:12.6760] VERBOSE[6187] pbx.c: -- Executing [s@set_clid:3] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:12.6764] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6765] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '2' [2009-12-22 11:54:12.6765] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '2' [2009-12-22 11:54:12.6774] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6775] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '2' ORDER BY exten [2009-12-22 11:54:12.6775] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '2' ORDER BY exten [2009-12-22 11:54:12.6831] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6832] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '2' [2009-12-22 11:54:12.6833] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '2' [2009-12-22 11:54:12.6839] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6840] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '2' ORDER BY exten [2009-12-22 11:54:12.6841] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '2' ORDER BY exten [2009-12-22 11:54:12.6860] VERBOSE[6187] pbx_realtime.c: -- Executing GoSub("SIP/90541-00e31d10", "cdr_block_start,s,1(trunk,5)") [2009-12-22 11:54:12.6861] DEBUG[6187] app_stack.c: Setting 'ARG1' to 'trunk' [2009-12-22 11:54:12.6862] DEBUG[6187] app_stack.c: Setting 'ARG2' to '5' [2009-12-22 11:54:12.6863] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6864] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:1] Set("SIP/90541-00e31d10", "LOCAL(type)=trunk") in new stack [2009-12-22 11:54:12.6865] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6866] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:2] Set("SIP/90541-00e31d10", "LOCAL(number)=5") in new stack [2009-12-22 11:54:12.6867] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6868] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:3] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- macro cdr_block_start(trunk,5) -----------") in new stack [2009-12-22 11:54:12.6869] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.6870] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6870] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:4] GotoIf("SIP/90541-00e31d10", "1?5:13") in new stack [2009-12-22 11:54:12.6871] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,5) [2009-12-22 11:54:12.6872] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6873] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:5] Set("SIP/90541-00e31d10", "__cdr_block_started=1") in new stack [2009-12-22 11:54:12.6874] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6875] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:6] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/cdr_block_started)=1") in new stack [2009-12-22 11:54:12.6877] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6878] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6879] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:7] GotoIf("SIP/90541-00e31d10", "0?8:11") in new stack [2009-12-22 11:54:12.6880] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,11) [2009-12-22 11:54:12.6880] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6881] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:11] NoOp("SIP/90541-00e31d10", "Finish if-if-cdr_block_start-75-76") in new stack [2009-12-22 11:54:12.6882] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:12.6882] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:12] Goto("SIP/90541-00e31d10", "29") in new stack [2009-12-22 11:54:12.6883] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,29) [2009-12-22 11:54:12.6884] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6884] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:29] NoOp("SIP/90541-00e31d10", "Finish if-cdr_block_start-75") in new stack [2009-12-22 11:54:12.6885] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6886] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:30] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5") in new stack [2009-12-22 11:54:12.6888] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.6888] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6889] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:31] GotoIf("SIP/90541-00e31d10", "1?32:33") in new stack [2009-12-22 11:54:12.6890] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,32) [2009-12-22 11:54:12.6890] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6891] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:32] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5") in new stack [2009-12-22 11:54:12.6892] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6893] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:33] NoOp("SIP/90541-00e31d10", "Finish if-cdr_block_start-78") in new stack [2009-12-22 11:54:12.6894] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6895] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6895] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:34] GotoIf("SIP/90541-00e31d10", "0?35:37") in new stack [2009-12-22 11:54:12.6896] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,37) [2009-12-22 11:54:12.6897] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6898] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:37] NoOp("SIP/90541-00e31d10", "Finish if-cdr_block_start-79") in new stack [2009-12-22 11:54:12.6899] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6900] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6901] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:38] GotoIf("SIP/90541-00e31d10", "0?39:39") in new stack [2009-12-22 11:54:12.6902] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,39) [2009-12-22 11:54:12.6902] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6903] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:39] NoOp("SIP/90541-00e31d10", "Finish if-cdr_block_start-80") in new stack [2009-12-22 11:54:12.6904] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6904] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:40] Set("SIP/90541-00e31d10", "__xfer_block_started=") in new stack [2009-12-22 11:54:12.6906] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6906] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6907] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:41] GotoIf("SIP/90541-00e31d10", "0?42:65") in new stack [2009-12-22 11:54:12.6908] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,65) [2009-12-22 11:54:12.6909] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6909] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:65] Set("SIP/90541-00e31d10", "__xfer_block_started=") in new stack [2009-12-22 11:54:12.6910] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6911] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:66] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/xfer_block_started)=") in new stack [2009-12-22 11:54:12.6913] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6914] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6915] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:67] GotoIf("SIP/90541-00e31d10", "0?68:69") in new stack [2009-12-22 11:54:12.6916] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,69) [2009-12-22 11:54:12.6916] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6917] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:69] NoOp("SIP/90541-00e31d10", "Finish if-if-cdr_block_start-81-83") in new stack [2009-12-22 11:54:12.6920] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.6920] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6921] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:70] GotoIf("SIP/90541-00e31d10", "1?71:75") in new stack [2009-12-22 11:54:12.6922] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,71) [2009-12-22 11:54:12.6923] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6923] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:71] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096") in new stack [2009-12-22 11:54:12.6925] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.6926] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6926] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:72] GotoIf("SIP/90541-00e31d10", "0?73:74") in new stack [2009-12-22 11:54:12.6927] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,74) [2009-12-22 11:54:12.6928] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6928] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:74] NoOp("SIP/90541-00e31d10", "Finish if-if-if-cdr_block_start-81-84-85") in new stack [2009-12-22 11:54:12.6929] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6930] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:75] NoOp("SIP/90541-00e31d10", "Finish if-if-cdr_block_start-81-84") in new stack [2009-12-22 11:54:12.6931] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6931] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:76] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1") in new stack [2009-12-22 11:54:12.6932] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6933] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:77] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1") in new stack [2009-12-22 11:54:12.6934] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6934] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:78] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280") in new stack [2009-12-22 11:54:12.6936] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.6936] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6937] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:79] GotoIf("SIP/90541-00e31d10", "1?80:81") in new stack [2009-12-22 11:54:12.6938] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,80) [2009-12-22 11:54:12.6939] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6939] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:80] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085") in new stack [2009-12-22 11:54:12.6941] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6941] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:81] NoOp("SIP/90541-00e31d10", "Finish if-if-cdr_block_start-81-86") in new stack [2009-12-22 11:54:12.6943] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.6943] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.6944] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:82] GotoIf("SIP/90541-00e31d10", "1?83:84") in new stack [2009-12-22 11:54:12.6944] VERBOSE[6187] pbx.c: -- Goto (cdr_block_start,s,83) [2009-12-22 11:54:12.6945] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6946] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:83] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189") in new stack [2009-12-22 11:54:12.6947] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6947] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:84] NoOp("SIP/90541-00e31d10", "Finish if-if-cdr_block_start-81-87") in new stack [2009-12-22 11:54:12.6948] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6949] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:85] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189#s_wg=1") in new stack [2009-12-22 11:54:12.6950] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6951] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:86] Set("SIP/90541-00e31d10", "CDR(userfield)=#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189#s_wg=1#s_dpt=1") in new stack [2009-12-22 11:54:12.6952] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6953] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:87] NoOp("SIP/90541-00e31d10", "Finish if-cdr_block_start-81") in new stack [2009-12-22 11:54:12.6953] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6954] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:88] Set("SIP/90541-00e31d10", "__target_1_type=") in new stack [2009-12-22 11:54:12.6955] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6956] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:89] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_1_type)=") in new stack [2009-12-22 11:54:12.6957] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6958] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:90] Set("SIP/90541-00e31d10", "__target_1_num_id=") in new stack [2009-12-22 11:54:12.6959] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6959] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:91] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_1_num_id)=") in new stack [2009-12-22 11:54:12.6961] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6962] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:92] Set("SIP/90541-00e31d10", "__target_1_num=3473422089") in new stack [2009-12-22 11:54:12.6963] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6964] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:93] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_1_num)=3473422089") in new stack [2009-12-22 11:54:12.6965] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6966] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:94] Set("SIP/90541-00e31d10", "__target_1_ext_id=") in new stack [2009-12-22 11:54:12.6967] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6968] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:95] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_1_ext_id)=") in new stack [2009-12-22 11:54:12.6969] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6970] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:96] Set("SIP/90541-00e31d10", "__target_1_ext=8663491096") in new stack [2009-12-22 11:54:12.6971] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.6971] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:97] Set("SIP/90541-00e31d10", "DB(call_globals/1261511650.11325/target_1_ext)=8663491096") in new stack [2009-12-22 11:54:12.6972] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.6973] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:98] NoOp("SIP/90541-00e31d10", "-(E)------------------------------------- macro cdr_block_start(trunk,5) -----------") in new stack [2009-12-22 11:54:12.6974] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:12.6974] VERBOSE[6187] pbx.c: -- Executing [s@cdr_block_start:99] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:12.6977] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6978] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '3' [2009-12-22 11:54:12.6979] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '3' [2009-12-22 11:54:12.6986] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.6986] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '3' ORDER BY exten [2009-12-22 11:54:12.6987] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '3' ORDER BY exten [2009-12-22 11:54:12.7041] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7042] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '3' [2009-12-22 11:54:12.7042] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '3' [2009-12-22 11:54:12.7049] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7050] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '3' ORDER BY exten [2009-12-22 11:54:12.7050] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '3' ORDER BY exten [2009-12-22 11:54:12.7071] VERBOSE[6187] pbx_realtime.c: -- Executing GoSub("SIP/90541-00e31d10", "check_record,s,1") [2009-12-22 11:54:12.7072] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7072] VERBOSE[6187] pbx.c: -- Executing [s@check_record:1] Set("SIP/90541-00e31d10", "__recording_deny=") in new stack [2009-12-22 11:54:12.7073] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7074] VERBOSE[6187] pbx.c: -- Executing [s@check_record:2] Set("SIP/90541-00e31d10", "__recording_hq=") in new stack [2009-12-22 11:54:12.7076] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7077] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7077] VERBOSE[6187] pbx.c: -- Executing [s@check_record:3] GotoIf("SIP/90541-00e31d10", "0?4:5") in new stack [2009-12-22 11:54:12.7078] VERBOSE[6187] pbx.c: -- Goto (check_record,s,5) [2009-12-22 11:54:12.7079] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7080] VERBOSE[6187] pbx.c: -- Executing [s@check_record:5] NoOp("SIP/90541-00e31d10", "Finish if-check_record-38") in new stack [2009-12-22 11:54:12.7081] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7082] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7082] VERBOSE[6187] pbx.c: -- Executing [s@check_record:6] GotoIf("SIP/90541-00e31d10", "0?7:8") in new stack [2009-12-22 11:54:12.7083] VERBOSE[6187] pbx.c: -- Goto (check_record,s,8) [2009-12-22 11:54:12.7084] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7084] VERBOSE[6187] pbx.c: -- Executing [s@check_record:8] NoOp("SIP/90541-00e31d10", "Finish if-check_record-39") in new stack [2009-12-22 11:54:12.7085] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7086] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7087] VERBOSE[6187] pbx.c: -- Executing [s@check_record:9] GotoIf("SIP/90541-00e31d10", "1?10:38") in new stack [2009-12-22 11:54:12.7087] VERBOSE[6187] pbx.c: -- Goto (check_record,s,10) [2009-12-22 11:54:12.7088] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7089] VERBOSE[6187] pbx.c: -- Executing [s@check_record:10] Set("SIP/90541-00e31d10", "recording_target_match=") in new stack [2009-12-22 11:54:12.7089] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7090] VERBOSE[6187] pbx.c: -- Executing [s@check_record:11] Set("SIP/90541-00e31d10", "recording_source_match=") in new stack [2009-12-22 11:54:12.7091] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7091] VERBOSE[6187] pbx.c: -- Executing [s@check_record:12] Set("SIP/90541-00e31d10", "recording_or=") in new stack [2009-12-22 11:54:12.7093] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7093] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7094] VERBOSE[6187] pbx.c: -- Executing [s@check_record:13] GotoIf("SIP/90541-00e31d10", "1?14:15") in new stack [2009-12-22 11:54:12.7095] VERBOSE[6187] pbx.c: -- Goto (check_record,s,14) [2009-12-22 11:54:12.7096] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7096] VERBOSE[6187] pbx.c: -- Executing [s@check_record:14] Set("SIP/90541-00e31d10", "recording_target_match=extension="3473422089" OR mobile LIKE "%3473422089"") in new stack [2009-12-22 11:54:12.7097] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7098] VERBOSE[6187] pbx.c: -- Executing [s@check_record:15] NoOp("SIP/90541-00e31d10", "Finish if-if-check_record-40-41") in new stack [2009-12-22 11:54:12.7099] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7099] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7100] VERBOSE[6187] pbx.c: -- Executing [s@check_record:16] GotoIf("SIP/90541-00e31d10", "1?17:21") in new stack [2009-12-22 11:54:12.7101] VERBOSE[6187] pbx.c: -- Goto (check_record,s,17) [2009-12-22 11:54:12.7102] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7102] VERBOSE[6187] pbx.c: -- Executing [s@check_record:17] Set("SIP/90541-00e31d10", "recording_source_match=extension="22280" OR mobile LIKE "%22280"") in new stack [2009-12-22 11:54:12.7103] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7104] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7104] VERBOSE[6187] pbx.c: -- Executing [s@check_record:18] GotoIf("SIP/90541-00e31d10", "1?19:20") in new stack [2009-12-22 11:54:12.7105] VERBOSE[6187] pbx.c: -- Goto (check_record,s,19) [2009-12-22 11:54:12.7105] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7106] VERBOSE[6187] pbx.c: -- Executing [s@check_record:19] Set("SIP/90541-00e31d10", "recording_or=OR") in new stack [2009-12-22 11:54:12.7107] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7107] VERBOSE[6187] pbx.c: -- Executing [s@check_record:20] NoOp("SIP/90541-00e31d10", "Finish if-if-if-check_record-40-42-43") in new stack [2009-12-22 11:54:12.7108] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7109] VERBOSE[6187] pbx.c: -- Executing [s@check_record:21] NoOp("SIP/90541-00e31d10", "Finish if-if-check_record-40-42") in new stack [2009-12-22 11:54:12.7109] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7110] VERBOSE[6187] pbx.c: -- Executing [s@check_record:22] MYSQL("SIP/90541-00e31d10", "Connect connid master.voip asterisk ********** asterisk") in new stack [2009-12-22 11:54:12.7155] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7156] VERBOSE[6187] pbx.c: -- Executing [s@check_record:23] MYSQL("SIP/90541-00e31d10", "Query result1 1 SELECT extension, deny_recording, high_quality_recording FROM extensions WHERE ts_deleted IS NULL AND (extension="22280" OR mobile LIKE "%22280" OR extension="3473422089" OR mobile LIKE "%3473422089")") in new stack [2009-12-22 11:54:12.7268] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7269] VERBOSE[6187] pbx.c: -- Executing [s@check_record:24] MYSQL("SIP/90541-00e31d10", "Fetch res 2 rec_ext rec_deny rec_hq") in new stack [2009-12-22 11:54:12.7271] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7272] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7273] VERBOSE[6187] pbx.c: -- Executing [s@check_record:25] GotoIf("SIP/90541-00e31d10", "1?26:35") in new stack [2009-12-22 11:54:12.7274] VERBOSE[6187] pbx.c: -- Goto (check_record,s,26) [2009-12-22 11:54:12.7274] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7275] VERBOSE[6187] pbx.c: -- Executing [s@check_record:26] NoOp("SIP/90541-00e31d10", "Recording for 22280 is 0, 0") in new stack [2009-12-22 11:54:12.7277] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7277] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7278] VERBOSE[6187] pbx.c: -- Executing [s@check_record:27] GotoIf("SIP/90541-00e31d10", "0?28:29") in new stack [2009-12-22 11:54:12.7279] VERBOSE[6187] pbx.c: -- Goto (check_record,s,29) [2009-12-22 11:54:12.7280] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7280] VERBOSE[6187] pbx.c: -- Executing [s@check_record:29] NoOp("SIP/90541-00e31d10", "Finish if-while-if-check_record-40-44-45") in new stack [2009-12-22 11:54:12.7282] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7282] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7283] VERBOSE[6187] pbx.c: -- Executing [s@check_record:30] GotoIf("SIP/90541-00e31d10", "0?31:32") in new stack [2009-12-22 11:54:12.7284] VERBOSE[6187] pbx.c: -- Goto (check_record,s,32) [2009-12-22 11:54:12.7284] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7285] VERBOSE[6187] pbx.c: -- Executing [s@check_record:32] NoOp("SIP/90541-00e31d10", "Finish if-while-if-check_record-40-44-46") in new stack [2009-12-22 11:54:12.7286] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7286] VERBOSE[6187] pbx.c: -- Executing [s@check_record:33] MYSQL("SIP/90541-00e31d10", "Fetch res 2 rec_ext rec_deny rec_hq") in new stack [2009-12-22 11:54:12.7287] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:12.7288] VERBOSE[6187] pbx.c: -- Executing [s@check_record:34] Goto("SIP/90541-00e31d10", "25") in new stack [2009-12-22 11:54:12.7289] VERBOSE[6187] pbx.c: -- Goto (check_record,s,25) [2009-12-22 11:54:12.7290] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7291] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7291] VERBOSE[6187] pbx.c: -- Executing [s@check_record:25] GotoIf("SIP/90541-00e31d10", "0?26:35") in new stack [2009-12-22 11:54:12.7292] VERBOSE[6187] pbx.c: -- Goto (check_record,s,35) [2009-12-22 11:54:12.7293] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7294] VERBOSE[6187] pbx.c: -- Executing [s@check_record:35] NoOp("SIP/90541-00e31d10", "Finish while-if-check_record-40-44") in new stack [2009-12-22 11:54:12.7294] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7295] VERBOSE[6187] pbx.c: -- Executing [s@check_record:36] MYSQL("SIP/90541-00e31d10", "Clear 2") in new stack [2009-12-22 11:54:12.7296] DEBUG[6187] pbx.c: Launching 'MYSQL' [2009-12-22 11:54:12.7296] VERBOSE[6187] pbx.c: -- Executing [s@check_record:37] MYSQL("SIP/90541-00e31d10", "Disconnect 1") in new stack [2009-12-22 11:54:12.7298] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7298] VERBOSE[6187] pbx.c: -- Executing [s@check_record:38] NoOp("SIP/90541-00e31d10", "Finish if-check_record-40") in new stack [2009-12-22 11:54:12.7299] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7300] VERBOSE[6187] pbx.c: -- Executing [s@check_record:39] Set("SIP/90541-00e31d10", "__recording_dial_flags=L(36000000:36000000:15000)") in new stack [2009-12-22 11:54:12.7301] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7302] VERBOSE[6187] pbx.c: -- Executing [s@check_record:40] Set("SIP/90541-00e31d10", "__LIMIT_WARNING_FILE=beeprec") in new stack [2009-12-22 11:54:12.7303] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7303] VERBOSE[6187] pbx.c: -- Executing [s@check_record:41] Set("SIP/90541-00e31d10", "__LIMIT_PLAYAUDIO_CALLEE=yes") in new stack [2009-12-22 11:54:12.7304] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7305] VERBOSE[6187] pbx.c: -- Executing [s@check_record:42] Set("SIP/90541-00e31d10", "__LIMIT_PLAYAUDIO_CALLER=no") in new stack [2009-12-22 11:54:12.7306] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7307] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7308] VERBOSE[6187] pbx.c: -- Executing [s@check_record:43] GotoIf("SIP/90541-00e31d10", "0?44:47") in new stack [2009-12-22 11:54:12.7308] VERBOSE[6187] pbx.c: -- Goto (check_record,s,47) [2009-12-22 11:54:12.7310] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7310] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7311] VERBOSE[6187] pbx.c: -- Executing [s@check_record:47] GotoIf("SIP/90541-00e31d10", "0?48:50") in new stack [2009-12-22 11:54:12.7312] VERBOSE[6187] pbx.c: -- Goto (check_record,s,50) [2009-12-22 11:54:12.7313] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7313] VERBOSE[6187] pbx.c: -- Executing [s@check_record:50] Set("SIP/90541-00e31d10", "__recording_path=2009/12/22") in new stack [2009-12-22 11:54:12.7314] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7315] VERBOSE[6187] pbx.c: -- Executing [s@check_record:51] NoOp("SIP/90541-00e31d10", "Finish if-if-check_record-47-48") in new stack [2009-12-22 11:54:12.7316] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7316] VERBOSE[6187] pbx.c: -- Executing [s@check_record:52] NoOp("SIP/90541-00e31d10", "Finish if-check_record-47") in new stack [2009-12-22 11:54:12.7318] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7319] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7319] VERBOSE[6187] pbx.c: -- Executing [s@check_record:53] GotoIf("SIP/90541-00e31d10", "0?54:55") in new stack [2009-12-22 11:54:12.7320] VERBOSE[6187] pbx.c: -- Goto (check_record,s,55) [2009-12-22 11:54:12.7321] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7322] VERBOSE[6187] pbx.c: -- Executing [s@check_record:55] NoOp("SIP/90541-00e31d10", "Finish if-check_record-49") in new stack [2009-12-22 11:54:12.7323] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7323] VERBOSE[6187] pbx.c: -- Executing [s@check_record:56] Set("SIP/90541-00e31d10", "__SPYGROUP=") in new stack [2009-12-22 11:54:12.7325] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7325] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7326] VERBOSE[6187] pbx.c: -- Executing [s@check_record:57] GotoIf("SIP/90541-00e31d10", "1?58:69") in new stack [2009-12-22 11:54:12.7327] VERBOSE[6187] pbx.c: -- Goto (check_record,s,58) [2009-12-22 11:54:12.7329] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7329] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7330] VERBOSE[6187] pbx.c: -- Executing [s@check_record:58] GotoIf("SIP/90541-00e31d10", "1?59:61") in new stack [2009-12-22 11:54:12.7331] VERBOSE[6187] pbx.c: -- Goto (check_record,s,59) [2009-12-22 11:54:12.7331] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7332] VERBOSE[6187] pbx.c: -- Executing [s@check_record:59] Set("SIP/90541-00e31d10", "__SPYGROUP=1:1") in new stack [2009-12-22 11:54:12.7333] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:12.7333] VERBOSE[6187] pbx.c: -- Executing [s@check_record:60] Goto("SIP/90541-00e31d10", "68") in new stack [2009-12-22 11:54:12.7334] VERBOSE[6187] pbx.c: -- Goto (check_record,s,68) [2009-12-22 11:54:12.7335] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7335] VERBOSE[6187] pbx.c: -- Executing [s@check_record:68] NoOp("SIP/90541-00e31d10", "Finish if-if-check_record-50-51") in new stack [2009-12-22 11:54:12.7336] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7336] VERBOSE[6187] pbx.c: -- Executing [s@check_record:69] NoOp("SIP/90541-00e31d10", "Finish if-check_record-50") in new stack [2009-12-22 11:54:12.7337] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:12.7337] VERBOSE[6187] pbx.c: -- Executing [s@check_record:70] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:12.7341] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7342] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '4' [2009-12-22 11:54:12.7342] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '4' [2009-12-22 11:54:12.7350] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7350] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '4' ORDER BY exten [2009-12-22 11:54:12.7351] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '4' ORDER BY exten [2009-12-22 11:54:12.7401] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7402] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '4' [2009-12-22 11:54:12.7402] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '4' [2009-12-22 11:54:12.7409] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7409] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '4' ORDER BY exten [2009-12-22 11:54:12.7410] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '4' ORDER BY exten [2009-12-22 11:54:12.7429] VERBOSE[6187] pbx_realtime.c: -- Executing GoSub("SIP/90541-00e31d10", "do_record,s,1(1)") [2009-12-22 11:54:12.7430] DEBUG[6187] app_stack.c: Setting 'ARG1' to '1' [2009-12-22 11:54:12.7431] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7432] VERBOSE[6187] pbx.c: -- Executing [s@do_record:1] Set("SIP/90541-00e31d10", "LOCAL(bridge)=1") in new stack [2009-12-22 11:54:12.7433] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7433] VERBOSE[6187] pbx.c: -- Executing [s@do_record:2] Set("SIP/90541-00e31d10", "rec_num=1") in new stack [2009-12-22 11:54:12.7435] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7435] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7436] VERBOSE[6187] pbx.c: -- Executing [s@do_record:3] GotoIf("SIP/90541-00e31d10", "0?4:5") in new stack [2009-12-22 11:54:12.7436] VERBOSE[6187] pbx.c: -- Goto (do_record,s,5) [2009-12-22 11:54:12.7437] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7438] VERBOSE[6187] pbx.c: -- Executing [s@do_record:5] NoOp("SIP/90541-00e31d10", "Finish if-do_record-54") in new stack [2009-12-22 11:54:12.7439] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7439] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7440] VERBOSE[6187] pbx.c: -- Executing [s@do_record:6] GotoIf("SIP/90541-00e31d10", "0?7:8") in new stack [2009-12-22 11:54:12.7441] VERBOSE[6187] pbx.c: -- Goto (do_record,s,8) [2009-12-22 11:54:12.7441] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7442] VERBOSE[6187] pbx.c: -- Executing [s@do_record:8] NoOp("SIP/90541-00e31d10", "Finish if-do_record-55") in new stack [2009-12-22 11:54:12.7443] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7443] VERBOSE[6187] pbx.c: -- Executing [s@do_record:9] Set("SIP/90541-00e31d10", "monitor_flags=") in new stack [2009-12-22 11:54:12.7444] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:12.7445] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7446] VERBOSE[6187] pbx.c: -- Executing [s@do_record:10] GotoIf("SIP/90541-00e31d10", "1?11:12") in new stack [2009-12-22 11:54:12.7446] VERBOSE[6187] pbx.c: -- Goto (do_record,s,11) [2009-12-22 11:54:12.7447] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7447] VERBOSE[6187] pbx.c: -- Executing [s@do_record:11] Set("SIP/90541-00e31d10", "monitor_flags=b") in new stack [2009-12-22 11:54:12.7448] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7448] VERBOSE[6187] pbx.c: -- Executing [s@do_record:12] NoOp("SIP/90541-00e31d10", "Finish if-do_record-56") in new stack [2009-12-22 11:54:12.7450] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:12.7450] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:12.7451] VERBOSE[6187] pbx.c: -- Executing [s@do_record:13] GotoIf("SIP/90541-00e31d10", "0?14:15") in new stack [2009-12-22 11:54:12.7451] VERBOSE[6187] pbx.c: -- Goto (do_record,s,15) [2009-12-22 11:54:12.7452] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:12.7453] VERBOSE[6187] pbx.c: -- Executing [s@do_record:15] NoOp("SIP/90541-00e31d10", "Finish if-do_record-57") in new stack [2009-12-22 11:54:12.7453] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:12.7454] VERBOSE[6187] pbx.c: -- Executing [s@do_record:16] Set("SIP/90541-00e31d10", "MONITOR_FILENAME=/var/spool/asterisk/monitor/2009/12/22/call-1261511650.11325-1") in new stack [2009-12-22 11:54:12.7455] DEBUG[6187] pbx.c: Launching 'StopMonitor' [2009-12-22 11:54:12.7455] VERBOSE[6187] pbx.c: -- Executing [s@do_record:17] StopMonitor("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:12.7456] DEBUG[6187] pbx.c: Launching 'Monitor' [2009-12-22 11:54:12.7457] VERBOSE[6187] pbx.c: -- Executing [s@do_record:18] Monitor("SIP/90541-00e31d10", "sln,/var/spool/asterisk/monitor/2009/12/22/call-1261511650.11325-1,b") in new stack [2009-12-22 11:54:12.7457] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:12.7458] VERBOSE[6187] pbx.c: -- Executing [s@do_record:19] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:12.7461] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7461] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '5' [2009-12-22 11:54:12.7462] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '5' [2009-12-22 11:54:12.7469] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7470] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '5' ORDER BY exten [2009-12-22 11:54:12.7470] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '5' ORDER BY exten [2009-12-22 11:54:12.7521] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7522] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '5' [2009-12-22 11:54:12.7522] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '5' [2009-12-22 11:54:12.7529] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7531] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '5' ORDER BY exten [2009-12-22 11:54:12.7531] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '5' ORDER BY exten [2009-12-22 11:54:12.7553] VERBOSE[6187] pbx_realtime.c: -- Executing Set("SIP/90541-00e31d10", "__DYNAMIC_FEATURES=stop_beeps#") [2009-12-22 11:54:12.7557] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7557] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '6' [2009-12-22 11:54:12.7558] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '6' [2009-12-22 11:54:12.7565] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7565] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '6' ORDER BY exten [2009-12-22 11:54:12.7566] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '6' ORDER BY exten [2009-12-22 11:54:12.7621] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7622] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '6' [2009-12-22 11:54:12.7623] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '6' [2009-12-22 11:54:12.7630] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7630] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '6' ORDER BY exten [2009-12-22 11:54:12.7631] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '6' ORDER BY exten [2009-12-22 11:54:12.7651] VERBOSE[6187] pbx_realtime.c: -- Executing Dial("SIP/90541-00e31d10", "SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)") [2009-12-22 11:54:12.7653] VERBOSE[6187] app_dial.c: -- Limit Data for this call: [2009-12-22 11:54:12.7654] DEBUG[6187] chan_sip.c: Asked to create a SIP channel with formats: 0x4 (ulaw) [2009-12-22 11:54:12.7656] VERBOSE[6187] netsock.c: == Using SIP RTP TOS bits 24 [2009-12-22 11:54:12.7656] VERBOSE[6187] netsock.c: == Using SIP RTP CoS mark 5 [2009-12-22 11:54:12.7658] DEBUG[6187] chan_sip.c: Allocating new SIP dialog for 7f68c4aa31c3f89549541f7f44f8a04b@10.0.0.78 - INVITE (With RTP) [2009-12-22 11:54:12.7661] DEBUG[6187] chan_sip.c: Setting NAT on RTP to Off [2009-12-22 11:54:12.7662] DEBUG[6187] chan_sip.c: Setting NAT on UDPTL to Off [2009-12-22 11:54:12.7666] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7668] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Insert SQL: INSERT INTO channels SET uniqueid='1261511652.11326', started='1261511652', channel='SIP/wci-cc85c630', state='Down', callerid_num='', callerid_name='', accountcode='', context='default-external', exten='s', priority='1', application='', data='' [2009-12-22 11:54:12.7669] DEBUG[6187] res_config_mysql.c: Executing: INSERT INTO channels SET uniqueid='1261511652.11326', started='1261511652', channel='SIP/wci-cc85c630', state='Down', callerid_num='', callerid_name='', accountcode='', context='default-external', exten='s', priority='1', application='', data='' [2009-12-22 11:54:12.7674] DEBUG[6187] res_config_mysql.c: MySQL RealTime: row inserted on table: channels, id: 0 [2009-12-22 11:54:12.7675] DEBUG[6187] channel.c: Not copying variable DIALEDTIME. [2009-12-22 11:54:12.7676] DEBUG[6187] channel.c: Not copying variable ANSWEREDTIME. [2009-12-22 11:54:12.7677] DEBUG[6187] channel.c: Not copying variable DIALEDPEERNAME. [2009-12-22 11:54:12.7678] DEBUG[6187] channel.c: Not copying variable DIALEDPEERNUMBER. [2009-12-22 11:54:12.7679] DEBUG[6187] channel.c: Not copying variable DIALSTATUS. [2009-12-22 11:54:12.7680] DEBUG[6187] channel.c: Copying hard-transferable variable DYNAMIC_FEATURES. [2009-12-22 11:54:12.7680] DEBUG[6187] channel.c: Not copying variable GOSUB_RETVAL. [2009-12-22 11:54:12.7681] DEBUG[6187] channel.c: Not copying variable AUTO_MONITOR. [2009-12-22 11:54:12.7682] DEBUG[6187] channel.c: Not copying variable MONITOR_FILENAME. [2009-12-22 11:54:12.7682] DEBUG[6187] channel.c: Not copying variable monitor_flags. [2009-12-22 11:54:12.7683] DEBUG[6187] channel.c: Not copying variable rec_num. [2009-12-22 11:54:12.7683] DEBUG[6187] channel.c: Copying hard-transferable variable SPYGROUP. [2009-12-22 11:54:12.7684] DEBUG[6187] channel.c: Copying hard-transferable variable recording_path. [2009-12-22 11:54:12.7685] DEBUG[6187] channel.c: Copying hard-transferable variable LIMIT_PLAYAUDIO_CALLER. [2009-12-22 11:54:12.7685] DEBUG[6187] channel.c: Copying hard-transferable variable LIMIT_PLAYAUDIO_CALLEE. [2009-12-22 11:54:12.7686] DEBUG[6187] channel.c: Copying hard-transferable variable LIMIT_WARNING_FILE. [2009-12-22 11:54:12.7687] DEBUG[6187] channel.c: Copying hard-transferable variable recording_dial_flags. [2009-12-22 11:54:12.7687] DEBUG[6187] channel.c: Not copying variable MYSQL_STATUS. [2009-12-22 11:54:12.7688] DEBUG[6187] channel.c: Not copying variable res. [2009-12-22 11:54:12.7688] DEBUG[6187] channel.c: Not copying variable rec_hq. [2009-12-22 11:54:12.7689] DEBUG[6187] channel.c: Not copying variable rec_deny. [2009-12-22 11:54:12.7689] DEBUG[6187] channel.c: Not copying variable rec_ext. [2009-12-22 11:54:12.7690] DEBUG[6187] channel.c: Not copying variable result1. [2009-12-22 11:54:12.7691] DEBUG[6187] channel.c: Not copying variable connid. [2009-12-22 11:54:12.7691] DEBUG[6187] channel.c: Not copying variable recording_or. [2009-12-22 11:54:12.7692] DEBUG[6187] channel.c: Not copying variable recording_source_match. [2009-12-22 11:54:12.7692] DEBUG[6187] channel.c: Not copying variable recording_target_match. [2009-12-22 11:54:12.7693] DEBUG[6187] channel.c: Copying hard-transferable variable recording_hq. [2009-12-22 11:54:12.7693] DEBUG[6187] channel.c: Copying hard-transferable variable recording_deny. [2009-12-22 11:54:12.7694] DEBUG[6187] channel.c: Copying hard-transferable variable target_1_ext. [2009-12-22 11:54:12.7695] DEBUG[6187] channel.c: Copying hard-transferable variable target_1_ext_id. [2009-12-22 11:54:12.7695] DEBUG[6187] channel.c: Copying hard-transferable variable target_1_num. [2009-12-22 11:54:12.7696] DEBUG[6187] channel.c: Copying hard-transferable variable target_1_num_id. [2009-12-22 11:54:12.7696] DEBUG[6187] channel.c: Copying hard-transferable variable target_1_type. [2009-12-22 11:54:12.7697] DEBUG[6187] channel.c: Copying hard-transferable variable xfer_block_started. [2009-12-22 11:54:12.7698] DEBUG[6187] channel.c: Copying hard-transferable variable cdr_block_started. [2009-12-22 11:54:12.7698] DEBUG[6187] channel.c: Not copying variable AGISTATUS. [2009-12-22 11:54:12.7699] DEBUG[6187] channel.c: Copying hard-transferable variable target_ext. [2009-12-22 11:54:12.7700] DEBUG[6187] channel.c: Not copying variable filter_action. [2009-12-22 11:54:12.7701] DEBUG[6187] channel.c: Not copying variable filter_fetch_id. [2009-12-22 11:54:12.7701] DEBUG[6187] channel.c: Not copying variable filter_system_action. [2009-12-22 11:54:12.7702] DEBUG[6187] channel.c: Not copying variable filter_result_id. [2009-12-22 11:54:12.7703] DEBUG[6187] channel.c: Not copying variable filter_conn_id. [2009-12-22 11:54:12.7703] DEBUG[6187] channel.c: Copying hard-transferable variable filter_in_use. [2009-12-22 11:54:12.7704] DEBUG[6187] channel.c: Not copying variable B. [2009-12-22 11:54:12.7705] DEBUG[6187] channel.c: Not copying variable A. [2009-12-22 11:54:12.7706] DEBUG[6187] channel.c: Copying hard-transferable variable target_dpt_id. [2009-12-22 11:54:12.7706] DEBUG[6187] channel.c: Copying hard-transferable variable target_wg_id. [2009-12-22 11:54:12.7707] DEBUG[6187] channel.c: Copying hard-transferable variable target_num. [2009-12-22 11:54:12.7707] DEBUG[6187] channel.c: Not copying variable i. [2009-12-22 11:54:12.7708] DEBUG[6187] channel.c: Not copying variable destination. [2009-12-22 11:54:12.7708] DEBUG[6187] channel.c: Copying hard-transferable variable TRANSFER_CONTEXT. [2009-12-22 11:54:12.7709] DEBUG[6187] channel.c: Copying hard-transferable variable caller. [2009-12-22 11:54:12.7709] DEBUG[6187] channel.c: Copying hard-transferable variable source_dpt_id. [2009-12-22 11:54:12.7710] DEBUG[6187] channel.c: Copying hard-transferable variable source_wg_id. [2009-12-22 11:54:12.7711] DEBUG[6187] channel.c: Copying hard-transferable variable source_num_id. [2009-12-22 11:54:12.7711] DEBUG[6187] channel.c: Copying hard-transferable variable source_num. [2009-12-22 11:54:12.7712] DEBUG[6187] channel.c: Copying hard-transferable variable source_type. [2009-12-22 11:54:12.7712] DEBUG[6187] channel.c: Not copying variable rows. [2009-12-22 11:54:12.7713] DEBUG[6187] channel.c: Not copying variable extension_prefix. [2009-12-22 11:54:12.7713] DEBUG[6187] channel.c: Not copying variable extension_length. [2009-12-22 11:54:12.7714] DEBUG[6187] channel.c: Not copying variable is_ext. [2009-12-22 11:54:12.7714] DEBUG[6187] channel.c: Not copying variable dpt_id. [2009-12-22 11:54:12.7715] DEBUG[6187] channel.c: Not copying variable wg_id. [2009-12-22 11:54:12.7715] DEBUG[6187] channel.c: Not copying variable agent_name. [2009-12-22 11:54:12.7716] DEBUG[6187] channel.c: Not copying variable agent_id. [2009-12-22 11:54:12.7716] DEBUG[6187] channel.c: Not copying variable is_agent. [2009-12-22 11:54:12.7717] DEBUG[6187] channel.c: Copying hard-transferable variable source_ext_id. [2009-12-22 11:54:12.7718] DEBUG[6187] channel.c: Copying hard-transferable variable source_ext. [2009-12-22 11:54:12.7718] DEBUG[6187] channel.c: Not copying variable have_ext. [2009-12-22 11:54:12.7719] DEBUG[6187] channel.c: Not copying variable extension_id. [2009-12-22 11:54:12.7719] DEBUG[6187] channel.c: Copying hard-transferable variable A_agent. [2009-12-22 11:54:12.7720] DEBUG[6187] channel.c: Not copying variable agent_away. [2009-12-22 11:54:12.7720] DEBUG[6187] channel.c: Not copying variable have_mapping. [2009-12-22 11:54:12.7721] DEBUG[6187] channel.c: Not copying variable db_agent. [2009-12-22 11:54:12.7721] DEBUG[6187] channel.c: Copying hard-transferable variable queue_call. [2009-12-22 11:54:12.7722] DEBUG[6187] channel.c: Copying hard-transferable variable A_extension. [2009-12-22 11:54:12.7722] DEBUG[6187] channel.c: Not copying variable initialized. [2009-12-22 11:54:12.7723] DEBUG[6187] channel.c: Copying hard-transferable variable directly_from_queue. [2009-12-22 11:54:12.7724] DEBUG[6187] channel.c: Copying hard-transferable variable call_from_queue. [2009-12-22 11:54:12.7724] DEBUG[6187] channel.c: Copying hard-transferable variable transfer_back. [2009-12-22 11:54:12.7725] DEBUG[6187] channel.c: Copying hard-transferable variable transfer_count. [2009-12-22 11:54:12.7726] DEBUG[6187] channel.c: Copying hard-transferable variable parent_channel. [2009-12-22 11:54:12.7726] DEBUG[6187] channel.c: Copying hard-transferable variable last_call_num. [2009-12-22 11:54:12.7727] DEBUG[6187] channel.c: Not copying variable call_num. [2009-12-22 11:54:12.7727] DEBUG[6187] channel.c: Not copying variable new_call_num. [2009-12-22 11:54:12.7728] DEBUG[6187] channel.c: Not copying variable result2. [2009-12-22 11:54:12.7728] DEBUG[6187] channel.c: Copying hard-transferable variable call_day. [2009-12-22 11:54:12.7729] DEBUG[6187] channel.c: Copying hard-transferable variable call_id. [2009-12-22 11:54:12.7729] DEBUG[6187] channel.c: Not copying variable transfer_to_agent. [2009-12-22 11:54:12.7730] DEBUG[6187] channel.c: Not copying variable SIPCALLID. [2009-12-22 11:54:12.7730] DEBUG[6187] channel.c: Not copying variable SIPDOMAIN. [2009-12-22 11:54:12.7731] DEBUG[6187] channel.c: Not copying variable SIPURI. [2009-12-22 11:54:12.7732] DEBUG[6187] chan_sip.c: Outgoing Call for 13473422089 [2009-12-22 11:54:12.7734] DEBUG[6187] chan_sip.c: ** Our capability: 0xc (ulaw|alaw) Video flag: False Text flag: False [2009-12-22 11:54:12.7735] DEBUG[6187] chan_sip.c: ** Our prefcodec: 0x4 (ulaw) [2009-12-22 11:54:12.7736] DEBUG[6187] chan_sip.c: Initializing initreq for method INVITE - callid 4d54ff7612c7503a5cae9f9948a02c72@207.7.135.103 [2009-12-22 11:54:12.7737] DEBUG[6187] chan_sip.c: Trying to put 'INVITE sip' onto UDP socket destined for 204.11.200.152:5060 [2009-12-22 11:54:12.7738] VERBOSE[6187] app_dial.c: -- Called 13473422089@wci [2009-12-22 11:54:12.7741] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7742] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '-1' [2009-12-22 11:54:12.7742] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = '13473422089' AND context = 'db_trunks' AND priority = '-1' [2009-12-22 11:54:12.7750] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7750] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '-1' ORDER BY exten [2009-12-22 11:54:12.7751] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten LIKE '\\_%' AND context = 'db_trunks' AND priority = '-1' ORDER BY exten [2009-12-22 11:54:12.7791] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:12.7792] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET callerid_num='13473422089', callerid_name='', accountcode='1261511650.11325', context='default-external', exten='13473422089', priority='1', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:12.7792] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET callerid_num='13473422089', callerid_name='', accountcode='1261511650.11325', context='default-external', exten='13473422089', priority='1', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:12.7797] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:19.7616] VERBOSE[6187] app_dial.c: -- SIP/wci-cc85c630 is making progress passing it to SIP/90541-00e31d10 [2009-12-22 11:54:19.7618] DEBUG[6187] chan_sip.c: Setting framing from config on incoming call [2009-12-22 11:54:19.7621] DEBUG[6187] chan_sip.c: ** Our capability: 0x1d0c (ulaw|alaw|g726|g729|ilbc|g722) Video flag: True Text flag: True [2009-12-22 11:54:19.7621] DEBUG[6187] chan_sip.c: ** Our prefcodec: 0x0 (nothing) [2009-12-22 11:54:19.7622] DEBUG[6187] chan_sip.c: Trying to put 'SIP/2.0 18' onto UDP socket destined for 192.168.0.66:5060 [2009-12-22 11:54:19.7710] DEBUG[6187] rtp.c: Ooh, format changed from unknown to ulaw [2009-12-22 11:54:19.7711] DEBUG[6187] rtp.c: Created smoother: format: 4 ms: 20 len: 160 [2009-12-22 11:54:20.0150] DEBUG[6187] rtp.c: Ooh, format changed from unknown to ulaw [2009-12-22 11:54:20.0151] DEBUG[6187] rtp.c: Created smoother: format: 4 ms: 20 len: 160 [2009-12-22 11:54:35.2516] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:35.2518] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='default-external', exten='13473422089', priority='1', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:35.2519] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='default-external', exten='13473422089', priority='1', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:35.2523] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:35.2524] VERBOSE[6187] app_dial.c: -- SIP/wci-cc85c630 answered SIP/90541-00e31d10 [2009-12-22 11:54:35.2526] DEBUG[6187] app_stack.c: Channel SIP/wci-cc85c630 has no datastore, so we're allocating one. [2009-12-22 11:54:35.2527] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2528] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:1] NoOp("SIP/wci-cc85c630", "--(B)--------------------------- out_call_answer()------------------------") in new stack [2009-12-22 11:54:35.2529] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:35.2529] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:2] Gosub("SIP/wci-cc85c630", "read_vars,s,1") in new stack [2009-12-22 11:54:35.2530] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2531] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:1] NoOp("SIP/wci-cc85c630", "-(B)------------------------------------- macro read_vars (SIP/wci-cc85c630) -----------") in new stack [2009-12-22 11:54:35.2532] DEBUG[6187] db.c: Unable to find key '1261511650.11325/transfer_count' in family 'call_globals' [2009-12-22 11:54:35.2533] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/transfer_count not found in database. [2009-12-22 11:54:35.2533] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2534] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:2] Set("SIP/wci-cc85c630", "__transfer_count=") in new stack [2009-12-22 11:54:35.2535] DEBUG[6187] db.c: Unable to find key '1261511650.11325/call_from_queue' in family 'call_globals' [2009-12-22 11:54:35.2536] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/call_from_queue not found in database. [2009-12-22 11:54:35.2537] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2537] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:3] Set("SIP/wci-cc85c630", "__call_from_queue=") in new stack [2009-12-22 11:54:35.2538] DEBUG[6187] db.c: Unable to find key '1261511650.11325/directly_from_queue' in family 'call_globals' [2009-12-22 11:54:35.2539] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/directly_from_queue not found in database. [2009-12-22 11:54:35.2539] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2540] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:4] Set("SIP/wci-cc85c630", "__directly_from_queue=") in new stack [2009-12-22 11:54:35.2541] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_min_duration' in family 'call_globals' [2009-12-22 11:54:35.2541] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_min_duration not found in database. [2009-12-22 11:54:35.2542] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2543] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:5] Set("SIP/wci-cc85c630", "__queue_call_min_duration=") in new stack [2009-12-22 11:54:35.2543] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_transfer_min_duration' in family 'call_globals' [2009-12-22 11:54:35.2544] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_transfer_min_duration not found in database. [2009-12-22 11:54:35.2544] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2545] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:6] Set("SIP/wci-cc85c630", "__queue_transfer_min_duration=") in new stack [2009-12-22 11:54:35.2546] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_counted' in family 'call_globals' [2009-12-22 11:54:35.2546] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_counted not found in database. [2009-12-22 11:54:35.2547] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2548] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:7] Set("SIP/wci-cc85c630", "__queue_call_counted=") in new stack [2009-12-22 11:54:35.2548] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_transfer_counted' in family 'call_globals' [2009-12-22 11:54:35.2549] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_transfer_counted not found in database. [2009-12-22 11:54:35.2550] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2550] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:8] Set("SIP/wci-cc85c630", "__queue_transfer_counted=") in new stack [2009-12-22 11:54:35.2551] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2552] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:9] Set("SIP/wci-cc85c630", "__cdr_block_started=1") in new stack [2009-12-22 11:54:35.2553] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2553] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:10] Set("SIP/wci-cc85c630", "__xfer_block_started=") in new stack [2009-12-22 11:54:35.2554] DEBUG[6187] db.c: Unable to find key '1261511650.11325/business_hours' in family 'call_globals' [2009-12-22 11:54:35.2555] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/business_hours not found in database. [2009-12-22 11:54:35.2555] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2556] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:11] Set("SIP/wci-cc85c630", "__business_hours=") in new stack [2009-12-22 11:54:35.2557] DEBUG[6187] db.c: Unable to find key '1261511650.11325/agent_auto_pause' in family 'call_globals' [2009-12-22 11:54:35.2557] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/agent_auto_pause not found in database. [2009-12-22 11:54:35.2558] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2558] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:12] Set("SIP/wci-cc85c630", "__agent_auto_pause=") in new stack [2009-12-22 11:54:35.2559] DEBUG[6187] db.c: Unable to find key '1261511650.11325/workgroup_auto_pause' in family 'call_globals' [2009-12-22 11:54:35.2560] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/workgroup_auto_pause not found in database. [2009-12-22 11:54:35.2560] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2561] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:13] Set("SIP/wci-cc85c630", "__workgroup_auto_pause=") in new stack [2009-12-22 11:54:35.2562] DEBUG[6187] db.c: Unable to find key '1261511650.11325/recording_notified' in family 'call_globals' [2009-12-22 11:54:35.2563] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/recording_notified not found in database. [2009-12-22 11:54:35.2564] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2564] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:14] Set("SIP/wci-cc85c630", "__recording_notified=") in new stack [2009-12-22 11:54:35.2566] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2566] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:15] Set("SIP/wci-cc85c630", "__caller=22280") in new stack [2009-12-22 11:54:35.2567] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2568] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:16] Set("SIP/wci-cc85c630", "__A_extension=90541") in new stack [2009-12-22 11:54:35.2569] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2570] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:17] Set("SIP/wci-cc85c630", "__A_agent=22280") in new stack [2009-12-22 11:54:35.2571] DEBUG[6187] db.c: Unable to find key '1261511650.11325/B_extension' in family 'call_globals' [2009-12-22 11:54:35.2572] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/B_extension not found in database. [2009-12-22 11:54:35.2572] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2573] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:18] Set("SIP/wci-cc85c630", "__B_extension=") in new stack [2009-12-22 11:54:35.2574] DEBUG[6187] db.c: Unable to find key '1261511650.11325/B_agent' in family 'call_globals' [2009-12-22 11:54:35.2575] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/B_agent not found in database. [2009-12-22 11:54:35.2575] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2576] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:19] Set("SIP/wci-cc85c630", "__B_agent=") in new stack [2009-12-22 11:54:35.2577] DEBUG[6187] db.c: Unable to find key '1261511650.11325/dnis' in family 'call_globals' [2009-12-22 11:54:35.2578] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/dnis not found in database. [2009-12-22 11:54:35.2578] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2579] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:20] Set("SIP/wci-cc85c630", "__dnis=") in new stack [2009-12-22 11:54:35.2580] DEBUG[6187] db.c: Unable to find key '1261511650.11325/dnis_written' in family 'call_globals' [2009-12-22 11:54:35.2580] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/dnis_written not found in database. [2009-12-22 11:54:35.2581] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2581] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:21] Set("SIP/wci-cc85c630", "__dnis_written=") in new stack [2009-12-22 11:54:35.2582] DEBUG[6187] db.c: Unable to find key '1261511650.11325/transfer_back' in family 'call_globals' [2009-12-22 11:54:35.2583] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/transfer_back not found in database. [2009-12-22 11:54:35.2583] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2584] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:22] Set("SIP/wci-cc85c630", "__transfer_back=") in new stack [2009-12-22 11:54:35.2585] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_num' in family 'call_globals' [2009-12-22 11:54:35.2585] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_num not found in database. [2009-12-22 11:54:35.2586] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2587] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:23] Set("SIP/wci-cc85c630", "__queue_call_num=") in new stack [2009-12-22 11:54:35.2587] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2588] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:24] Set("SIP/wci-cc85c630", "__source_type=agent") in new stack [2009-12-22 11:54:35.2589] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2590] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:25] Set("SIP/wci-cc85c630", "__source_num=22280") in new stack [2009-12-22 11:54:35.2591] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2591] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:26] Set("SIP/wci-cc85c630", "__source_num_id=36085") in new stack [2009-12-22 11:54:35.2592] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2593] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:27] Set("SIP/wci-cc85c630", "__source_ext=90541") in new stack [2009-12-22 11:54:35.2594] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2594] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:28] Set("SIP/wci-cc85c630", "__source_ext_id=36189") in new stack [2009-12-22 11:54:35.2595] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2596] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:29] Set("SIP/wci-cc85c630", "__source_wg_id=1") in new stack [2009-12-22 11:54:35.2597] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2597] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:30] Set("SIP/wci-cc85c630", "__source_dpt_id=1") in new stack [2009-12-22 11:54:35.2598] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_type' in family 'call_globals' [2009-12-22 11:54:35.2599] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_type not found in database. [2009-12-22 11:54:35.2599] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2600] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:31] Set("SIP/wci-cc85c630", "__middle_type=") in new stack [2009-12-22 11:54:35.2601] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_num' in family 'call_globals' [2009-12-22 11:54:35.2601] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_num not found in database. [2009-12-22 11:54:35.2602] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2603] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:32] Set("SIP/wci-cc85c630", "__middle_num=") in new stack [2009-12-22 11:54:35.2604] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_num_id' in family 'call_globals' [2009-12-22 11:54:35.2604] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_num_id not found in database. [2009-12-22 11:54:35.2605] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2605] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:33] Set("SIP/wci-cc85c630", "__middle_num_id=") in new stack [2009-12-22 11:54:35.2606] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_ext' in family 'call_globals' [2009-12-22 11:54:35.2607] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_ext not found in database. [2009-12-22 11:54:35.2607] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2608] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:34] Set("SIP/wci-cc85c630", "__middle_ext=") in new stack [2009-12-22 11:54:35.2609] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_ext_id' in family 'call_globals' [2009-12-22 11:54:35.2609] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_ext_id not found in database. [2009-12-22 11:54:35.2610] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2610] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:35] Set("SIP/wci-cc85c630", "__middle_ext_id=") in new stack [2009-12-22 11:54:35.2611] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_wg_id' in family 'call_globals' [2009-12-22 11:54:35.2612] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_wg_id not found in database. [2009-12-22 11:54:35.2612] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2613] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:36] Set("SIP/wci-cc85c630", "__middle_wg_id=") in new stack [2009-12-22 11:54:35.2614] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_dpt_id' in family 'call_globals' [2009-12-22 11:54:35.2614] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_dpt_id not found in database. [2009-12-22 11:54:35.2615] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2615] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:37] Set("SIP/wci-cc85c630", "__middle_dpt_id=") in new stack [2009-12-22 11:54:35.2616] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_type' in family 'call_globals' [2009-12-22 11:54:35.2617] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_type not found in database. [2009-12-22 11:54:35.2618] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2618] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:38] Set("SIP/wci-cc85c630", "__target_type=") in new stack [2009-12-22 11:54:35.2619] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2620] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:39] Set("SIP/wci-cc85c630", "__target_num=3473422089") in new stack [2009-12-22 11:54:35.2621] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_num_id' in family 'call_globals' [2009-12-22 11:54:35.2621] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_num_id not found in database. [2009-12-22 11:54:35.2622] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2622] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:40] Set("SIP/wci-cc85c630", "__target_num_id=") in new stack [2009-12-22 11:54:35.2623] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2624] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:41] Set("SIP/wci-cc85c630", "__target_ext=8663491096") in new stack [2009-12-22 11:54:35.2625] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_ext_id' in family 'call_globals' [2009-12-22 11:54:35.2625] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_ext_id not found in database. [2009-12-22 11:54:35.2626] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2627] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:42] Set("SIP/wci-cc85c630", "__target_ext_id=") in new stack [2009-12-22 11:54:35.2627] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2628] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:43] Set("SIP/wci-cc85c630", "__target_wg_id=1") in new stack [2009-12-22 11:54:35.2629] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2630] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:44] Set("SIP/wci-cc85c630", "__target_dpt_id=1") in new stack [2009-12-22 11:54:35.2631] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:35.2631] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:35.2632] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:45] GotoIf("SIP/wci-cc85c630", "0?46:61") in new stack [2009-12-22 11:54:35.2633] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,61) [2009-12-22 11:54:35.2633] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2634] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:61] NoOp("SIP/wci-cc85c630", "Finish if-read_vars-4") in new stack [2009-12-22 11:54:35.2635] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:35.2636] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:35.2636] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:62] GotoIf("SIP/wci-cc85c630", "1?63:64") in new stack [2009-12-22 11:54:35.2637] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,63) [2009-12-22 11:54:35.2638] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2638] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:63] Set("SIP/wci-cc85c630", "__transfer_count=0") in new stack [2009-12-22 11:54:35.2639] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2640] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:64] NoOp("SIP/wci-cc85c630", "Finish if-read_vars-7") in new stack [2009-12-22 11:54:35.2641] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:35.2642] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:35.2642] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:65] GotoIf("SIP/wci-cc85c630", "1?66:67") in new stack [2009-12-22 11:54:35.2643] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,66) [2009-12-22 11:54:35.2644] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2645] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:66] Set("SIP/wci-cc85c630", "__transfer_back=0") in new stack [2009-12-22 11:54:35.2645] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2646] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:67] NoOp("SIP/wci-cc85c630", "Finish if-read_vars-8") in new stack [2009-12-22 11:54:35.2647] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:35.2647] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:35.2648] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:68] GotoIf("SIP/wci-cc85c630", "1?69:70") in new stack [2009-12-22 11:54:35.2649] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,69) [2009-12-22 11:54:35.2649] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2650] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:69] Set("SIP/wci-cc85c630", "__call_from_queue=0") in new stack [2009-12-22 11:54:35.2650] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2651] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:70] NoOp("SIP/wci-cc85c630", "Finish if-read_vars-9") in new stack [2009-12-22 11:54:35.2652] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:35.2653] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:35.2653] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:71] GotoIf("SIP/wci-cc85c630", "1?72:73") in new stack [2009-12-22 11:54:35.2654] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,72) [2009-12-22 11:54:35.2654] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2655] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:72] Set("SIP/wci-cc85c630", "__directly_from_queue=0") in new stack [2009-12-22 11:54:35.2656] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2656] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:73] NoOp("SIP/wci-cc85c630", "Finish if-read_vars-10") in new stack [2009-12-22 11:54:35.2657] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2657] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:74] NoOp("SIP/wci-cc85c630", "-(E)------------------------------------- macro read_vars -----------") in new stack [2009-12-22 11:54:35.2658] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:35.2659] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:75] Return("SIP/wci-cc85c630", "") in new stack [2009-12-22 11:54:35.2659] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2660] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:3] Set("SIP/wci-cc85c630", "__target_1_disposition=ANSWER") in new stack [2009-12-22 11:54:35.2661] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:35.2661] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:4] Set("SIP/wci-cc85c630", "DB(call_globals/1261511650.11325/target_1_disposition)=ANSWER") in new stack [2009-12-22 11:54:35.2662] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2663] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:5] NoOp("SIP/wci-cc85c630", "--(E)--------------------------- out_call_answer()------------------------") in new stack [2009-12-22 11:54:35.2664] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:35.2665] VERBOSE[6187] pbx.c: -- Executing [s@out_call_answer:6] Return("SIP/wci-cc85c630", "") in new stack [2009-12-22 11:54:35.2665] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:35.2666] VERBOSE[6187] pbx.c: -- Executing [s@app_dial_gosub_virtual_context:1] NoOp("SIP/wci-cc85c630", "") in new stack [2009-12-22 11:54:35.2667] VERBOSE[6187] pbx.c: -- Auto fallthrough, channel 'SIP/wci-cc85c630' status is 'UNKNOWN' [2009-12-22 11:54:35.2667] DEBUG[6187] app_dial.c: Gosub exited with status 0 [2009-12-22 11:54:35.2719] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:35.2721] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:35.2721] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:35.2726] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:35.2727] DEBUG[6187] chan_sip.c: SIP answering channel: SIP/90541-00e31d10 [2009-12-22 11:54:35.2728] DEBUG[6187] chan_sip.c: Setting framing from config on incoming call [2009-12-22 11:54:35.2730] DEBUG[6187] chan_sip.c: ** Our capability: 0x1d0c (ulaw|alaw|g726|g729|ilbc|g722) Video flag: True Text flag: True [2009-12-22 11:54:35.2731] DEBUG[6187] chan_sip.c: ** Our prefcodec: 0x0 (nothing) [2009-12-22 11:54:35.2733] DEBUG[6187] chan_sip.c: Trying to put 'SIP/2.0 20' onto UDP socket destined for 192.168.0.66:5060 [2009-12-22 11:54:35.2737] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:35.2738] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET bridgedto='1261511652.11326', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:35.2739] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET bridgedto='1261511652.11326', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:35.2742] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:35.2744] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:35.2745] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET bridgedto='1261511650.11325', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:35.2745] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET bridgedto='1261511650.11325', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:35.2750] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:38.0874] WARNING[6187] channel.c: jpeeler: 0x41d0f940 frame datalen = 0 subclass = 16 data.ptr = (nil) reading '(null)' [2009-12-22 11:54:38.0883] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:38.0884] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET hold='1' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:38.0885] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET hold='1' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:38.0891] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:38.0894] VERBOSE[6187] res_musiconhold.c: -- Started music on hold, class 'default', on SIP/wci-cc85c630 [2009-12-22 11:54:38.0895] DEBUG[6187] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2009-12-22 11:54:38.0919] DEBUG[6187] channel.c: Generator got voice, switching to phase locked mode [2009-12-22 11:54:38.0920] DEBUG[6187] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2009-12-22 11:54:38.0928] DEBUG[6187] res_musiconhold.c: SIP/wci-cc85c630 Opened file 0 '/var/lib/asterisk/mohmp3/readytogopmoh_8khz' [2009-12-22 11:54:50.2693] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:50.2694] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:50.2695] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET state='Up', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:50.2699] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 0 rows on table: channels [2009-12-22 11:54:50.2701] VERBOSE[6187] res_musiconhold.c: -- Stopped music on hold on SIP/wci-cc85c630 [2009-12-22 11:54:50.2701] DEBUG[6187] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2009-12-22 11:54:50.2708] DEBUG[6187] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2009-12-22 11:54:50.2709] VERBOSE[6187] file.c: -- Playing 'beeprec.ulaw' (language 'en') [2009-12-22 11:54:50.4690] DEBUG[6187] channel.c: Scheduling timer at (444 requested / 444 actual) timer ticks per second [2009-12-22 11:54:50.4730] DEBUG[6187] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2009-12-22 11:54:50.4731] DEBUG[6187] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2009-12-22 11:54:50.4749] WARNING[6187] frame.c: jpeeler: frametype=4 data.uint32 set to 0x16068a8 3490098504 and out 0x2aaad0354d58 3490098504 autoservice.c:307 ast_autoservice_stop [2009-12-22 11:54:50.4750] WARNING[6187] channel.c: jpeeler: 0x41d0f940 inserting frame 0x2aaad0354d28 into frame list with datalen 0 and data at 0x2aaad0354d58...[2009-12-22 11:54:50.4751] WARNING[6187] channel.c: jpeeler: with data 3490098504 [2009-12-22 11:54:50.4751] WARNING[6187] channel.c: jpeeler: new frames count 1 [2009-12-22 11:54:50.4753] WARNING[6187] channel.c: Found frame with datalen=0 but initialized data pointer: [2009-12-22 11:54:50.4754] VERBOSE[6187] frame.c: !! [ TYPE: Control (4) SUBCLASS: Unhold (17) ] [SIP/90541-00e31d10] [src: process_sdp chan_sip.c:7805] [2009-12-22 11:54:50.4755] WARNING[6187] channel.c: jpeeler: 0x41d0f940 frame datalen = 0 subclass = 17 data.ptr = (nil) reading '(null)' [2009-12-22 11:54:50.4758] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:50.4759] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET hold='0' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:50.4759] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET hold='0' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:50.4764] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:52.2339] DEBUG[6187] channel.c: Didn't get a frame from channel: SIP/90541-00e31d10 [2009-12-22 11:54:52.2340] DEBUG[6187] channel.c: Bridge stops bridging channels SIP/90541-00e31d10 and SIP/wci-cc85c630 [2009-12-22 11:54:52.2343] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2344] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET bridgedto='', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:52.2345] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET bridgedto='', accountcode='1261511650.11325', context='db_trunks', exten='13473422089', priority='6', application='Dial', data='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)' WHERE uniqueid='1261511650.11325' [2009-12-22 11:54:52.2350] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:52.2352] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2353] DEBUG[6187] res_config_mysql.c: Update SQL: UPDATE channels SET bridgedto='', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:52.2353] DEBUG[6187] res_config_mysql.c: Executing: UPDATE channels SET bridgedto='', accountcode='1261511650.11325', context='app_dial_gosub_virtual_context', exten='s', priority='2', application='AppDial', data='(Outgoing Line)' WHERE uniqueid='1261511652.11326' [2009-12-22 11:54:52.2357] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Updated 1 rows on table: channels [2009-12-22 11:54:52.2361] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2364] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Insert SQL: INSERT INTO cdr_post SET start='2009-12-22 11:54:10', answer='2009-12-22 11:54:35', end='2009-12-22 11:54:52', clid='\"Viktorija Zelenkevica\" <22280>', src='22280', dst='13473422089', dcontext='db_trunks', channel='SIP/90541-00e31d10', dstchannel='SIP/wci-cc85c630', lastapp='Dial', lastdata='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)', duration='42', billsec='17', disposition='ANSWERED', amaflags='3', accountcode='1261511650.11325', uniqueid='1261511650.11325', userfield='#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189#s_wg=1#s_dpt=1', e_call_id='1261511650.11325', e_call_num='1' [2009-12-22 11:54:52.2365] DEBUG[6187] res_config_mysql.c: Executing: INSERT INTO cdr_post SET start='2009-12-22 11:54:10', answer='2009-12-22 11:54:35', end='2009-12-22 11:54:52', clid='\"Viktorija Zelenkevica\" <22280>', src='22280', dst='13473422089', dcontext='db_trunks', channel='SIP/90541-00e31d10', dstchannel='SIP/wci-cc85c630', lastapp='Dial', lastdata='SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)', duration='42', billsec='17', disposition='ANSWERED', amaflags='3', accountcode='1261511650.11325', uniqueid='1261511650.11325', userfield='#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189#s_wg=1#s_dpt=1', e_call_id='1261511650.11325', e_call_num='1' [2009-12-22 11:54:52.2371] DEBUG[6187] res_config_mysql.c: MySQL RealTime: row inserted on table: cdr_post, id: 9316868 [2009-12-22 11:54:52.2374] DEBUG[6187] cdr_addon_mysql.c: Inserting a CDR record. [2009-12-22 11:54:52.2375] DEBUG[6187] cdr_addon_mysql.c: SQL command as follows: INSERT INTO cdr_post_old (start,answer,end,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,e_call_id,e_call_num) VALUES ('2009-12-22 11:54:10','2009-12-22 11:54:35','2009-12-22 11:54:52','22280','13473422089','db_trunks','SIP/90541-00e31d10','SIP/wci-cc85c630','Dial','SIP/13473422089@wci,1800,gU(out_call_answer)L(36000000:36000000:15000)','42','17','ANSWERED','3','1261511650.11325','1261511650.11325','#call_id=1261511650.11325-1#trunk=5#t_type=trunk#t_num=3473422089#t_num_id=5#t_ext=8663491096#t_wg=1#t_dpt=1#s_type=agent#s_num=22280#s_id=36085#s_ext=90541#s_ext_id=36189#s_wg=1#s_dpt=1','1261511650.11325','1') [2009-12-22 11:54:52.2380] DEBUG[6187] channel.c: Hanging up channel 'SIP/wci-cc85c630' [2009-12-22 11:54:52.2381] DEBUG[6187] chan_sip.c: Hangup call SIP/wci-cc85c630, SIP callid 4d54ff7612c7503a5cae9f9948a02c72@207.7.135.103 [2009-12-22 11:54:52.2384] DEBUG[6187] chan_sip.c: Trying to put 'BYE sip:13' onto UDP socket destined for 204.11.200.152:5060 [2009-12-22 11:54:52.2386] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2387] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Delete SQL: DELETE FROM channels WHERE uniqueid = '1261511652.11326' [2009-12-22 11:54:52.2388] DEBUG[6187] res_config_mysql.c: Executing: DELETE FROM channels WHERE uniqueid = '1261511652.11326' [2009-12-22 11:54:52.2391] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Deleted 1 rows on table: channels [2009-12-22 11:54:52.2397] DEBUG[6187] rtp.c: Channel '' has no RTP, not doing anything [2009-12-22 11:54:52.2398] DEBUG[6187] app_dial.c: Exiting with DIALSTATUS=ANSWER. [2009-12-22 11:54:52.2399] DEBUG[6187] pbx.c: Spawn extension (db_trunks,13473422089,6) exited non-zero on 'SIP/90541-00e31d10' [2009-12-22 11:54:52.2400] VERBOSE[6187] pbx.c: == Spawn extension (db_trunks, 13473422089, 6) exited non-zero on 'SIP/90541-00e31d10' [2009-12-22 11:54:52.2400] DEBUG[6187] channel.c: Soft-Hanging up channel 'SIP/90541-00e31d10' [2009-12-22 11:54:52.2403] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2404] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2404] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2441] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2442] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2443] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2470] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2471] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2472] DEBUG[6187] res_config_mysql.c: Executing: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_trunks' AND priority = '1' [2009-12-22 11:54:52.2476] VERBOSE[6187] pbx_realtime.c: -- Executing GoTo("SIP/90541-00e31d10", "hangup_callback,h,1") [2009-12-22 11:54:52.2477] VERBOSE[6187] pbx.c: -- Goto (hangup_callback,h,1) [2009-12-22 11:54:52.2478] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2478] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:1] NoOp("SIP/90541-00e31d10", "-(B)----------------------- context hangup_callback h --------------------------") in new stack [2009-12-22 11:54:52.2479] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:52.2480] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:2] Gosub("SIP/90541-00e31d10", "agent_call_end,s,1") in new stack [2009-12-22 11:54:52.2481] DEBUG[6187] pbx.c: Launching 'Gosub' [2009-12-22 11:54:52.2482] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:1] Gosub("SIP/90541-00e31d10", "read_vars,s,1") in new stack [2009-12-22 11:54:52.2482] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2483] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:1] NoOp("SIP/90541-00e31d10", "-(B)------------------------------------- macro read_vars (SIP/90541-00e31d10) -----------") in new stack [2009-12-22 11:54:52.2485] DEBUG[6187] db.c: Unable to find key '1261511650.11325/transfer_count' in family 'call_globals' [2009-12-22 11:54:52.2485] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/transfer_count not found in database. [2009-12-22 11:54:52.2486] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2486] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:2] Set("SIP/90541-00e31d10", "__transfer_count=") in new stack [2009-12-22 11:54:52.2487] DEBUG[6187] db.c: Unable to find key '1261511650.11325/call_from_queue' in family 'call_globals' [2009-12-22 11:54:52.2488] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/call_from_queue not found in database. [2009-12-22 11:54:52.2488] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2489] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:3] Set("SIP/90541-00e31d10", "__call_from_queue=") in new stack [2009-12-22 11:54:52.2491] DEBUG[6187] db.c: Unable to find key '1261511650.11325/directly_from_queue' in family 'call_globals' [2009-12-22 11:54:52.2491] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/directly_from_queue not found in database. [2009-12-22 11:54:52.2492] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2493] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:4] Set("SIP/90541-00e31d10", "__directly_from_queue=") in new stack [2009-12-22 11:54:52.2494] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_min_duration' in family 'call_globals' [2009-12-22 11:54:52.2494] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_min_duration not found in database. [2009-12-22 11:54:52.2495] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2495] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:5] Set("SIP/90541-00e31d10", "__queue_call_min_duration=") in new stack [2009-12-22 11:54:52.2496] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_transfer_min_duration' in family 'call_globals' [2009-12-22 11:54:52.2497] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_transfer_min_duration not found in database. [2009-12-22 11:54:52.2497] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2498] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:6] Set("SIP/90541-00e31d10", "__queue_transfer_min_duration=") in new stack [2009-12-22 11:54:52.2499] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_counted' in family 'call_globals' [2009-12-22 11:54:52.2499] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_counted not found in database. [2009-12-22 11:54:52.2500] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2501] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:7] Set("SIP/90541-00e31d10", "__queue_call_counted=") in new stack [2009-12-22 11:54:52.2501] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_transfer_counted' in family 'call_globals' [2009-12-22 11:54:52.2502] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_transfer_counted not found in database. [2009-12-22 11:54:52.2502] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2503] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:8] Set("SIP/90541-00e31d10", "__queue_transfer_counted=") in new stack [2009-12-22 11:54:52.2504] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2505] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:9] Set("SIP/90541-00e31d10", "__cdr_block_started=1") in new stack [2009-12-22 11:54:52.2506] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2507] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:10] Set("SIP/90541-00e31d10", "__xfer_block_started=") in new stack [2009-12-22 11:54:52.2508] DEBUG[6187] db.c: Unable to find key '1261511650.11325/business_hours' in family 'call_globals' [2009-12-22 11:54:52.2508] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/business_hours not found in database. [2009-12-22 11:54:52.2509] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2509] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:11] Set("SIP/90541-00e31d10", "__business_hours=") in new stack [2009-12-22 11:54:52.2510] DEBUG[6187] db.c: Unable to find key '1261511650.11325/agent_auto_pause' in family 'call_globals' [2009-12-22 11:54:52.2511] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/agent_auto_pause not found in database. [2009-12-22 11:54:52.2511] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2512] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:12] Set("SIP/90541-00e31d10", "__agent_auto_pause=") in new stack [2009-12-22 11:54:52.2513] DEBUG[6187] db.c: Unable to find key '1261511650.11325/workgroup_auto_pause' in family 'call_globals' [2009-12-22 11:54:52.2513] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/workgroup_auto_pause not found in database. [2009-12-22 11:54:52.2514] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2514] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:13] Set("SIP/90541-00e31d10", "__workgroup_auto_pause=") in new stack [2009-12-22 11:54:52.2516] DEBUG[6187] db.c: Unable to find key '1261511650.11325/recording_notified' in family 'call_globals' [2009-12-22 11:54:52.2516] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/recording_notified not found in database. [2009-12-22 11:54:52.2517] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2517] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:14] Set("SIP/90541-00e31d10", "__recording_notified=") in new stack [2009-12-22 11:54:52.2519] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2519] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:15] Set("SIP/90541-00e31d10", "__caller=22280") in new stack [2009-12-22 11:54:52.2520] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2521] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:16] Set("SIP/90541-00e31d10", "__A_extension=90541") in new stack [2009-12-22 11:54:52.2522] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2523] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:17] Set("SIP/90541-00e31d10", "__A_agent=22280") in new stack [2009-12-22 11:54:52.2524] DEBUG[6187] db.c: Unable to find key '1261511650.11325/B_extension' in family 'call_globals' [2009-12-22 11:54:52.2525] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/B_extension not found in database. [2009-12-22 11:54:52.2526] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2526] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:18] Set("SIP/90541-00e31d10", "__B_extension=") in new stack [2009-12-22 11:54:52.2527] DEBUG[6187] db.c: Unable to find key '1261511650.11325/B_agent' in family 'call_globals' [2009-12-22 11:54:52.2528] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/B_agent not found in database. [2009-12-22 11:54:52.2528] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2529] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:19] Set("SIP/90541-00e31d10", "__B_agent=") in new stack [2009-12-22 11:54:52.2530] DEBUG[6187] db.c: Unable to find key '1261511650.11325/dnis' in family 'call_globals' [2009-12-22 11:54:52.2530] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/dnis not found in database. [2009-12-22 11:54:52.2531] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2531] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:20] Set("SIP/90541-00e31d10", "__dnis=") in new stack [2009-12-22 11:54:52.2532] DEBUG[6187] db.c: Unable to find key '1261511650.11325/dnis_written' in family 'call_globals' [2009-12-22 11:54:52.2533] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/dnis_written not found in database. [2009-12-22 11:54:52.2533] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2534] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:21] Set("SIP/90541-00e31d10", "__dnis_written=") in new stack [2009-12-22 11:54:52.2535] DEBUG[6187] db.c: Unable to find key '1261511650.11325/transfer_back' in family 'call_globals' [2009-12-22 11:54:52.2536] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/transfer_back not found in database. [2009-12-22 11:54:52.2536] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2537] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:22] Set("SIP/90541-00e31d10", "__transfer_back=") in new stack [2009-12-22 11:54:52.2538] DEBUG[6187] db.c: Unable to find key '1261511650.11325/queue_call_num' in family 'call_globals' [2009-12-22 11:54:52.2538] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/queue_call_num not found in database. [2009-12-22 11:54:52.2539] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2539] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:23] Set("SIP/90541-00e31d10", "__queue_call_num=") in new stack [2009-12-22 11:54:52.2541] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2541] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:24] Set("SIP/90541-00e31d10", "__source_type=agent") in new stack [2009-12-22 11:54:52.2542] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2543] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:25] Set("SIP/90541-00e31d10", "__source_num=22280") in new stack [2009-12-22 11:54:52.2544] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2545] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:26] Set("SIP/90541-00e31d10", "__source_num_id=36085") in new stack [2009-12-22 11:54:52.2546] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2547] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:27] Set("SIP/90541-00e31d10", "__source_ext=90541") in new stack [2009-12-22 11:54:52.2548] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2548] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:28] Set("SIP/90541-00e31d10", "__source_ext_id=36189") in new stack [2009-12-22 11:54:52.2550] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2550] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:29] Set("SIP/90541-00e31d10", "__source_wg_id=1") in new stack [2009-12-22 11:54:52.2551] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2552] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:30] Set("SIP/90541-00e31d10", "__source_dpt_id=1") in new stack [2009-12-22 11:54:52.2553] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_type' in family 'call_globals' [2009-12-22 11:54:52.2554] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_type not found in database. [2009-12-22 11:54:52.2554] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2555] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:31] Set("SIP/90541-00e31d10", "__middle_type=") in new stack [2009-12-22 11:54:52.2556] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_num' in family 'call_globals' [2009-12-22 11:54:52.2556] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_num not found in database. [2009-12-22 11:54:52.2557] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2558] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:32] Set("SIP/90541-00e31d10", "__middle_num=") in new stack [2009-12-22 11:54:52.2559] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_num_id' in family 'call_globals' [2009-12-22 11:54:52.2559] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_num_id not found in database. [2009-12-22 11:54:52.2560] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2560] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:33] Set("SIP/90541-00e31d10", "__middle_num_id=") in new stack [2009-12-22 11:54:52.2562] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_ext' in family 'call_globals' [2009-12-22 11:54:52.2562] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_ext not found in database. [2009-12-22 11:54:52.2563] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2564] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:34] Set("SIP/90541-00e31d10", "__middle_ext=") in new stack [2009-12-22 11:54:52.2565] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_ext_id' in family 'call_globals' [2009-12-22 11:54:52.2565] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_ext_id not found in database. [2009-12-22 11:54:52.2566] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2566] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:35] Set("SIP/90541-00e31d10", "__middle_ext_id=") in new stack [2009-12-22 11:54:52.2567] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_wg_id' in family 'call_globals' [2009-12-22 11:54:52.2568] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_wg_id not found in database. [2009-12-22 11:54:52.2568] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2569] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:36] Set("SIP/90541-00e31d10", "__middle_wg_id=") in new stack [2009-12-22 11:54:52.2570] DEBUG[6187] db.c: Unable to find key '1261511650.11325/middle_dpt_id' in family 'call_globals' [2009-12-22 11:54:52.2570] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/middle_dpt_id not found in database. [2009-12-22 11:54:52.2571] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2571] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:37] Set("SIP/90541-00e31d10", "__middle_dpt_id=") in new stack [2009-12-22 11:54:52.2572] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_type' in family 'call_globals' [2009-12-22 11:54:52.2573] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_type not found in database. [2009-12-22 11:54:52.2573] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2574] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:38] Set("SIP/90541-00e31d10", "__target_type=") in new stack [2009-12-22 11:54:52.2575] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2576] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:39] Set("SIP/90541-00e31d10", "__target_num=3473422089") in new stack [2009-12-22 11:54:52.2576] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_num_id' in family 'call_globals' [2009-12-22 11:54:52.2577] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_num_id not found in database. [2009-12-22 11:54:52.2577] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2578] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:40] Set("SIP/90541-00e31d10", "__target_num_id=") in new stack [2009-12-22 11:54:52.2579] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2580] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:41] Set("SIP/90541-00e31d10", "__target_ext=8663491096") in new stack [2009-12-22 11:54:52.2581] DEBUG[6187] db.c: Unable to find key '1261511650.11325/target_ext_id' in family 'call_globals' [2009-12-22 11:54:52.2581] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/target_ext_id not found in database. [2009-12-22 11:54:52.2582] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2582] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:42] Set("SIP/90541-00e31d10", "__target_ext_id=") in new stack [2009-12-22 11:54:52.2583] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2584] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:43] Set("SIP/90541-00e31d10", "__target_wg_id=1") in new stack [2009-12-22 11:54:52.2586] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2586] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:44] Set("SIP/90541-00e31d10", "__target_dpt_id=1") in new stack [2009-12-22 11:54:52.2588] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2588] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2589] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:45] GotoIf("SIP/90541-00e31d10", "1?46:61") in new stack [2009-12-22 11:54:52.2590] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,46) [2009-12-22 11:54:52.2590] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2591] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2591] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:46] Set("SIP/90541-00e31d10", "i=1") in new stack [2009-12-22 11:54:52.2593] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2594] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2594] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:47] GotoIf("SIP/90541-00e31d10", "1?48:60") in new stack [2009-12-22 11:54:52.2595] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,48) [2009-12-22 11:54:52.2596] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2596] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:48] Set("SIP/90541-00e31d10", "__target_1_type=") in new stack [2009-12-22 11:54:52.2598] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2599] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:49] Set("SIP/90541-00e31d10", "__target_1_num=3473422089") in new stack [2009-12-22 11:54:52.2600] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2601] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:50] Set("SIP/90541-00e31d10", "__target_1_num_id=") in new stack [2009-12-22 11:54:52.2602] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2603] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:51] Set("SIP/90541-00e31d10", "__target_1_ext=8663491096") in new stack [2009-12-22 11:54:52.2604] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2605] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:52] Set("SIP/90541-00e31d10", "__target_1_ext_id=") in new stack [2009-12-22 11:54:52.2606] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2607] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:53] Set("SIP/90541-00e31d10", "__target_1_disposition=ANSWER") in new stack [2009-12-22 11:54:52.2608] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:52.2609] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2609] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:54] GotoIf("SIP/90541-00e31d10", "0?55:57") in new stack [2009-12-22 11:54:52.2610] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,57) [2009-12-22 11:54:52.2611] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2611] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:57] NoOp("SIP/90541-00e31d10", "Finish if-for-if-read_vars-4-5-6") in new stack [2009-12-22 11:54:52.2612] DEBUG[6187] pbx.c: Expression result is '2' [2009-12-22 11:54:52.2613] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2613] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:58] Set("SIP/90541-00e31d10", "i=2") in new stack [2009-12-22 11:54:52.2614] DEBUG[6187] pbx.c: Launching 'Goto' [2009-12-22 11:54:52.2615] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:59] Goto("SIP/90541-00e31d10", "47") in new stack [2009-12-22 11:54:52.2615] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,47) [2009-12-22 11:54:52.2616] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:52.2617] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2617] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:47] GotoIf("SIP/90541-00e31d10", "0?48:60") in new stack [2009-12-22 11:54:52.2618] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,60) [2009-12-22 11:54:52.2619] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2620] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:60] NoOp("SIP/90541-00e31d10", "Finish for-if-read_vars-4-5") in new stack [2009-12-22 11:54:52.2620] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2621] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:61] NoOp("SIP/90541-00e31d10", "Finish if-read_vars-4") in new stack [2009-12-22 11:54:52.2622] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2622] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2623] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:62] GotoIf("SIP/90541-00e31d10", "1?63:64") in new stack [2009-12-22 11:54:52.2623] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,63) [2009-12-22 11:54:52.2624] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2624] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:63] Set("SIP/90541-00e31d10", "__transfer_count=0") in new stack [2009-12-22 11:54:52.2625] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2626] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:64] NoOp("SIP/90541-00e31d10", "Finish if-read_vars-7") in new stack [2009-12-22 11:54:52.2627] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2628] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2628] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:65] GotoIf("SIP/90541-00e31d10", "1?66:67") in new stack [2009-12-22 11:54:52.2629] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,66) [2009-12-22 11:54:52.2630] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2630] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:66] Set("SIP/90541-00e31d10", "__transfer_back=0") in new stack [2009-12-22 11:54:52.2631] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2632] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:67] NoOp("SIP/90541-00e31d10", "Finish if-read_vars-8") in new stack [2009-12-22 11:54:52.2633] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2633] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2634] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:68] GotoIf("SIP/90541-00e31d10", "1?69:70") in new stack [2009-12-22 11:54:52.2635] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,69) [2009-12-22 11:54:52.2635] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2636] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:69] Set("SIP/90541-00e31d10", "__call_from_queue=0") in new stack [2009-12-22 11:54:52.2637] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2637] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:70] NoOp("SIP/90541-00e31d10", "Finish if-read_vars-9") in new stack [2009-12-22 11:54:52.2638] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2639] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2640] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:71] GotoIf("SIP/90541-00e31d10", "1?72:73") in new stack [2009-12-22 11:54:52.2640] VERBOSE[6187] pbx.c: -- Goto (read_vars,s,72) [2009-12-22 11:54:52.2641] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2642] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:72] Set("SIP/90541-00e31d10", "__directly_from_queue=0") in new stack [2009-12-22 11:54:52.2642] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2643] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:73] NoOp("SIP/90541-00e31d10", "Finish if-read_vars-10") in new stack [2009-12-22 11:54:52.2644] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2645] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:74] NoOp("SIP/90541-00e31d10", "-(E)------------------------------------- macro read_vars -----------") in new stack [2009-12-22 11:54:52.2645] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:52.2646] VERBOSE[6187] pbx.c: -- Executing [s@read_vars:75] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:52.2647] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2648] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:2] NoOp("SIP/90541-00e31d10", "transfer: ") in new stack [2009-12-22 11:54:52.2649] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2649] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2650] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:3] GotoIf("SIP/90541-00e31d10", "1?4:5") in new stack [2009-12-22 11:54:52.2651] VERBOSE[6187] pbx.c: -- Goto (agent_call_end,s,4) [2009-12-22 11:54:52.2651] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2652] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:4] Set("SIP/90541-00e31d10", "GROUP(agent_out)=") in new stack [2009-12-22 11:54:52.2653] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2653] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:5] NoOp("SIP/90541-00e31d10", "Finish if-agent_call_end-20") in new stack [2009-12-22 11:54:52.2654] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:52.2655] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2655] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:6] GotoIf("SIP/90541-00e31d10", "0?7:26") in new stack [2009-12-22 11:54:52.2656] VERBOSE[6187] pbx.c: -- Goto (agent_call_end,s,26) [2009-12-22 11:54:52.2656] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2657] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:26] NoOp("SIP/90541-00e31d10", "Finish if-agent_call_end-21") in new stack [2009-12-22 11:54:52.2658] DEBUG[6187] pbx.c: Launching 'Return' [2009-12-22 11:54:52.2658] VERBOSE[6187] pbx.c: -- Executing [s@agent_call_end:27] Return("SIP/90541-00e31d10", "") in new stack [2009-12-22 11:54:52.2659] DEBUG[6187] db.c: Unable to find key '1261511650.11325/hangup_callback_type' in family 'call_globals' [2009-12-22 11:54:52.2660] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/hangup_callback_type not found in database. [2009-12-22 11:54:52.2660] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2661] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:3] Set("SIP/90541-00e31d10", "__hangup_callback_type=") in new stack [2009-12-22 11:54:52.2662] DEBUG[6187] db.c: Unable to find key '1261511650.11325/hangup_callback' in family 'call_globals' [2009-12-22 11:54:52.2662] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/hangup_callback not found in database. [2009-12-22 11:54:52.2663] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2664] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:4] Set("SIP/90541-00e31d10", "__hangup_callback=") in new stack [2009-12-22 11:54:52.2665] DEBUG[6187] db.c: Unable to find key '1261511650.11325/hangup_callback_args' in family 'call_globals' [2009-12-22 11:54:52.2665] DEBUG[6187] func_db.c: DB: call_globals/1261511650.11325/hangup_callback_args not found in database. [2009-12-22 11:54:52.2666] DEBUG[6187] pbx.c: Launching 'Set' [2009-12-22 11:54:52.2667] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:5] Set("SIP/90541-00e31d10", "__hangup_callback_args=") in new stack [2009-12-22 11:54:52.2668] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:52.2669] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2669] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:6] GotoIf("SIP/90541-00e31d10", "0?7:22") in new stack [2009-12-22 11:54:52.2670] VERBOSE[6187] pbx.c: -- Goto (hangup_callback,h,22) [2009-12-22 11:54:52.2670] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2671] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:22] NoOp("SIP/90541-00e31d10", "Finish if-hangup_callback-228") in new stack [2009-12-22 11:54:52.2672] DEBUG[6187] pbx.c: Expression result is '0' [2009-12-22 11:54:52.2673] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2673] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:23] GotoIf("SIP/90541-00e31d10", "0?24:25") in new stack [2009-12-22 11:54:52.2674] VERBOSE[6187] pbx.c: -- Goto (hangup_callback,h,25) [2009-12-22 11:54:52.2675] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2675] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:25] NoOp("SIP/90541-00e31d10", "Finish if-hangup_callback-233") in new stack [2009-12-22 11:54:52.2676] DEBUG[6187] pbx.c: Expression result is '1' [2009-12-22 11:54:52.2677] DEBUG[6187] pbx.c: Launching 'GotoIf' [2009-12-22 11:54:52.2678] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:26] GotoIf("SIP/90541-00e31d10", "1?27:28") in new stack [2009-12-22 11:54:52.2678] VERBOSE[6187] pbx.c: -- Goto (hangup_callback,h,27) [2009-12-22 11:54:52.2679] DEBUG[6187] pbx.c: Launching 'DBdeltree' [2009-12-22 11:54:52.2680] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:27] DBdeltree("SIP/90541-00e31d10", "call_globals/1261511650.11325") in new stack [2009-12-22 11:54:52.2681] VERBOSE[6187] app_db.c: -- DBdeltree: family=call_globals, keytree=1261511650.11325 [2009-12-22 11:54:52.2730] VERBOSE[6187] app_db.c: -- DBdeltree: Error deleting key from database. [2009-12-22 11:54:52.2731] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2731] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:28] NoOp("SIP/90541-00e31d10", "Finish if-hangup_callback-234") in new stack [2009-12-22 11:54:52.2732] DEBUG[6187] pbx.c: Launching 'NoOp' [2009-12-22 11:54:52.2732] VERBOSE[6187] pbx.c: -- Executing [h@hangup_callback:29] NoOp("SIP/90541-00e31d10", "-(E)----------------------- context hangup_callback h --------------------------") in new stack [2009-12-22 11:54:52.2733] DEBUG[6187] channel.c: Hanging up channel 'SIP/90541-00e31d10' [2009-12-22 11:54:52.2734] DEBUG[6187] chan_sip.c: Hangup call SIP/90541-00e31d10, SIP callid 8d0c52b50182f762@192.168.0.66 [2009-12-22 11:54:52.2737] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-12-22 11:54:52.2738] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Delete SQL: DELETE FROM channels WHERE uniqueid = '1261511650.11325' [2009-12-22 11:54:52.2739] DEBUG[6187] res_config_mysql.c: Executing: DELETE FROM channels WHERE uniqueid = '1261511650.11325' [2009-12-22 11:54:52.2742] DEBUG[6187] res_config_mysql.c: MySQL RealTime: Deleted 1 rows on table: channels