features.conf [general] parkext => 700 ; What extension to dial to park parkpos => 701-720 ; What extensions to park calls on. These needs to be ; numeric, as Asterisk starts from the start position ; and increments with one for the next parked call. context => parkedcalls ; Which context parked calls are in ;parkingtime => 45 ; Number of seconds a call can be parked for ; (default is 45 seconds) ;courtesytone = beep ; Sound file to play to the parked caller ; when someone dials a parked call ; or the Touch Monitor is activated/deactivated. ;parkedplay = caller ; Who to play the courtesy tone to when picking up a parked call ; one of: parked, caller, both (default is caller) ;adsipark = yes ; if you want ADSI parking announcements ;findslot => next ; Continue to the 'next' free parking space. ; Defaults to 'first' available ;parkedmusicclass=default ; This is the MOH class to use for the parked channel ; as long as the class is not set on the channel directly ; using Set(CHANNEL(musicclass)=whatever) in the dialplan transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call ; (default is 3 seconds) xfersound = beep ; to indicate an attended transfer is complete xferfailsound = beeperr ; to indicate a failed transfer ;pickupexten = *8 ; Configure the pickup extension. (default is *8) featuredigittimeout = 1500 ; Max time (ms) between digits for ; feature activation (default is 500 ms) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. [featuremap] blindxfer => ## ; Blind transfer (default is #) disconnect => *0 ; Disconnect (default is *) ;automon => ** ; One Touch Record a.k.a. Touch Monitor atxfer => #* ; Attended transfer ;parkcall => #72 ; Park call (one step parking) [applicationmap] CLI Dump of bad call -- Executing [16502423020@inbound-outside:1] Set("SIP/38.99.69.210-006c0520", "TIMEOUT(absolute)=14400") in new stack -- Channel will hangup at 2008-01-29 23:55:02 UTC. -- Executing [16502423020@inbound-outside:2] Gosub("SIP/38.99.69.210-006c0520", "fix-callerid|s|1") in new stack -- Executing [s@fix-callerid:1] GotoIf("SIP/38.99.69.210-006c0520", "0?fix-callerid:return") in new stack -- Goto (fix-callerid,s,3) -- Executing [s@fix-callerid:3] Return("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [16502423020@inbound-outside:3] Set("SIP/38.99.69.210-006c0520", "I-AM-PARENT=1") in new stack -- Executing [16502423020@inbound-outside:4] GotoIf("SIP/38.99.69.210-006c0520", "0?outbound-transfer|16502423020|1") in new stack -- Executing [16502423020@inbound-outside:5] GotoIf("SIP/38.99.69.210-006c0520", "0?follow-transfer|16502423020|1") in new stack -- Executing [16502423020@inbound-outside:6] GotoIf("SIP/38.99.69.210-006c0520", "0?check-call-type") in new stack -- Executing [16502423020@inbound-outside:7] Set("SIP/38.99.69.210-006c0520", "THROWN-CHANNEL=SIP/38.99.69.210-006c0520") in new stack -- Executing [16502423020@inbound-outside:8] Set("SIP/38.99.69.210-006c0520", "THROWN-UNIQUEID=1201636502.0-ms1.dev1") in new stack -- Executing [16502423020@inbound-outside:9] Macro("SIP/38.99.69.210-006c0520", "throw-chan-event|new|SIP/38.99.69.210-006c0520|1201636502.0-ms1.dev1") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("SIP/38.99.69.210-006c0520", "Channel|type: new|uniqueid: 1201636502.0-ms1.dev1| name: SIP/38.99.69.210-006c0520| callerid: 6504035830") in new stack -- Executing [16502423020@inbound-outside:10] Set("SIP/38.99.69.210-006c0520", "CHAN-EVENT-NEW=1") in new stack -- Executing [16502423020@inbound-outside:11] GotoIf("SIP/38.99.69.210-006c0520", "0?local-call") in new stack -- Executing [16502423020@inbound-outside:12] Set("SIP/38.99.69.210-006c0520", "CHAN-TECH=SIP") in new stack -- Executing [16502423020@inbound-outside:13] GotoIf("SIP/38.99.69.210-006c0520", "1?sip-call") in new stack -- Goto (inbound-outside,16502423020,30) -- Executing [16502423020@inbound-outside:30] Set("SIP/38.99.69.210-006c0520", "NUMBER-LOOKUP=1-6502423020") in new stack -- Executing [16502423020@inbound-outside:31] Set("SIP/38.99.69.210-006c0520", "NUMBER-CNTYCODE=1") in new stack -- Executing [16502423020@inbound-outside:32] Set("SIP/38.99.69.210-006c0520", "NUMBER-REMAIN=6502423020") in new stack -- Executing [16502423020@inbound-outside:33] Set("SIP/38.99.69.210-006c0520", "CALLER-LOOKUP=1-6504035830") in new stack -- Executing [16502423020@inbound-outside:34] ExecIf("SIP/38.99.69.210-006c0520", "0|Set|CALLER-LOOKUP=Anonymous") in new stack -- Executing [16502423020@inbound-outside:35] Set("SIP/38.99.69.210-006c0520", "CALLER-CNTYCODE=1") in new stack -- Executing [16502423020@inbound-outside:36] Set("SIP/38.99.69.210-006c0520", "CALLER-REMAIN=6504035830") in new stack -- Executing [16502423020@inbound-outside:37] Set("SIP/38.99.69.210-006c0520", "PROVIDER-SOURCE=1") in new stack -- Executing [16502423020@inbound-outside:38] ExecIf("SIP/38.99.69.210-006c0520", "1|Answer") in new stack -- Executing [16502423020@inbound-outside:39] Set("SIP/38.99.69.210-006c0520", "__TRACE-LEVEL=2") in new stack -- Executing [16502423020@inbound-outside:40] Set("SIP/38.99.69.210-006c0520", "__TRACE-ID=13469") in new stack -- Executing [16502423020@inbound-outside:41] Goto("SIP/38.99.69.210-006c0520", "start-call") in new stack -- Goto (inbound-outside,16502423020,42) -- Executing [16502423020@inbound-outside:42] NoOp("SIP/38.99.69.210-006c0520", "******************************************************************") in new stack -- Executing [16502423020@inbound-outside:43] NoOp("SIP/38.99.69.210-006c0520", " ") in new stack -- Executing [16502423020@inbound-outside:44] NoOp("SIP/38.99.69.210-006c0520", " INBOUND CALL FOR: 16502423020 FROM "6504035830" <6504035830> - 6504035830 ") in new stack -- Executing [16502423020@inbound-outside:45] NoOp("SIP/38.99.69.210-006c0520", " ") in new stack -- Executing [16502423020@inbound-outside:46] NoOp("SIP/38.99.69.210-006c0520", "******************************************************************") in new stack -- Executing [16502423020@inbound-outside:47] Set("SIP/38.99.69.210-006c0520", "__SCREEN-RESULT=0") in new stack -- Executing [16502423020@inbound-outside:48] Set("SIP/38.99.69.210-006c0520", "_CALL-START-TIMER=1201636502") in new stack -- Executing [16502423020@inbound-outside:49] Macro("SIP/38.99.69.210-006c0520", "db-connect") in new stack -- Executing [s@macro-db-connect:1] GotoIf("SIP/38.99.69.210-006c0520", "?check-log-db") in new stack -- Executing [s@macro-db-connect:2] Set("SIP/38.99.69.210-006c0520", "CON-GENERAL-DB=1") in new stack -- Executing [s@macro-db-connect:3] Macro("SIP/38.99.69.210-006c0520", "connect-dynamic-db") in new stack -- Executing [s@macro-connect-dynamic-db:1] MYSQL("SIP/38.99.69.210-006c0520", "Connect dy-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:4] Set("SIP/38.99.69.210-006c0520", "CONNID=1") in new stack -- Executing [s@macro-db-connect:5] GotoIf("SIP/38.99.69.210-006c0520", "?end-macro") in new stack -- Executing [s@macro-db-connect:6] Set("SIP/38.99.69.210-006c0520", "CON-LOG-DB=1") in new stack -- Executing [s@macro-db-connect:7] Macro("SIP/38.99.69.210-006c0520", "connect-static-db") in new stack -- Executing [s@macro-connect-static-db:1] MYSQL("SIP/38.99.69.210-006c0520", "Connect st-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:8] Set("SIP/38.99.69.210-006c0520", "LOG-CONNID=2") in new stack -- Executing [s@macro-db-connect:9] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [16502423020@inbound-outside:50] GotoIf("SIP/38.99.69.210-006c0520", "13469?add-start-event") in new stack -- Goto (inbound-outside,16502423020,52) -- Executing [16502423020@inbound-outside:52] Macro("SIP/38.99.69.210-006c0520", "add-trace-event|1|13469|ms1.dev1|||received||||SIP/38.99.69.210-006c0520") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("SIP/38.99.69.210-006c0520", "1?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,2) -- Executing [s@macro-add-trace-event:2] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 INSERT INTO traceDetail (traceId, timestamp, nodeId, callerId, calledNum, event, eventFrom, eventTo, eventData, eventNotes) VALUES (13469, 1201636502, 'ms1.dev1', '', '', 'received', '', '', '', 'SIP/38.99.69.210-006c0520')") in new stack -- Executing [s@macro-add-trace-event:3] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [16502423020@inbound-outside:53] Set("SIP/38.99.69.210-006c0520", "CDR(accountcode)=0") in new stack -- Executing [16502423020@inbound-outside:54] Macro("SIP/38.99.69.210-006c0520", "read-system|ms1.dev1") in new stack -- Executing [s@macro-read-system:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT System.Id,System.host,System.Active,System.DefaultTrunk,Trunks.Technology,Trunks.Trunk,Trunks.Server,System.Area,System.7digit,System.10digit,System.connection_limit,System.ClusterRegion,Cluster.Trunking FROM System LEFT OUTER JOIN Trunks on System.DefaultTrunk = Trunks.Id LEFT OUTER JOIN Cluster on System.ClusterRegion = Cluster.Region WHERE System.Server='ms1.dev1'") in new stack -- Executing [s@macro-read-system:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 SYSTEM-ID SYSTEM-HOST SYSTEM-ACTIVE DEFAULT-TRUNK-ID SYSTEM-TRUNK-TECH SYSTEM-TRUNK-NAME SYSTEM-TRUNK-SERVER SYSTEM-AREA SYSTEM-7DIGIT SYSTEM-10DIGIT SYSTEM-LIMIT SYSTEM-CLUSTERREGION SYSTEM-TRUNKING-TYPE") in new stack -- Executing [s@macro-read-system:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [s@macro-read-system:4] Set("SIP/38.99.69.210-006c0520", "DEFAULT-TRUNK=SIP/dist1") in new stack -- Executing [16502423020@inbound-outside:55] GotoIf("SIP/38.99.69.210-006c0520", "1?from-outside|16502423020|1") in new stack -- Goto (from-outside,16502423020,1) -- Executing [16502423020@from-outside:1] GotoIf("SIP/38.99.69.210-006c0520", "?add-events:start-events") in new stack -- Goto (from-outside,16502423020,2) -- Executing [16502423020@from-outside:2] Set("SIP/38.99.69.210-006c0520", "CALL-EVENTS=1;") in new stack -- Executing [16502423020@from-outside:3] Goto("SIP/38.99.69.210-006c0520", "from-outside-access|16502423020|1") in new stack -- Goto (from-outside-access,16502423020,1) -- Executing [16502423020@from-outside-access:1] GotoIf("SIP/38.99.69.210-006c0520", "0?read-function:read-rnd") in new stack -- Goto (from-outside-access,16502423020,4) -- Executing [16502423020@from-outside-access:4] Macro("SIP/38.99.69.210-006c0520", "read-rndDID|16502423020") in new stack -- Executing [s@macro-read-rndDID:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 1 SELECT rndDID.expiration,rndDID.Id,Function.Id,Function.Affiliation,Function.profile,Function.function,Function.arg,Function.orig,REPLACE(Function.orig,'-',''),Function.dest0,REPLACE(Function.dest0,'-',''),Function.dest1,REPLACE(Function.dest1,'-',''),Function.dest2,REPLACE(Function.dest2,'-',''),Function.dest3,REPLACE(Function.dest3,'-',''),Function.dest4,REPLACE(Function.dest4,'-',''),Function.dest5,REPLACE(Function.dest5,'-',''),Function.dest6,REPLACE(Function.dest6,'-',''),Function.dest7,REPLACE(Function.dest7,'-',''),Function.dest8,REPLACE(Function.dest8,'-',''),Function.dest9,REPLACE(Function.dest9,'-',''),CID,attempts,Function.ambience,ambience.file,ambience.volume FROM rndDID LEFT OUTER JOIN Function ON function_id = Function.Id LEFT OUTER JOIN ambience ON ambience.Id = Function.ambience WHERE DID = '16502423020' ORDER BY rndDID.expiration DESC LIMIT 1") in new stack -- Executing [s@macro-read-rndDID:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 FUNC-EXPIRATION FUNC-DID-ID FUNC-ID FUNC-AFFILIATION FUNC-PROFILE FUNC-FUNCTION FUNC-ARG FUNC-FULL-ORIG FUNC-ORIG FUNC-FULL-DEST0 FUNC-DEST0 FUNC-FULL-DEST1 FUNC-DEST1 FUNC-FULL-DEST2 FUNC-DEST2 FUNC-FULL-DEST3 FUNC-DEST3 FUNC-FULL-DEST4 FUNC-DEST4 FUNC-FULL-DEST5 FUNC-DEST5 FUNC-FULL-DEST6 FUNC-DEST6 FUNC-FULL-DEST7 FUNC-DEST7 FUNC-FULL-DEST8 FUNC-DEST8 FUNC-FULL-DEST9 FUNC-DEST9 FUNC-CID FUNC-ATTEMPTS FUNC-AMBIENCE FUNC-AMBFILE FUNC-AMBVOL") in new stack -- Executing [s@macro-read-rndDID:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [16502423020@from-outside-access:5] GotoIf("SIP/38.99.69.210-006c0520", "0?access-number:from-outside-0|16502423020|1") in new stack -- Goto (from-outside-0,16502423020,1) -- Executing [16502423020@from-outside-0:1] NoOp("SIP/38.99.69.210-006c0520", "Number is pre-formatted by call distributor") in new stack -- Executing [16502423020@from-outside-0:2] Set("SIP/38.99.69.210-006c0520", "DIALED-NUMBER=16502423020") in new stack -- Executing [16502423020@from-outside-0:3] Set("SIP/38.99.69.210-006c0520", "CALLING-PARTY=16504035830") in new stack -- Executing [16502423020@from-outside-0:4] Macro("SIP/38.99.69.210-006c0520", "read-inbound|16502423020") in new stack -- Executing [s@macro-read-inbound:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT Inbound.Action,Inbound.Destination,Inbound.Priority,Inbound.Affiliation,Inbound.Conditional,Inbound.Conditions FROM Inbound WHERE REPLACE(Number,'-','')=16502423020") in new stack -- Executing [s@macro-read-inbound:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 INBOUND-ACTION INBOUND-DESTINATION INBOUND-PRIORITY INBOUND-AFFILIATION INBOUND-CONDITIONAL INBOUND-CONDITIONS") in new stack -- Executing [s@macro-read-inbound:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [16502423020@from-outside-0:5] GotoIf("SIP/38.99.69.210-006c0520", "1?check-dtmf-access:check-freetrial") in new stack -- Goto (from-outside-0,16502423020,8) -- Executing [16502423020@from-outside-0:8] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 UPDATE DIDinventory SET verified=1 WHERE CONCAT(countryCode, cityCode, exchange, Number)=16502423020") in new stack -- Executing [16502423020@from-outside-0:9] GotoIf("SIP/38.99.69.210-006c0520", "0?from-outside-dtmf-access|s|1:read-company") in new stack -- Goto (from-outside-0,16502423020,10) -- Executing [16502423020@from-outside-0:10] Macro("SIP/38.99.69.210-006c0520", "read-company|33") in new stack -- Executing [s@macro-read-company:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT Company.defaultUser,Company.cidInternalNum,Company.cidInternalName,Company.cidLocal,Company.cidTollfree,Company.cidToll,Company.cidInternational,Company.cidEmergency,Company.cidBlocking,Company.LCR,Company.DND,Company.Server,Company.connect_limit,Company.active,Company.tz, Company.tollfree, Company.tollUs, Company.international, Company.local, Company.internal, Company.maxSimulCalls, Company.allowTransfer FROM Company LEFT OUTER JOIN SpokenTimezones AS ut ON ut.tz_name = Company.tz WHERE Affiliation=33") in new stack -- Executing [s@macro-read-company:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 COMPANY-DEFAULT-USER COMPANY-CID-INTERNAL-NUM COMPANY-CID-INTERNAL-NAME COMPANY-CID-LOCAL COMPANY-CID-TOLLFREE COMPANY-CID-TOLL COMPANY-CID-INTERNATIONAL COMPANY-CID-EMERGENCY COMPANY-CID-BLOCKING COMPANY-LCR COMPANY-DND COMPANY-SERVER COMPANY-LIMIT COMPANY-ACTIVE COMPANY-TZ COMPANY-TOLLFREE COMPANY-TOLLUS COMPANY-INTERNATIONAL COMPANY-LOCAL COMPANY-INTERNAL __COMPANY-MAX-CALLS __COMPANY-CALL-TRANSFER") in new stack -- Executing [s@macro-read-company:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [16502423020@from-outside-0:11] GotoIf("SIP/38.99.69.210-006c0520", "1?check-active:invalid-number|16502423020|1") in new stack -- Goto (from-outside-0,16502423020,12) -- Executing [16502423020@from-outside-0:12] NoOp("SIP/38.99.69.210-006c0520", "COMPANY-ACTIVE = 1") in new stack -- Executing [16502423020@from-outside-0:13] GotoIf("SIP/38.99.69.210-006c0520", "1?add-connections") in new stack -- Goto (from-outside-0,16502423020,16) -- Executing [16502423020@from-outside-0:16] GotoIf("SIP/38.99.69.210-006c0520", "0?check-call-events") in new stack -- Executing [16502423020@from-outside-0:17] Set("SIP/38.99.69.210-006c0520", "USERFIELD-SET=1") in new stack -- Executing [16502423020@from-outside-0:18] Set("SIP/38.99.69.210-006c0520", "CDR(userfield)=33") in new stack -- Executing [16502423020@from-outside-0:19] GotoIf("SIP/38.99.69.210-006c0520", "?check-anon:unknown") in new stack -- Goto (from-outside-0,16502423020,20) -- Executing [16502423020@from-outside-0:20] Macro("SIP/38.99.69.210-006c0520", "add-function-entry|33|1|virtual|0|0") in new stack -- Executing [s@macro-add-function-entry:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 1 INSERT INTO Function (Affiliation,profile,function,device,trialId,CID,date,arg) VALUES (33,1,'virtual','ms1.dev1',0,'6504035830',1201636502,'0')") in new stack -- Executing [s@macro-add-function-entry:2] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 1 SELECT LAST_INSERT_ID()") in new stack -- Executing [s@macro-add-function-entry:3] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 NEW-FUNC-ID") in new stack -- Executing [s@macro-add-function-entry:4] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [16502423020@from-outside-0:21] Set("SIP/38.99.69.210-006c0520", "FUNC-PROFILE=1") in new stack -- Executing [16502423020@from-outside-0:22] Macro("SIP/38.99.69.210-006c0520", "throw-func-id|58469") in new stack -- Executing [s@macro-throw-func-id:1] UserEvent("SIP/38.99.69.210-006c0520", "FunctionId|funcId: 58469|uniqueid: 1201636502.0-ms1.dev1") in new stack -- Executing [16502423020@from-outside-0:23] Macro("SIP/38.99.69.210-006c0520", "update-call-trace|58469|13469") in new stack -- Executing [s@macro-update-call-trace:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 UPDATE trace SET functionId=58469 WHERE Id=13469") in new stack -- Executing [16502423020@from-outside-0:24] Set("SIP/38.99.69.210-006c0520", "CALL-EVENTS-FUNC-ID=58469") in new stack -- Executing [16502423020@from-outside-0:25] Set("SIP/38.99.69.210-006c0520", "ACTIVE-CALL-SET=1") in new stack -- Executing [16502423020@from-outside-0:26] Macro("SIP/38.99.69.210-006c0520", "add-new-call|11|1201636502|58469|1201636502.0-ms1.dev1|33|virtual|2|2") in new stack -- Executing [s@macro-add-new-call:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT Id FROM activeCalls WHERE state=1 AND functionId=58469") in new stack -- Executing [s@macro-add-new-call:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 PENDING-CALL") in new stack -- Executing [s@macro-add-new-call:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [s@macro-add-new-call:4] ExecIf("SIP/38.99.69.210-006c0520", "1|Set|ACTIVE-CALL-TYPE=1") in new stack -- Executing [s@macro-add-new-call:5] ExecIf("SIP/38.99.69.210-006c0520", "0|Set|ACTIVE-CALL-TYPE=4") in new stack -- Executing [s@macro-add-new-call:6] ExecIf("SIP/38.99.69.210-006c0520", "0|Set|ACTIVE-CALL-TYPE=5") in new stack -- Executing [s@macro-add-new-call:7] ExecIf("SIP/38.99.69.210-006c0520", "0|Set|ACTIVE-CALL-TYPE=3") in new stack -- Executing [s@macro-add-new-call:8] GotoIf("SIP/38.99.69.210-006c0520", "0?single:check-pending") in new stack -- Goto (macro-add-new-call,s,14) -- Executing [s@macro-add-new-call:14] GotoIf("SIP/38.99.69.210-006c0520", "?update-pending:add-call") in new stack -- Goto (macro-add-new-call,s,18) -- Executing [s@macro-add-new-call:18] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 INSERT INTO activeCalls (functionId, uniqueid, nodeId, startTime, affiliation, type, leg, state) VALUES (58469, '1201636502.0-ms1.dev1', 11, 1201636502, 033, 1, 2, 2)") in new stack -- Executing [s@macro-add-new-call:19] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 1 SELECT activeCalls.Id FROM activeCalls WHERE uniqueid='1201636502.0-ms1.dev1'") in new stack -- Executing [s@macro-add-new-call:20] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 CALL-TRACK-ID") in new stack -- Executing [s@macro-add-new-call:21] NoOp("SIP/38.99.69.210-006c0520", "inserted id: 8549") in new stack -- Executing [s@macro-add-new-call:22] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [16502423020@from-outside-0:27] GotoIf("SIP/38.99.69.210-006c0520", "0?cid-blocked") in new stack -- Executing [16502423020@from-outside-0:28] GotoIf("SIP/38.99.69.210-006c0520", "0?cid-blocked:from-outside-1|16502423020|1") in new stack -- Goto (from-outside-1,16502423020,1) -- Executing [16502423020@from-outside-1:1] Set("SIP/38.99.69.210-006c0520", "CALL-EVENTS=1;7;") in new stack -- Executing [16502423020@from-outside-1:2] Goto("SIP/38.99.69.210-006c0520", "normal-process-1|1|1") in new stack -- Goto (normal-process-1,1,1) -- Executing [1@normal-process-1:1] Set("SIP/38.99.69.210-006c0520", "USER=1") in new stack -- Executing [1@normal-process-1:2] Goto("SIP/38.99.69.210-006c0520", "01|2") in new stack -- Goto (normal-process-1,01,2) -- Executing [01@normal-process-1:2] Macro("SIP/38.99.69.210-006c0520", "read-status|1|33") in new stack -- Executing [s@macro-read-status:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT Status.Id,Status.DND,Status.noCIDblock,Status.followType,Status.followSteps,Status.Blacklist,Status.callerId,Status.callerId,REPLACE(Status.callerId,'-',''),Status.privacyMode,Status.LastCaller,Status.emergency,Status.tollfree,Status.tollUs,Status.international,Status.local,Status.internal,Status.admin,Status.features,Status.speed,Status.cidOverride,Status.record,Status.connection_limit,Status.announceAudio,Users.Username,Status.name,Status.profileType,Voice1.path,Voice2.path,Status.useVm,Status.hideCallers FROM Status LEFT OUTER JOIN Users ON Users.Affiliation = Status.Affiliation LEFT OUTER JOIN Voice Voice1 ON Voice1.id = Status.voiceIn LEFT OUTER JOIN Voice Voice2 ON Voice2.id = Status.voiceOut WHERE User=1 AND Status.Affiliation=33") in new stack -- Executing [s@macro-read-status:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 STATUS-ID STATUS-DND STATUS-NOCIDBLOCK STATUS-FOLLOWTYPE STATUS-FOLLOWSTEPS STATUS-BLACKLIST STATUS-CID-NAME STATUS-CID-NUMBER-LOOKUP STATUS-CID-NUMBER STATUS-PRIVACY-MODE STATUS-LASTCALLER STATUS-EMERGENCY STATUS-TOLLFREE STATUS-TOLL-US STATUS-INTERNATIONAL STATUS-LOCAL STATUS-INTERNAL STATUS-ADMIN STATUS-FEATURES STATUS-SPEED STATUS-CID-OVERRIDE STATUS-RECORD STATUS-LIMIT STATUS-AUDIO STATUS-EMAIL STATUS-NAME STATUS-TYPE STATUS-VOICEIN STATUS-VOICEOUT _STATUS-USE-VM STATUS-HIDE-CALLERS") in new stack -- Executing [s@macro-read-status:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [01@normal-process-1:3] GotoIf("SIP/38.99.69.210-006c0520", "1?check-privacy-mode:invalid-number|16502423020|1") in new stack -- Goto (normal-process-1,01,4) -- Executing [01@normal-process-1:4] Set("SIP/38.99.69.210-006c0520", "CALLLOG-USER=1") in new stack -- Executing [01@normal-process-1:5] Set("SIP/38.99.69.210-006c0520", "CHANNEL(language)=tplocal/us/eng/johnny") in new stack -- Executing [01@normal-process-1:6] Set("SIP/38.99.69.210-006c0520", "CALLLOG-AFFILIATION=33") in new stack -- Executing [01@normal-process-1:7] Set("SIP/38.99.69.210-006c0520", "CALLLOG-EPOCH=1201636502") in new stack -- Executing [01@normal-process-1:8] Set("SIP/38.99.69.210-006c0520", "CALLLOG-TYPE=1") in new stack -- Executing [01@normal-process-1:9] Set("SIP/38.99.69.210-006c0520", "CALLLOG-DIALED=1-6504035830") in new stack -- Executing [01@normal-process-1:10] Set("SIP/38.99.69.210-006c0520", "CALLLOG-FUNC-ID=58469") in new stack -- Executing [01@normal-process-1:11] Set("SIP/38.99.69.210-006c0520", "CALLLOG-DETAIL=0") in new stack -- Executing [01@normal-process-1:12] Set("SIP/38.99.69.210-006c0520", "CALLLOG-STATUS=1") in new stack -- Executing [01@normal-process-1:13] GotoIf("SIP/38.99.69.210-006c0520", "0?cid-hide") in new stack -- Executing [01@normal-process-1:14] GotoIf("SIP/38.99.69.210-006c0520", "0?cid-anon:check-privacy") in new stack -- Goto (normal-process-1,01,21) -- Executing [01@normal-process-1:21] GotoIf("SIP/38.99.69.210-006c0520", "1?check-filter:privacy-mode") in new stack -- Goto (normal-process-1,01,25) -- Executing [01@normal-process-1:25] Macro("SIP/38.99.69.210-006c0520", "read-filter|1-6504035830|1|33") in new stack -- Executing [s@macro-read-filter:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT filter.id,filter.type,filter.action FROM filter WHERE caller_id='1-6504035830' AND user_profile_id=1 AND affiliation=33") in new stack -- Executing [s@macro-read-filter:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 FILTER-ID FILTER-TYPE FILTER-ACTION") in new stack -- Executing [s@macro-read-filter:3] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [01@normal-process-1:26] GotoIf("SIP/38.99.69.210-006c0520", "0?process-filter:no-filter") in new stack -- Goto (normal-process-1,01,37) -- Executing [01@normal-process-1:37] Verbose("SIP/38.99.69.210-006c0520", "1| Caller: 6504035830 has reached anonymous blocking check") in new stack Caller: 6504035830 has reached anonymous blocking check -- Executing [01@normal-process-1:38] GotoIf("SIP/38.99.69.210-006c0520", "0?cidblock:check-dnd") in new stack -- Goto (normal-process-1,01,51) -- Executing [01@normal-process-1:51] GotoIf("SIP/38.99.69.210-006c0520", "0?dnd-active") in new stack -- Executing [01@normal-process-1:52] GotoIf("SIP/38.99.69.210-006c0520", "0?dnd-active:filter-stop") in new stack -- Goto (normal-process-1,01,55) -- Executing [01@normal-process-1:55] Set("SIP/38.99.69.210-006c0520", "PROFILE-NOTIFY=1") in new stack -- Executing [01@normal-process-1:56] Goto("SIP/38.99.69.210-006c0520", "follow-me-dial|16502423020|1") in new stack -- Goto (follow-me-dial,16502423020,1) -- Executing [16502423020@follow-me-dial:1] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CALLER-LOOKUP=1-6504035830") in new stack -- Executing [16502423020@follow-me-dial:2] Set("SIP/38.99.69.210-006c0520", "__FMLEG-NUMBER-LOOKUP=1-6502423020") in new stack -- Executing [16502423020@follow-me-dial:3] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CALLER-CNTYCODE=1") in new stack -- Executing [16502423020@follow-me-dial:4] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CALLER-REMAIN=6504035830") in new stack -- Executing [16502423020@follow-me-dial:5] Set("SIP/38.99.69.210-006c0520", "__FMLEG-DIALED-NUMBER=16502423020") in new stack -- Executing [16502423020@follow-me-dial:6] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CALLING-PARTY=16504035830") in new stack -- Executing [16502423020@follow-me-dial:7] Set("SIP/38.99.69.210-006c0520", "__FMLEG-AFFILIATION=33") in new stack -- Executing [16502423020@follow-me-dial:8] Set("SIP/38.99.69.210-006c0520", "__FMLEG-FUNC-ID=58469") in new stack -- Executing [16502423020@follow-me-dial:9] Set("SIP/38.99.69.210-006c0520", "__FMLEG-INBOUND-DESTINATION=1") in new stack -- Executing [16502423020@follow-me-dial:10] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CHANNEL-LANGUAGE=tplocal/us/eng/johnny") in new stack -- Executing [16502423020@follow-me-dial:11] Set("SIP/38.99.69.210-006c0520", "__FMLEG-CALLERID=6504035830") in new stack -- Executing [16502423020@follow-me-dial:12] Set("SIP/38.99.69.210-006c0520", "__FMLEG-SYSTEM-ID=11") in new stack -- Executing [16502423020@follow-me-dial:13] Set("SIP/38.99.69.210-006c0520", "__FMLEG-PROFILE-NOTIFY=1") in new stack -- Executing [16502423020@follow-me-dial:14] Set("SIP/38.99.69.210-006c0520", "__FMLEG-STATUS-AUDIO=1") in new stack -- Executing [16502423020@follow-me-dial:15] Set("SIP/38.99.69.210-006c0520", "__FMLEG-STATUS-NAME=Work & !play") in new stack -- Executing [16502423020@follow-me-dial:16] Set("SIP/38.99.69.210-006c0520", "__FMLEG-COMPANY-CALL-TRANSFER=1") in new stack -- Executing [16502423020@follow-me-dial:17] Set("SIP/38.99.69.210-006c0520", "__FMLEG-COMPANY-MAX-CALLS=8") in new stack -- Executing [16502423020@follow-me-dial:18] Set("SIP/38.99.69.210-006c0520", "__FMLEG-FUNC-PROFILE=1") in new stack -- Executing [16502423020@follow-me-dial:19] Set("SIP/38.99.69.210-006c0520", "DB(58469/alert_result)=0") in new stack -- Executing [16502423020@follow-me-dial:20] Macro("SIP/38.99.69.210-006c0520", "read-followme-steps|1|33|1") in new stack -- Executing [s@macro-read-followme-steps:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 SELECT FollowMe.Location, REPLACE(FollowMe.Location,'-',''),FollowMe.Duration,FollowMe.Priority FROM FollowMe WHERE User=1 AND Affiliation=33 AND active=1 ORDER BY Priority ASC") in new stack -- Executing [s@macro-read-followme-steps:2] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 FM-FULL-LOC FM-LOC FM-DUR FM-PRI") in new stack -- Executing [s@macro-read-followme-steps:3] Set("SIP/38.99.69.210-006c0520", "FM-LOADED-STEPS=0") in new stack -- Executing [s@macro-read-followme-steps:4] GotoIf("SIP/38.99.69.210-006c0520", "1?init-list:end-macro") in new stack -- Goto (macro-read-followme-steps,s,5) -- Executing [s@macro-read-followme-steps:5] Set("SIP/38.99.69.210-006c0520", "FM-LIST-CREATED=1") in new stack -- Executing [s@macro-read-followme-steps:6] List("SIP/38.99.69.210-006c0520", "INIT|FM-STEP-LIST|99|1") in new stack [Jan 29 19:55:02] NOTICE[11795]: app_list.c:117 app_list_find_identifier: List:Name FM-STEP-LIST not found in identifier list -- Executing [s@macro-read-followme-steps:7] List("SIP/38.99.69.210-006c0520", "INIT|FM-DUR-LIST|99|1") in new stack [Jan 29 19:55:02] NOTICE[11795]: app_list.c:117 app_list_find_identifier: List:Name FM-DUR-LIST not found in identifier list -- Executing [s@macro-read-followme-steps:8] List("SIP/38.99.69.210-006c0520", "INIT|FM-FULL-STEP-LIST|99|1") in new stack [Jan 29 19:55:02] NOTICE[11795]: app_list.c:117 app_list_find_identifier: List:Name FM-FULL-STEP-LIST not found in identifier list -- Executing [s@macro-read-followme-steps:9] Set("SIP/38.99.69.210-006c0520", "CURRENT-LOCATION=local/16505762975@follow-attempt/n") in new stack -- Executing [s@macro-read-followme-steps:10] Set("SIP/38.99.69.210-006c0520", "CURRENT-PRIORITY=0") in new stack -- Executing [s@macro-read-followme-steps:11] Set("SIP/38.99.69.210-006c0520", "CURRENT-DURATION=24") in new stack -- Executing [s@macro-read-followme-steps:12] Set("SIP/38.99.69.210-006c0520", "CURRENT-FULL-LOCATION=1-6505762975") in new stack -- Executing [s@macro-read-followme-steps:13] While("SIP/38.99.69.210-006c0520", "1") in new stack -- Executing [s@macro-read-followme-steps:14] GotoIf("SIP/38.99.69.210-006c0520", "1?same-pri:new-pri") in new stack -- Goto (macro-read-followme-steps,s,24) -- Executing [s@macro-read-followme-steps:24] GotoIf("SIP/38.99.69.210-006c0520", "0?same-1") in new stack -- Executing [s@macro-read-followme-steps:25] Set("SIP/38.99.69.210-006c0520", "CURRENT-DURATION=24") in new stack -- Executing [s@macro-read-followme-steps:26] GotoIf("SIP/38.99.69.210-006c0520", "1?end-while:add-loc") in new stack -- Goto (macro-read-followme-steps,s,29) -- Executing [s@macro-read-followme-steps:29] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 FM-FULL-LOC FM-LOC FM-DUR FM-PRI") in new stack -- Executing [s@macro-read-followme-steps:30] EndWhile("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [s@macro-read-followme-steps:13] While("SIP/38.99.69.210-006c0520", "1") in new stack -- Executing [s@macro-read-followme-steps:14] GotoIf("SIP/38.99.69.210-006c0520", "0?same-pri:new-pri") in new stack -- Goto (macro-read-followme-steps,s,15) -- Executing [s@macro-read-followme-steps:15] Set("SIP/38.99.69.210-006c0520", "FM-LOADED-STEPS=1") in new stack -- Executing [s@macro-read-followme-steps:16] List("SIP/38.99.69.210-006c0520", "SET|FM-STEP-LIST|1|local/16505762975@follow-attempt/n") in new stack -- Executing [s@macro-read-followme-steps:17] List("SIP/38.99.69.210-006c0520", "SET|FM-DUR-LIST|1|24") in new stack -- Executing [s@macro-read-followme-steps:18] List("SIP/38.99.69.210-006c0520", "SET|FM-FULL-STEP-LIST|1|1-6505762975") in new stack -- Executing [s@macro-read-followme-steps:19] Set("SIP/38.99.69.210-006c0520", "CURRENT-LOCATION=local/16504035830@follow-attempt/n") in new stack -- Executing [s@macro-read-followme-steps:20] Set("SIP/38.99.69.210-006c0520", "CURRENT-DURATION=24") in new stack -- Executing [s@macro-read-followme-steps:21] Set("SIP/38.99.69.210-006c0520", "CURRENT-PRIORITY=1") in new stack -- Executing [s@macro-read-followme-steps:22] Set("SIP/38.99.69.210-006c0520", "CURRENT-FULL-LOCATION=1-6504035830") in new stack -- Executing [s@macro-read-followme-steps:23] Goto("SIP/38.99.69.210-006c0520", "end-while") in new stack -- Goto (macro-read-followme-steps,s,29) -- Executing [s@macro-read-followme-steps:29] MYSQL("SIP/38.99.69.210-006c0520", "Fetch fetchid 3 FM-FULL-LOC FM-LOC FM-DUR FM-PRI") in new stack -- Executing [s@macro-read-followme-steps:30] EndWhile("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [s@macro-read-followme-steps:13] While("SIP/38.99.69.210-006c0520", "0") in new stack -- Executing [s@macro-read-followme-steps:31] Set("SIP/38.99.69.210-006c0520", "FM-LOADED-STEPS=2") in new stack -- Executing [s@macro-read-followme-steps:32] List("SIP/38.99.69.210-006c0520", "SET|FM-STEP-LIST|2|local/16504035830@follow-attempt/n") in new stack -- Executing [s@macro-read-followme-steps:33] List("SIP/38.99.69.210-006c0520", "SET|FM-FULL-STEP-LIST|2|1-6504035830") in new stack -- Executing [s@macro-read-followme-steps:34] GotoIf("SIP/38.99.69.210-006c0520", "1?normal-duration:long-duration") in new stack -- Goto (macro-read-followme-steps,s,35) -- Executing [s@macro-read-followme-steps:35] List("SIP/38.99.69.210-006c0520", "SET|FM-DUR-LIST|2|24") in new stack -- Executing [s@macro-read-followme-steps:36] Goto("SIP/38.99.69.210-006c0520", "end-macro") in new stack -- Goto (macro-read-followme-steps,s,39) -- Executing [s@macro-read-followme-steps:39] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [16502423020@follow-me-dial:21] GotoIf("SIP/38.99.69.210-006c0520", "0?voicemail") in new stack -- Executing [16502423020@follow-me-dial:22] Set("SIP/38.99.69.210-006c0520", "FM-PRI-STEP=1") in new stack -- Executing [16502423020@follow-me-dial:23] Set("SIP/38.99.69.210-006c0520", "__FMLEG-BILLED-PARTY=1") in new stack -- Executing [16502423020@follow-me-dial:24] Set("SIP/38.99.69.210-006c0520", "CALL-IN-PROGRESS=1") in new stack -- Executing [16502423020@follow-me-dial:25] While("SIP/38.99.69.210-006c0520", "1") in new stack -- Executing [16502423020@follow-me-dial:26] GotoIf("SIP/38.99.69.210-006c0520", "0?answered") in new stack -- Executing [16502423020@follow-me-dial:27] List("SIP/38.99.69.210-006c0520", "GET|FM-STEP-LIST|1|ATTEMPT-LOCATION") in new stack -- Executing [16502423020@follow-me-dial:28] List("SIP/38.99.69.210-006c0520", "GET|FM-DUR-LIST|1|ATTEMPT-DURATION") in new stack -- Executing [16502423020@follow-me-dial:29] List("SIP/38.99.69.210-006c0520", "GET|FM-FULL-STEP-LIST|1|ATTEMPT-FULL-LOCATION") in new stack -- Executing [16502423020@follow-me-dial:30] Set("SIP/38.99.69.210-006c0520", "_FMLEG-FM-FULL-LOCATION=1-6505762975") in new stack -- Executing [16502423020@follow-me-dial:31] Set("SIP/38.99.69.210-006c0520", "_FMLEG-ATTEMPT-DURATION=24") in new stack -- Executing [16502423020@follow-me-dial:32] Dial("SIP/38.99.69.210-006c0520", "local/16505762975@follow-attempt/n|54|rg") in new stack -- Called 16505762975@follow-attempt/n -- Executing [16505762975@follow-attempt:1] Macro("Local/16505762975@follow-attempt-b237,2", "db-connect") in new stack -- Executing [s@macro-db-connect:1] GotoIf("Local/16505762975@follow-attempt-b237,2", "?check-log-db") in new stack -- Executing [s@macro-db-connect:2] Set("Local/16505762975@follow-attempt-b237,2", "CON-GENERAL-DB=1") in new stack -- Executing [s@macro-db-connect:3] Macro("Local/16505762975@follow-attempt-b237,2", "connect-dynamic-db") in new stack -- Executing [s@macro-connect-dynamic-db:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Connect dy-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:4] Set("Local/16505762975@follow-attempt-b237,2", "CONNID=4") in new stack -- Executing [s@macro-db-connect:5] GotoIf("Local/16505762975@follow-attempt-b237,2", "?end-macro") in new stack -- Executing [s@macro-db-connect:6] Set("Local/16505762975@follow-attempt-b237,2", "CON-LOG-DB=1") in new stack -- Executing [s@macro-db-connect:7] Macro("Local/16505762975@follow-attempt-b237,2", "connect-static-db") in new stack -- Executing [s@macro-connect-static-db:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Connect st-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:8] Set("Local/16505762975@follow-attempt-b237,2", "LOG-CONNID=5") in new stack -- Executing [s@macro-db-connect:9] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [16505762975@follow-attempt:2] Set("Local/16505762975@follow-attempt-b237,2", "THROWN-CHANNEL=Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [16505762975@follow-attempt:3] Set("Local/16505762975@follow-attempt-b237,2", "THROWN-UNIQUEID=1201636502.2-ms1.dev1") in new stack -- Executing [16505762975@follow-attempt:4] Macro("Local/16505762975@follow-attempt-b237,2", "throw-chan-event|new|Local/16505762975@follow-attempt-b237,2|1201636502.2-ms1.dev1") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("Local/16505762975@follow-attempt-b237,2", "Channel|type: new|uniqueid: 1201636502.2-ms1.dev1| name: Local/16505762975@follow-attempt-b237,2| callerid: 6504035830") in new stack -- Executing [16505762975@follow-attempt:5] Set("Local/16505762975@follow-attempt-b237,2", "CHAN-EVENT-NEW=1") in new stack -- Executing [16505762975@follow-attempt:6] Set("Local/16505762975@follow-attempt-b237,2", "CALL-LOG-STATUS=0") in new stack -- Executing [16505762975@follow-attempt:7] Set("Local/16505762975@follow-attempt-b237,2", "CALLLOG-DETAIL=0") in new stack -- Executing [16505762975@follow-attempt:8] Set("Local/16505762975@follow-attempt-b237,2", "CALLLOG-TYPE=1") in new stack -- Executing [16505762975@follow-attempt:9] Set("Local/16505762975@follow-attempt-b237,2", "CALL-EVENTS=2;17;") in new stack -- Executing [16505762975@follow-attempt:10] Set("Local/16505762975@follow-attempt-b237,2", "CALLER-LOOKUP=1-6504035830") in new stack -- Executing [16505762975@follow-attempt:11] Set("Local/16505762975@follow-attempt-b237,2", "_FM-LOCATION=16505762975") in new stack -- Executing [16505762975@follow-attempt:12] Set("Local/16505762975@follow-attempt-b237,2", "NUMBER-LOOKUP=1-6502423020") in new stack -- Executing [16505762975@follow-attempt:13] Set("Local/16505762975@follow-attempt-b237,2", "CALLER-CNTYCODE=1") in new stack -- Executing [16505762975@follow-attempt:14] Set("Local/16505762975@follow-attempt-b237,2", "CALLER-REMAIN=6504035830") in new stack -- Executing [16505762975@follow-attempt:15] Set("Local/16505762975@follow-attempt-b237,2", "DIALED-NUMBER=16505762975") in new stack -- Executing [16505762975@follow-attempt:16] Set("Local/16505762975@follow-attempt-b237,2", "CALLING-PARTY=16504035830") in new stack -- Executing [16505762975@follow-attempt:17] Set("Local/16505762975@follow-attempt-b237,2", "INBOUND-AFFILIATION=33") in new stack -- Executing [16505762975@follow-attempt:18] Set("Local/16505762975@follow-attempt-b237,2", "CALL-EVENTS-FUNC-ID=58469") in new stack -- Executing [16505762975@follow-attempt:19] Macro("Local/16505762975@follow-attempt-b237,2", "throw-func-id|58469") in new stack -- Executing [s@macro-throw-func-id:1] UserEvent("Local/16505762975@follow-attempt-b237,2", "FunctionId|funcId: 58469|uniqueid: 1201636502.2-ms1.dev1") in new stack -- Executing [16505762975@follow-attempt:20] Set("Local/16505762975@follow-attempt-b237,2", "INBOUND-DESTINATION=1") in new stack -- Executing [16505762975@follow-attempt:21] Set("Local/16505762975@follow-attempt-b237,2", "STATUS-VOICEOUT=tplocal/us/eng/johnny") in new stack -- Executing [16505762975@follow-attempt:22] Set("Local/16505762975@follow-attempt-b237,2", "CALLERID(num)=6504035830") in new stack -- Executing [16505762975@follow-attempt:23] Set("Local/16505762975@follow-attempt-b237,2", "CHANNEL(language)=tplocal/us/eng/johnny") in new stack -- Executing [16505762975@follow-attempt:24] Set("Local/16505762975@follow-attempt-b237,2", "CDR(userfield)=33") in new stack -- Executing [16505762975@follow-attempt:25] Set("Local/16505762975@follow-attempt-b237,2", "CALLLOG-FUNC-ID=58469") in new stack -- Executing [16505762975@follow-attempt:26] Set("Local/16505762975@follow-attempt-b237,2", "BILLED-PARTY=1") in new stack -- Executing [16505762975@follow-attempt:27] Set("Local/16505762975@follow-attempt-b237,2", "SYSTEM-ID=11") in new stack -- Executing [16505762975@follow-attempt:28] Set("Local/16505762975@follow-attempt-b237,2", "INTERNAL-AFFILIATION=33") in new stack -- Executing [16505762975@follow-attempt:29] Set("Local/16505762975@follow-attempt-b237,2", "PROFILE-NOTIFY=1") in new stack -- Executing [16505762975@follow-attempt:30] Set("Local/16505762975@follow-attempt-b237,2", "FM-FULL-LOCATION=1-6505762975") in new stack -- Executing [16505762975@follow-attempt:31] Set("Local/16505762975@follow-attempt-b237,2", "STATUS-AUDIO=1") in new stack -- Executing [16505762975@follow-attempt:32] Set("Local/16505762975@follow-attempt-b237,2", "STATUS-NAME=Work & !play") in new stack -- Executing [16505762975@follow-attempt:33] Set("Local/16505762975@follow-attempt-b237,2", "COMPANY-CALL-TRANSFER=1") in new stack -- Executing [16505762975@follow-attempt:34] Set("Local/16505762975@follow-attempt-b237,2", "COMPANY-MAX-CALLS=8") in new stack -- Executing [16505762975@follow-attempt:35] Set("Local/16505762975@follow-attempt-b237,2", "ATTEMPT-DURATION=24") in new stack -- Executing [16505762975@follow-attempt:36] Set("Local/16505762975@follow-attempt-b237,2", "FUNC-PROFILE=1") in new stack -- Executing [16505762975@follow-attempt:37] Set("Local/16505762975@follow-attempt-b237,2", "USER=1") in new stack -- Executing [16505762975@follow-attempt:38] Set("Local/16505762975@follow-attempt-b237,2", "ACTIVE-CALL-SET=1") in new stack -- Executing [16505762975@follow-attempt:39] Macro("Local/16505762975@follow-attempt-b237,2", "add-new-call|11|1201636502|58469|1201636502.2-ms1.dev1|33|virtual|3|2") in new stack -- Executing [s@macro-add-new-call:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 SELECT Id FROM activeCalls WHERE state=1 AND functionId=58469") in new stack -- Executing [s@macro-add-new-call:2] MYSQL("Local/16505762975@follow-attempt-b237,2", "Fetch fetchid 6 PENDING-CALL") in new stack -- Executing [s@macro-add-new-call:3] MYSQL("Local/16505762975@follow-attempt-b237,2", "Clear 6") in new stack -- Executing [s@macro-add-new-call:4] ExecIf("Local/16505762975@follow-attempt-b237,2", "1|Set|ACTIVE-CALL-TYPE=1") in new stack -- Executing [s@macro-add-new-call:5] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|Set|ACTIVE-CALL-TYPE=4") in new stack -- Executing [s@macro-add-new-call:6] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|Set|ACTIVE-CALL-TYPE=5") in new stack -- Executing [s@macro-add-new-call:7] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|Set|ACTIVE-CALL-TYPE=3") in new stack -- Executing [s@macro-add-new-call:8] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?single:check-pending") in new stack -- Goto (macro-add-new-call,s,14) -- Executing [s@macro-add-new-call:14] GotoIf("Local/16505762975@follow-attempt-b237,2", "?update-pending:add-call") in new stack -- Goto (macro-add-new-call,s,18) -- Executing [s@macro-add-new-call:18] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 INSERT INTO activeCalls (functionId, uniqueid, nodeId, startTime, affiliation, type, leg, state) VALUES (58469, '1201636502.2-ms1.dev1', 11, 1201636502, 033, 1, 3, 2)") in new stack -- Executing [s@macro-add-new-call:19] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 4 SELECT activeCalls.Id FROM activeCalls WHERE uniqueid='1201636502.2-ms1.dev1'") in new stack -- Executing [s@macro-add-new-call:20] MYSQL("Local/16505762975@follow-attempt-b237,2", "Fetch fetchid 6 CALL-TRACK-ID") in new stack -- Executing [s@macro-add-new-call:21] NoOp("Local/16505762975@follow-attempt-b237,2", "inserted id: 8555") in new stack -- Executing [s@macro-add-new-call:22] MYSQL("Local/16505762975@follow-attempt-b237,2", "Clear 6") in new stack -- Executing [16505762975@follow-attempt:40] Set("Local/16505762975@follow-attempt-b237,2", "_FMLEG-CALL-TRACK-ID=8555") in new stack -- Executing [16505762975@follow-attempt:41] Set("Local/16505762975@follow-attempt-b237,2", "CALL-OPTIONS=") in new stack -- Executing [16505762975@follow-attempt:42] ExecIf("Local/16505762975@follow-attempt-b237,2", "1|Set|CALL-OPTIONS=t") in new stack -- Executing [16505762975@follow-attempt:43] Set("Local/16505762975@follow-attempt-b237,2", "FOLLOW-TRANSFER=1") in new stack -- Executing [16505762975@follow-attempt:44] Macro("Local/16505762975@follow-attempt-b237,2", "trunk|16505762975|24|t|33|1-6505762975|1|58469") in new stack -- Executing [s@macro-trunk:1] Set("Local/16505762975@follow-attempt-b237,2", "CALL-CHECK-TIMER=1201636502") in new stack -- Executing [s@macro-trunk:2] Set("Local/16505762975@follow-attempt-b237,2", "CALL-PDD=0") in new stack -- Executing [s@macro-trunk:3] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?increase-weight:check-active-calls") in new stack -- Goto (macro-trunk,s,6) -- Executing [s@macro-trunk:6] Macro("Local/16505762975@follow-attempt-b237,2", "count-active-calls|33|1") in new stack -- Executing [s@macro-count-active-calls:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 SELECT COUNT(DISTINCT(functionId)) FROM activeCalls WHERE activeCalls.affiliation=33 AND activeCalls.affiliation!=100 AND activeCalls.state!=1") in new stack -- Executing [s@macro-count-active-calls:2] MYSQL("Local/16505762975@follow-attempt-b237,2", "Fetch fetchid 6 COUNT-ACTIVE-CALLS") in new stack -- Executing [s@macro-count-active-calls:3] MYSQL("Local/16505762975@follow-attempt-b237,2", "Clear 6") in new stack -- Executing [s@macro-trunk:7] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-trunk:8] NoOp("Local/16505762975@follow-attempt-b237,2", "Active calls for this user: 1") in new stack -- Executing [s@macro-trunk:9] NoOp("Local/16505762975@follow-attempt-b237,2", "Allowed concurrent calls: 8") in new stack -- Executing [s@macro-trunk:10] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-trunk:11] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?loop-detected:add-header") in new stack -- Goto (macro-trunk,s,13) -- Executing [s@macro-trunk:13] SIPAddHeader("Local/16505762975@follow-attempt-b237,2", "X-Function-Id: 58469") in new stack -- Executing [s@macro-trunk:14] SIPAddHeader("Local/16505762975@follow-attempt-b237,2", "X-Unique-Id: 1201636502.2-ms1.dev1") in new stack -- Executing [s@macro-trunk:15] SIPAddHeader("Local/16505762975@follow-attempt-b237,2", "X-Lcr-Affiliation: 33") in new stack -- Executing [s@macro-trunk:16] NoOp("Local/16505762975@follow-attempt-b237,2", " Full Number Format: 1-6505762975 ") in new stack -- Executing [s@macro-trunk:17] Macro("Local/16505762975@follow-attempt-b237,2", "get-limit|0|33|16505762975|1|0|58469") in new stack -- Executing [s@macro-get-limit:1] GotoIf("Local/16505762975@follow-attempt-b237,2", "?query-limit") in new stack -- Executing [s@macro-get-limit:2] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?no-limit") in new stack -- Executing [s@macro-get-limit:3] Set("Local/16505762975@follow-attempt-b237,2", "AUTOCALL-CONFERENCE=0") in new stack -- Executing [s@macro-get-limit:4] AGI("Local/16505762975@follow-attempt-b237,2", "agi://ms2.dev1.talkplus.com:4573/minute.agi?provider=0&customer=33&number=16505762975&function=58469&conference=0)") in new stack -- AGI Script agi://ms2.dev1.talkplus.com:4573/minute.agi?provider=0&customer=33&number=16505762975&function=58469&conference=0) completed, returning 0 -- Executing [s@macro-get-limit:5] Set("Local/16505762975@follow-attempt-b237,2", "MAX-CALL-LENGTH=6236040") in new stack -- Executing [s@macro-get-limit:6] Set("Local/16505762975@follow-attempt-b237,2", "CALL-ALLOW=1") in new stack -- Executing [s@macro-get-limit:7] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-get-limit:8] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-get-limit:9] NoOp("Local/16505762975@follow-attempt-b237,2", " Minutes: 103934 Seconds: 6236040 ") in new stack -- Executing [s@macro-get-limit:10] NoOp("Local/16505762975@follow-attempt-b237,2", " Allow: 1 ") in new stack -- Executing [s@macro-get-limit:11] NoOp("Local/16505762975@follow-attempt-b237,2", " Warning: 0 ") in new stack -- Executing [s@macro-get-limit:12] NoOp("Local/16505762975@follow-attempt-b237,2", " Result Code: 0 ") in new stack -- Executing [s@macro-get-limit:13] NoOp("Local/16505762975@follow-attempt-b237,2", " Limit Call: 1 ") in new stack -- Executing [s@macro-get-limit:14] NoOp("Local/16505762975@follow-attempt-b237,2", " Trial ID: 0 ") in new stack -- Executing [s@macro-get-limit:15] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-get-limit:16] NoOp("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-get-limit:17] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?lock-trial:select-billed") in new stack -- Goto (macro-get-limit,s,19) -- Executing [s@macro-get-limit:19] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?msg-caller:msg-callee") in new stack -- Goto (macro-get-limit,s,23) -- Executing [s@macro-get-limit:23] Set("Local/16505762975@follow-attempt-b237,2", "LIMIT_PLAYAUDIO_CALLER=no") in new stack -- Executing [s@macro-get-limit:24] Set("Local/16505762975@follow-attempt-b237,2", "LIMIT_PLAYAUDIO_CALLEE=yes") in new stack -- Executing [s@macro-get-limit:25] Goto("Local/16505762975@follow-attempt-b237,2", "check-allow") in new stack -- Goto (macro-get-limit,s,26) -- Executing [s@macro-get-limit:26] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?not-allowed") in new stack -- Executing [s@macro-get-limit:27] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?fraud-check") in new stack -- Executing [s@macro-get-limit:28] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?no-limit") in new stack -- Executing [s@macro-get-limit:29] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?out-of-minutes") in new stack -- Executing [s@macro-get-limit:30] Set("Local/16505762975@follow-attempt-b237,2", "CALL-LIMIT=-2147483648") in new stack -- Executing [s@macro-get-limit:31] Set("Local/16505762975@follow-attempt-b237,2", "INITIAL-WARN=300000") in new stack -- Executing [s@macro-get-limit:32] Set("Local/16505762975@follow-attempt-b237,2", "INTERVAL-WARN=100000") in new stack -- Executing [s@macro-get-limit:33] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?macro-exit") in new stack -- Executing [s@macro-get-limit:34] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?play-call-limit") in new stack -- Executing [s@macro-get-limit:35] Goto("Local/16505762975@follow-attempt-b237,2", "macro-exit") in new stack -- Goto (macro-get-limit,s,66) -- Executing [s@macro-get-limit:66] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-trunk:18] GotoIf("Local/16505762975@follow-attempt-b237,2", "?reroute:check-allow") in new stack -- Goto (macro-trunk,s,33) -- Executing [s@macro-trunk:33] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?call-end:dial-call") in new stack -- Goto (macro-trunk,s,34) -- Executing [s@macro-trunk:34] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?start-record:check-dial") in new stack -- Goto (macro-trunk,s,37) -- Executing [s@macro-trunk:37] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?local-alert:local-dial") in new stack -- Goto (macro-trunk,s,40) -- Executing [s@macro-trunk:40] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?local-dial") in new stack -- Executing [s@macro-trunk:41] Set("Local/16505762975@follow-attempt-b237,2", "_BRIDGE-CHANNEL=Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@macro-trunk:42] Set("Local/16505762975@follow-attempt-b237,2", "_BRIDGE-OPTIONS=tgL(-2147483648:300000:100000)") in new stack -- Executing [s@macro-trunk:43] Set("Local/16505762975@follow-attempt-b237,2", "_ALERT-AUDIO=1") in new stack -- Executing [s@macro-trunk:44] Set("Local/16505762975@follow-attempt-b237,2", "_ALERT-NAME=Work & !play") in new stack -- Executing [s@macro-trunk:45] Macro("Local/16505762975@follow-attempt-b237,2", "dial-via-dist|16505762975|24|tgrL(-2147483648:300000:100000)G(call-alert^s^1)") in new stack -- Executing [s@macro-dial-via-dist:1] SIPAddHeader("Local/16505762975@follow-attempt-b237,2", "X-Trace-Id: 13469") in new stack -- Executing [s@macro-dial-via-dist:2] SIPAddHeader("Local/16505762975@follow-attempt-b237,2", "X-Trace-Level: 2") in new stack -- Executing [s@macro-dial-via-dist:3] Macro("Local/16505762975@follow-attempt-b237,2", "add-trace-event|1|13469|ms1.dev1||16505762975|dial|ms1.dev1|dst1.dev1.talkplus.com||Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,2) -- Executing [s@macro-add-trace-event:2] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 INSERT INTO traceDetail (traceId, timestamp, nodeId, callerId, calledNum, event, eventFrom, eventTo, eventData, eventNotes) VALUES (13469, 1201636503, 'ms1.dev1', '', '16505762975', 'dial', 'ms1.dev1', 'dst1.dev1.talkplus.com', '', 'Local/16505762975@follow-attempt-b237,2')") in new stack -- Executing [s@macro-add-trace-event:3] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [s@macro-dial-via-dist:4] Dial("Local/16505762975@follow-attempt-b237,2", "SIP/dst1.dev1.talkplus.com/16505762975|24|tgrL(-2147483648:300000:100000)G(call-alert^s^1)") in new stack -- Setting call duration limit to -2147483 seconds. -- Called dst1.dev1.talkplus.com/16505762975 -- Local/16505762975@follow-attempt-b237,1 is ringing -- Call on SIP/dst1.dev1.talkplus.com-00799f30 left from hold -- SIP/dst1.dev1.talkplus.com-00799f30 is making progress passing it to Local/16505762975@follow-attempt-b237,2 -- Call on SIP/dst1.dev1.talkplus.com-00799f30 left from hold -- SIP/dst1.dev1.talkplus.com-00799f30 answered Local/16505762975@follow-attempt-b237,2 == Channel 'Local/16505762975@follow-attempt-b237,2' jumping out of macro 'dial-via-dist' == Channel 'Local/16505762975@follow-attempt-b237,2' jumping out of macro 'trunk' -- Executing [s@call-alert:1] Goto("Local/16505762975@follow-attempt-b237,2", "calling-party") in new stack -- Goto (call-alert,s,3) -- Executing [s@call-alert:3] NoOp("Local/16505762975@follow-attempt-b237,2", "Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@call-alert:4] NoOp("Local/16505762975@follow-attempt-b237,2", "Function: 58469 channel: Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@call-alert:5] Set("Local/16505762975@follow-attempt-b237,2", "CALL-EVENTS-FUNC-ID=58469") in new stack -- Executing [s@call-alert:6] Wait("Local/16505762975@follow-attempt-b237,2", "50") in new stack -- Executing [s@call-alert:2] Goto("SIP/dst1.dev1.talkplus.com-00799f30", "called-party") in new stack -- Goto (call-alert,s,8) -- Executing [s@call-alert:8] NoOp("SIP/dst1.dev1.talkplus.com-00799f30", "SIP/dst1.dev1.talkplus.com-00799f30") in new stack -- Executing [s@call-alert:9] NoOp("SIP/dst1.dev1.talkplus.com-00799f30", "Function: 58469 channel: Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@call-alert:10] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALL-EVENTS-FUNC-ID=58469") in new stack -- Executing [s@call-alert:11] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALL-EVENTS=2;20;") in new stack -- Executing [s@call-alert:12] Set("SIP/dst1.dev1.talkplus.com-00799f30", "ACTIVE-CALL-SET=1") in new stack -- Executing [s@call-alert:13] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALL-TRACK-ID=8555") in new stack -- Executing [s@call-alert:14] Set("SIP/dst1.dev1.talkplus.com-00799f30", "DIALED-NUMBER=16505762975") in new stack -- Executing [s@call-alert:15] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] call-alert Userfield = ") in new stack [13469] call-alert Userfield = -- Executing [s@call-alert:16] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CDR(userfield)=33") in new stack -- Executing [s@call-alert:17] Set("SIP/dst1.dev1.talkplus.com-00799f30", "INBOUND-AFFILIATION=33") in new stack -- Executing [s@call-alert:18] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] call-alert Userfield = 33") in new stack [13469] call-alert Userfield = 33 -- Executing [s@call-alert:19] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "db-connect") in new stack -- Executing [s@macro-db-connect:1] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?check-log-db") in new stack -- Executing [s@macro-db-connect:2] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CON-GENERAL-DB=1") in new stack -- Executing [s@macro-db-connect:3] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "connect-dynamic-db") in new stack -- Executing [s@macro-connect-dynamic-db:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Connect dy-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:4] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CONNID=6") in new stack -- Executing [s@macro-db-connect:5] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?end-macro") in new stack -- Executing [s@macro-db-connect:6] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CON-LOG-DB=1") in new stack -- Executing [s@macro-db-connect:7] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "connect-static-db") in new stack -- Executing [s@macro-connect-static-db:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Connect st-connid db1.dev1.talkplus.com user pwd db") in new stack -- Executing [s@macro-db-connect:8] Set("SIP/dst1.dev1.talkplus.com-00799f30", "LOG-CONNID=7") in new stack -- Executing [s@macro-db-connect:9] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [s@call-alert:20] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STATUS-AUDIO=1") in new stack -- Executing [s@call-alert:21] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STATUS-NAME=Work & !play") in new stack -- Executing [s@call-alert:22] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "profile-alert|1|Work & !play|7|1|58469") in new stack -- Executing [s@macro-profile-alert:1] Set("SIP/dst1.dev1.talkplus.com-00799f30", "MACRO_RESULT=BUSY") in new stack -- Executing [s@macro-profile-alert:2] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALL-IN-PROGRESS=1") in new stack -- Executing [s@macro-profile-alert:3] Set("SIP/dst1.dev1.talkplus.com-00799f30", "DB(58469/alert_result)=0") in new stack -- Executing [s@macro-profile-alert:4] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Query resultid 7 SELECT profile_name.audio_file FROM profile_name WHERE profile_name='Work & !play' LIMIT 1") in new stack -- Executing [s@macro-profile-alert:5] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Fetch fetchid 8 FILENAME") in new stack -- Executing [s@macro-profile-alert:6] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Clear 8") in new stack -- Executing [s@macro-profile-alert:7] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?name:number") in new stack -- Goto (macro-profile-alert,s,27) -- Executing [s@macro-profile-alert:27] Wait("SIP/dst1.dev1.talkplus.com-00799f30", "0.5") in new stack -- Executing [s@macro-profile-alert:28] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?check-name:say-number)") in new stack -- Goto (macro-profile-alert,s,29) -- Executing [s@macro-profile-alert:29] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?say-number:say-name") in new stack -- Goto (macro-profile-alert,s,34) -- Executing [s@macro-profile-alert:34] Festival("SIP/dst1.dev1.talkplus.com-00799f30", "Work & !play|123") in new stack == Parsing '/etc/asterisk/festival.conf': Found -- Executing [s@macro-profile-alert:35] Read("SIP/dst1.dev1.talkplus.com-00799f30", "SCREEN-ANSWER|profile|1||1|250") in new stack -- Accepting a maximum of 1 digits. -- Playing 'profile' (language 'tplocal/us/eng/johnny') -- User entered nothing. -- Executing [s@macro-profile-alert:36] Goto("SIP/dst1.dev1.talkplus.com-00799f30", "cont-num") in new stack -- Goto (macro-profile-alert,s,47) -- Executing [s@macro-profile-alert:47] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?answer") in new stack -- Executing [s@macro-profile-alert:48] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?voicemail") in new stack -- Executing [s@macro-profile-alert:49] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?screen") in new stack -- Executing [s@macro-profile-alert:50] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?no-key") in new stack -- Executing [s@macro-profile-alert:51] Read("SIP/dst1.dev1.talkplus.com-00799f30", "SCREEN-ANSWER|inbound-call-options-no-voice|1||2|3000") in new stack -- Accepting a maximum of 1 digits. -- Playing 'inbound-call-options-no-voice' (language 'tplocal/us/eng/johnny') -- User entered '1' -- Executing [s@macro-profile-alert:52] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?answer") in new stack -- Goto (macro-profile-alert,s,58) -- Executing [s@macro-profile-alert:58] Set("SIP/dst1.dev1.talkplus.com-00799f30", "SCREEN-RESULT=1") in new stack -- Executing [s@macro-profile-alert:59] Set("SIP/dst1.dev1.talkplus.com-00799f30", "DB(58469/alert_result)=1") in new stack -- Executing [s@macro-profile-alert:60] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALL-IN-PROGRESS=0") in new stack -- Executing [s@macro-profile-alert:61] Set("SIP/dst1.dev1.talkplus.com-00799f30", "MACRO_RESULT=") in new stack -- Executing [s@macro-profile-alert:62] Set("SIP/dst1.dev1.talkplus.com-00799f30", "58469=1") in new stack -- Executing [s@macro-profile-alert:63] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CALLLOG-DETAIL=4096") in new stack -- Executing [s@macro-profile-alert:64] Playback("SIP/dst1.dev1.talkplus.com-00799f30", "beep") in new stack -- Playing 'beep' (language 'tplocal/us/eng/johnny') -- Executing [s@macro-profile-alert:65] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [s@call-alert:23] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?connect") in new stack -- Goto (call-alert,s,28) -- Executing [s@call-alert:28] Bridge("SIP/dst1.dev1.talkplus.com-00799f30", "Local/16505762975@follow-attempt-b237,2|tgL(-2147483648:300000:100000)") in new stack -- Local/16505762975@follow-attempt-b237,1 answered SIP/38.99.69.210-006c0520 == Spawn extension (call-alert, s, 6) exited non-zero on 'Bridge/Local/16505762975@follow-attempt-b237,2' -- Executing [h@call-alert:1] NoOp("Bridge/Local/16505762975@follow-attempt-b237,2", " HANGING up the call ") in new stack -- Executing [h@call-alert:2] Verbose("Bridge/Local/16505762975@follow-attempt-b237,2", "1| [] Userfield = ") in new stack [] Userfield = > -- Executing [h@call-alert:3] Verbose("Bridge/Local/16505762975@follow-attempt-b237,2", "1| [] Call Log Affiliation = ") in new stack [] Call Log Affiliation = -- Executing [h@call-alert:4] Verbose("Bridge/Local/16505762975@follow-attempt-b237,2", "1| [] Internal Affiliation = ") in new stack [] Internal Affiliation = -- Executing [h@call-alert:5] Verbose("Bridge/Local/16505762975@follow-attempt-b237,2", "1| [] Inbound Affiliation = ") in new stack [] Inbound Affiliation = -- Executing [h@call-alert:6] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?set-userfield-calllog:check-internal-affiliation") in new stack -- Goto (call-alert,h,9) -- Executing [h@call-alert:9] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?set-userfield-internal:check-inbound-affiliation") in new stack -- Goto (call-alert,h,12) -- Executing [h@call-alert:12] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?set-userfield-inbound:mysql-clear-hanging") in new stack -- Goto (call-alert,h,15) -- Executing [h@call-alert:15] Verbose("Bridge/Local/16505762975@follow-attempt-b237,2", "1| [] Userfield set to ") in new stack [] Userfield set to -- Executing [h@call-alert:16] MYSQL("Bridge/Local/16505762975@follow-attempt-b237,2", "Clear ") in new stack [Jan 29 19:55:18] WARNING[11796]: app_addon_sql_mysql.c:114 find_identifier: Identifier 0, identifier_type 2 not found in identifier list [Jan 29 19:55:18] WARNING[11796]: app_addon_sql_mysql.c:353 aMYSQL_clear: Invalid result identifier 0 passed in aMYSQL_clear -- Executing [h@call-alert:17] Macro("Bridge/Local/16505762975@follow-attempt-b237,2", "add-trace-event|1||ms1.dev1|||hangup||||Bridge/Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,3) -- Executing [s@macro-add-trace-event:3] MacroExit("Bridge/Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:18] NoOp("Bridge/Local/16505762975@follow-attempt-b237,2", "PDD: STATS: ") in new stack -- Executing [h@call-alert:19] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?log-stats:check-pdd") in new stack -- Goto (call-alert,h,20) -- Executing [h@call-alert:20] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?check-virtual") in new stack -- Goto (call-alert,h,46) -- Executing [h@call-alert:46] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?check-alert-status:check-virtual-missed") in new stack -- Goto (call-alert,h,48) -- Executing [h@call-alert:48] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?set-detail-missed:check-vm-list") in new stack -- Goto (call-alert,h,50) -- Executing [h@call-alert:50] ExecIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0|Macro|VMMsgListFlush") in new stack -- Executing [h@call-alert:51] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?clear-fm-list:check-call-events") in new stack -- Goto (call-alert,h,55) -- Executing [h@call-alert:55] ExecIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0|DBdeltree|") in new stack -- Executing [h@call-alert:56] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?check-voicemail") in new stack -- Goto (call-alert,h,61) -- Executing [h@call-alert:61] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?check-voicemail-status:check-call-log") in new stack -- Goto (call-alert,h,72) -- Executing [h@call-alert:72] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?clear-conference-files") in new stack -- Executing [h@call-alert:73] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?clear-conference-files:write-calllog") in new stack -- Goto (call-alert,h,74) -- Executing [h@call-alert:74] Macro("Bridge/Local/16505762975@follow-attempt-b237,2", "write-calllog|||||||") in new stack -- Executing [s@macro-write-calllog:1] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?end-macro") in new stack -- Goto (macro-write-calllog,s,3) -- Executing [s@macro-write-calllog:3] MacroExit("Bridge/Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:75] System("Bridge/Local/16505762975@follow-attempt-b237,2", "rm /var/spool/asterisk/CC-*") in new stack -- Executing [h@call-alert:76] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?check-bad-verify-1:check-active-call") in new stack -- Goto (call-alert,h,79) -- Executing [h@call-alert:79] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?delete-active-call:check-trial-lock") in new stack -- Goto (call-alert,h,81) -- Executing [h@call-alert:81] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?check-trial-unlock:check-evmsg") in new stack -- Goto (call-alert,h,83) -- Executing [h@call-alert:83] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?move-temp-file:check-evmsg-1") in new stack -- Goto (call-alert,h,86) -- Executing [h@call-alert:86] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?send-evmsg:check-voice-email") in new stack -- Goto (call-alert,h,89) -- Executing [h@call-alert:89] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?send-sip-vmsg:close-database-connections") in new stack -- Goto (call-alert,h,93) -- Executing [h@call-alert:93] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?close-gen-db-con:check-log-db-con") in new stack -- Goto (call-alert,h,95) -- Executing [h@call-alert:95] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "?close-log-db-con:check-outbound-call") in new stack -- Goto (call-alert,h,97) -- Executing [h@call-alert:97] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "0?throw-this-channel-hangup:throw-missing-channel-hangup") in new stack -- Goto (call-alert,h,98) -- Executing [h@call-alert:98] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?throw-this-channel-hangup") in new stack -- Goto (call-alert,h,100) -- Executing [h@call-alert:100] Macro("Bridge/Local/16505762975@follow-attempt-b237,2", "throw-chan-event|hangup||") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("Bridge/Local/16505762975@follow-attempt-b237,2", "Channel|type: hangup|uniqueid: | name: | callerid: ") in new stack -- Executing [h@call-alert:101] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?check-inbound-call:|900") in new stack -- Goto (call-alert,h,102) -- Executing [h@call-alert:102] GotoIf("Bridge/Local/16505762975@follow-attempt-b237,2", "1?finalize-call:|900") in new stack -- Goto (call-alert,h,103) -- Executing [h@call-alert:103] NoOp("Bridge/Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:1] NoOp("SIP/dst1.dev1.talkplus.com-00799f30", " HANGING up the call ") in new stack -- Executing [h@call-alert:2] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Userfield = 3333;33") in new stack [13469] Userfield = 3333;33 -- Executing [h@call-alert:3] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Call Log Affiliation = ") in new stack [13469] Call Log Affiliation = -- Executing [h@call-alert:4] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Internal Affiliation = ") in new stack [13469] Internal Affiliation = -- Executing [h@call-alert:5] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Inbound Affiliation = 33") in new stack [13469] Inbound Affiliation = 33 -- Executing [h@call-alert:6] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?set-userfield-calllog:check-internal-affiliation") in new stack -- Goto (call-alert,h,9) -- Executing [h@call-alert:9] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?set-userfield-internal:check-inbound-affiliation") in new stack -- Goto (call-alert,h,12) -- Executing [h@call-alert:12] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "33?set-userfield-inbound:mysql-clear-hanging") in new stack -- Goto (call-alert,h,13) -- Executing [h@call-alert:13] Set("SIP/dst1.dev1.talkplus.com-00799f30", "CDR(userfield)=33") in new stack -- Executing [h@call-alert:14] Goto("SIP/dst1.dev1.talkplus.com-00799f30", "mysql-clear-hanging") in new stack -- Goto (call-alert,h,15) -- Executing [h@call-alert:15] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Userfield set to 33") in new stack [13469] Userfield set to 33 -- Executing [h@call-alert:16] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Clear 8") in new stack [Jan 29 19:55:48] WARNING[11797]: app_addon_sql_mysql.c:114 find_identifier: Identifier 8, identifier_type 2 not found in identifier list [Jan 29 19:55:48] WARNING[11797]: app_addon_sql_mysql.c:353 aMYSQL_clear: Invalid result identifier 8 passed in aMYSQL_clear -- Executing [h@call-alert:17] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "add-trace-event|1|13469|ms1.dev1||16505762975|hangup||||SIP/dst1.dev1.talkplus.com-00799f30") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,2) -- Executing [s@macro-add-trace-event:2] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Query resultid 7 INSERT INTO traceDetail (traceId, timestamp, nodeId, callerId, calledNum, event, eventFrom, eventTo, eventData, eventNotes) VALUES (13469, 1201636548, 'ms1.dev1', '', '16505762975', 'hangup', '', '', '', 'SIP/dst1.dev1.talkplus.com-00799f30')") in new stack -- Executing [s@call-alert:7] Hangup("Local/16505762975@follow-attempt-b237,2", "") in new stack == Spawn extension (call-alert, s, 7) exited non-zero on 'Local/16505762975@follow-attempt-b237,2' -- Executing [h@call-alert:1] NoOp("Local/16505762975@follow-attempt-b237,2", " HANGING up the call ") in new stack -- Executing [h@call-alert:2] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Userfield = ") in new stack [13469] Userfield = -- Executing [h@call-alert:3] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Call Log Affiliation = ") in new stack -- Executing [s@macro-add-trace-event:3] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [h@call-alert:18] NoOp("SIP/dst1.dev1.talkplus.com-00799f30", "PDD: STATS: ssrc=764992112;themssrc=495331665;lp=7065;rxjitter=0.000095;rxcount=2092;txjitter=0.000000;txcount=1733;rlp=1;rtt=0.001922") in new stack -- Executing [h@call-alert:19] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "ssrc=764992112;themssrc=495331665;lp=7065;rxjitter=0.000095;rxcount=2092;txjitter=0.000000;txcount=1733;rlp=1;rtt=0.001922?log-stats:check-pdd") in new stack -- Goto (call-alert,h,30) -- Executing [h@call-alert:30] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-LP=lp=7065") in new stack -- Executing [h@call-alert:31] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-RXJITTER=rxjitter=0.000095") in new stack -- Executing [h@call-alert:32] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-RXCOUNT=rxcount=2092") in new stack -- Executing [h@call-alert:33] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-TXJITTER=txjitter=0.000000") in new stack -- Executing [h@call-alert:34] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-TXCOUNT=txcount=1733") in new stack -- Executing [h@call-alert:35] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-RLP=rlp=1") in new stack -- Executing [h@call-alert:36] Set("SIP/dst1.dev1.talkplus.com-00799f30", "STAT-RTT=rtt=0.001922") in new stack -- Executing [h@call-alert:37] ExecIf("SIP/dst1.dev1.talkplus.com-00799f30", "1|Set|CALL-PDD=-1") in new stack -- Executing [h@call-alert:38] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-LP=7065") in new stack -- Executing [h@call-alert:39] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-RXJITTER=0.000095") in new stack -- Executing [h@call-alert:40] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-RXCOUNT=2092") in new stack -- Executing [h@call-alert:41] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-TXJITTER=0.000000") in new stack -- Executing [h@call-alert:42] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-TXCOUNT=1733") in new stack -- Executing [h@call-alert:43] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-RLP=1") in new stack -- Executing [h@call-alert:44] Set("SIP/dst1.dev1.talkplus.com-00799f30", "COOKED-RTT=0.001922") in new stack -- Executing [h@call-alert:45] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "add-call-stats|1201636503.3-ms1.dev1|58469|7065|0.000095|2092|0.000000|1733|1|0.001922|-1") in new stack -- Executing [s@macro-add-call-stats:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Query resultid 7 INSERT INTO callStatistics (uniqueid,functionId,lp,rxjitter,rxcount,txjitter,txcount,rlp,rtt,pdd) VALUES ('1201636503.3-ms1.dev1',58469,7065,0.000095,2092,0.000000,1733,1,0.001922,-1)") in new stack [13469] Call Log Affiliation = -- Executing [h@call-alert:4] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Internal Affiliation = 33") in new stack [13469] Internal Affiliation = 33 -- Executing [h@call-alert:5] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Inbound Affiliation = 33") in new stack [13469] Inbound Affiliation = 33 -- Executing [h@call-alert:6] GotoIf("Local/16505762975@follow-attempt-b237,2", "?set-userfield-calllog:check-internal-affiliation") in new stack -- Goto (call-alert,h,9) -- Executing [h@call-alert:9] GotoIf("Local/16505762975@follow-attempt-b237,2", "33?set-userfield-internal:check-inbound-affiliation") in new stack -- Goto (call-alert,h,10) -- Executing [h@call-alert:10] Set("Local/16505762975@follow-attempt-b237,2", "CDR(userfield)=33") in new stack -- Executing [h@call-alert:11] Goto("Local/16505762975@follow-attempt-b237,2", "mysql-clear-hanging") in new stack -- Goto (call-alert,h,15) -- Executing [h@call-alert:15] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Userfield set to 33") in new stack [13469] Userfield set to 33 -- Executing [h@call-alert:16] MYSQL("Local/16505762975@follow-attempt-b237,2", "Clear 6") in new stack -- Executing [s@macro-add-call-stats:2] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [h@call-alert:46] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?check-alert-status:check-virtual-missed") in new stack -- Goto (call-alert,h,48) -- Executing [h@call-alert:48] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?set-detail-missed:check-vm-list") in new stack -- Goto (call-alert,h,50) -- Executing [h@call-alert:50] ExecIf("SIP/dst1.dev1.talkplus.com-00799f30", "0|Macro|VMMsgListFlush") in new stack -- Executing [h@call-alert:51] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?clear-fm-list:check-call-events") in new stack -- Goto (call-alert,h,55) -- Executing [h@call-alert:55] ExecIf("SIP/dst1.dev1.talkplus.com-00799f30", "0|DBdeltree|") in new stack -- Executing [h@call-alert:56] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?check-voicemail") in new stack -- Executing [h@call-alert:57] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "log-events|1201636503.3-ms1.dev1|||2;20;|58469") in new stack -- Executing [s@macro-log-events:1] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?set-2:check-3") in new stack -- Goto (macro-log-events,s,2) -- Executing [s@macro-log-events:2] Set("SIP/dst1.dev1.talkplus.com-00799f30", "ARG2=Null") in new stack -- Executing [s@macro-log-events:3] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?set-3:check-5") in new stack -- Goto (macro-log-events,s,4) -- Executing [s@macro-log-events:4] Set("SIP/dst1.dev1.talkplus.com-00799f30", "ARG3=Null") in new stack -- Executing [s@macro-log-events:5] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?end-macro") in new stack -- Executing [s@macro-log-events:6] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Query resultid 7 INSERT INTO callEvents (uniqueId,User,Trunk,events,functionId) VALUES ('1201636503.3-ms1.dev1',Null,Null,'2;20;',58469) ON DUPLICATE KEY UPDATE User=Null, Trunk=Null, events='2;20;', functionId=58469") in new stack -- Executing [s@macro-log-events:7] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [h@call-alert:58] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?check-voicemail") in new stack -- Executing [h@call-alert:59] ExecIf("SIP/dst1.dev1.talkplus.com-00799f30", "0|DBdeltree|58469") in new stack -- Executing [h@call-alert:60] ExecIf("SIP/dst1.dev1.talkplus.com-00799f30", "0|DBdeltree|") in new stack -- Executing [h@call-alert:61] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?check-voicemail-status:check-call-log") in new stack -- Goto (call-alert,h,72) -- Executing [h@call-alert:72] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?clear-conference-files") in new stack -- Executing [h@call-alert:73] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?clear-conference-files:write-calllog") in new stack -- Goto (call-alert,h,74) -- Executing [h@call-alert:74] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "write-calllog|||||||4096") in new stack -- Executing [s@macro-write-calllog:1] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?end-macro") in new stack -- Goto (macro-write-calllog,s,3) -- Executing [s@macro-write-calllog:3] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [h@call-alert:75] System("SIP/dst1.dev1.talkplus.com-00799f30", "rm /var/spool/asterisk/CC-*") in new stack -- Executing [h@call-alert:76] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "?check-bad-verify-1:check-active-call") in new stack -- Goto (call-alert,h,79) -- Executing [h@call-alert:79] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?delete-active-call:check-trial-lock") in new stack -- Goto (call-alert,h,80) -- Executing [h@call-alert:80] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "delete-call|8555") in new stack -- Executing [s@macro-delete-call:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Query resultid 7 DELETE FROM activeCalls WHERE Id=8555") in new stack -- Executing [s@macro-delete-call:2] Verbose("SIP/dst1.dev1.talkplus.com-00799f30", "1| [13469] Delete call Id 8555 Result was 0") in new stack [13469] Delete call Id 8555 Result was 0 -- Executing [s@macro-delete-call:3] MacroExit("SIP/dst1.dev1.talkplus.com-00799f30", "") in new stack -- Executing [h@call-alert:81] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?check-trial-unlock:check-evmsg") in new stack -- Goto (call-alert,h,83) -- Executing [h@call-alert:83] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?move-temp-file:check-evmsg-1") in new stack -- Goto (call-alert,h,86) -- Executing [h@call-alert:86] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?send-evmsg:check-voice-email") in new stack -- Goto (call-alert,h,89) -- Executing [h@call-alert:89] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?send-sip-vmsg:close-database-connections") in new stack -- Goto (call-alert,h,93) -- Executing [h@call-alert:93] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?close-gen-db-con:check-log-db-con") in new stack -- Goto (call-alert,h,94) -- Executing [h@call-alert:94] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "disconnect-dynamic-db|6") in new stack -- Executing [s@macro-disconnect-dynamic-db:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Disconnect 6") in new stack -- Executing [h@call-alert:95] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?close-log-db-con:check-outbound-call") in new stack -- Goto (call-alert,h,96) -- Executing [h@call-alert:96] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "disconnect-static-db") in new stack -- Executing [s@macro-disconnect-static-db:1] MYSQL("SIP/dst1.dev1.talkplus.com-00799f30", "Disconnect 7") in new stack -- Executing [h@call-alert:97] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?throw-this-channel-hangup:throw-missing-channel-hangup") in new stack -- Goto (call-alert,h,98) -- Executing [h@call-alert:98] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?throw-this-channel-hangup") in new stack -- Goto (call-alert,h,100) -- Executing [h@call-alert:100] Macro("SIP/dst1.dev1.talkplus.com-00799f30", "throw-chan-event|hangup||") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("SIP/dst1.dev1.talkplus.com-00799f30", "Channel|type: hangup|uniqueid: | name: | callerid: 16505762975") in new stack -- Executing [h@call-alert:101] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "1?check-inbound-call:|900") in new stack -- Goto (call-alert,h,102) -- Executing [h@call-alert:102] GotoIf("SIP/dst1.dev1.talkplus.com-00799f30", "0?finalize-call:16505762975|900") in new stack -- Goto (call-alert,16505762975,900) -- Executing [16505762975@call-alert:900] NoOp("SIP/dst1.dev1.talkplus.com-00799f30", " CALL: 16505762975 : FUNCTION: 58469 ") in new stack [Jan 29 19:55:48] WARNING[11847]: app_addon_sql_mysql.c:114 find_identifier: Identifier 6, identifier_type 2 not found in identifier list [Jan 29 19:55:48] WARNING[11847]: app_addon_sql_mysql.c:353 aMYSQL_clear: Invalid result identifier 6 passed in aMYSQL_clear -- Executing [h@call-alert:17] Macro("Local/16505762975@follow-attempt-b237,2", "add-trace-event|1|13469|ms1.dev1||16505762975|hangup||||Local/16505762975@follow-attempt-b237,2") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,2) -- Executing [s@macro-add-trace-event:2] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 INSERT INTO traceDetail (traceId, timestamp, nodeId, callerId, calledNum, event, eventFrom, eventTo, eventData, eventNotes) VALUES (13469, 1201636548, 'ms1.dev1', '', '16505762975', 'hangup', '', '', '', 'Local/16505762975@follow-attempt-b237,2')") in new stack -- Executing [s@macro-add-trace-event:3] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:18] NoOp("Local/16505762975@follow-attempt-b237,2", "PDD: 0 STATS: ") in new stack -- Executing [h@call-alert:19] GotoIf("Local/16505762975@follow-attempt-b237,2", "?log-stats:check-pdd") in new stack -- Goto (call-alert,h,20) -- Executing [h@call-alert:20] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-virtual") in new stack -- Executing [h@call-alert:21] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-virtual") in new stack -- Executing [h@call-alert:22] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-LP=0") in new stack -- Executing [h@call-alert:23] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-RXCOUNT=0") in new stack -- Executing [h@call-alert:24] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-RXJITTER=0") in new stack -- Executing [h@call-alert:25] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-TXJITTER=0") in new stack -- Executing [h@call-alert:26] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-TXCOUNT=0") in new stack -- Executing [h@call-alert:27] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-RLP=0") in new stack -- Executing [h@call-alert:28] Set("Local/16505762975@follow-attempt-b237,2", "COOKED-RTT=0") in new stack -- Executing [h@call-alert:29] Goto("Local/16505762975@follow-attempt-b237,2", "add-call-stats") in new stack -- Goto (call-alert,h,45) -- Executing [h@call-alert:45] Macro("Local/16505762975@follow-attempt-b237,2", "add-call-stats|1201636518.4-ms1.dev1|58469|0|0|0|0|0|0|0|0") in new stack -- Executing [s@macro-add-call-stats:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 INSERT INTO callStatistics (uniqueid,functionId,lp,rxjitter,rxcount,txjitter,txcount,rlp,rtt,pdd) VALUES ('1201636518.4-ms1.dev1',58469,0,0,0,0,0,0,0,0)") in new stack -- Executing [s@macro-add-call-stats:2] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:46] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-alert-status:check-virtual-missed") in new stack -- Goto (call-alert,h,48) -- Executing [h@call-alert:48] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?set-detail-missed:check-vm-list") in new stack -- Goto (call-alert,h,50) -- Executing [h@call-alert:50] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|Macro|VMMsgListFlush") in new stack -- Executing [h@call-alert:51] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?clear-fm-list:check-call-events") in new stack -- Goto (call-alert,h,55) -- Executing [h@call-alert:55] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|DBdeltree|") in new stack -- Executing [h@call-alert:56] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-voicemail") in new stack -- Executing [h@call-alert:57] Macro("Local/16505762975@follow-attempt-b237,2", "log-events|1201636518.4-ms1.dev1|||2;17;|58469") in new stack -- Executing [s@macro-log-events:1] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?set-2:check-3") in new stack -- Goto (macro-log-events,s,2) -- Executing [s@macro-log-events:2] Set("Local/16505762975@follow-attempt-b237,2", "ARG2=Null") in new stack -- Executing [s@macro-log-events:3] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?set-3:check-5") in new stack -- Goto (macro-log-events,s,4) -- Executing [s@macro-log-events:4] Set("Local/16505762975@follow-attempt-b237,2", "ARG3=Null") in new stack -- Executing [s@macro-log-events:5] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?end-macro") in new stack -- Executing [s@macro-log-events:6] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 INSERT INTO callEvents (uniqueId,User,Trunk,events,functionId) VALUES ('1201636518.4-ms1.dev1',Null,Null,'2;17;',58469) ON DUPLICATE KEY UPDATE User=Null, Trunk=Null, events='2;17;', functionId=58469") in new stack -- Executing [s@macro-log-events:7] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:58] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-voicemail") in new stack -- Executing [h@call-alert:59] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|DBdeltree|58469") in new stack -- Executing [h@call-alert:60] ExecIf("Local/16505762975@follow-attempt-b237,2", "0|DBdeltree|") in new stack -- Executing [h@call-alert:61] GotoIf("Local/16505762975@follow-attempt-b237,2", "?check-voicemail-status:check-call-log") in new stack -- Goto (call-alert,h,72) -- Executing [h@call-alert:72] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?clear-conference-files") in new stack -- Executing [h@call-alert:73] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?clear-conference-files:write-calllog") in new stack -- Goto (call-alert,h,75) -- Executing [h@call-alert:75] System("Local/16505762975@follow-attempt-b237,2", "rm /var/spool/asterisk/CC-33*") in new stack -- Executing [h@call-alert:76] GotoIf("Local/16505762975@follow-attempt-b237,2", "?check-bad-verify-1:check-active-call") in new stack -- Goto (call-alert,h,79) -- Executing [h@call-alert:79] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?delete-active-call:check-trial-lock") in new stack -- Goto (call-alert,h,80) -- Executing [h@call-alert:80] Macro("Local/16505762975@follow-attempt-b237,2", "delete-call|8555") in new stack -- Executing [s@macro-delete-call:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Query resultid 5 DELETE FROM activeCalls WHERE Id=8555") in new stack -- Executing [s@macro-delete-call:2] Verbose("Local/16505762975@follow-attempt-b237,2", "1| [13469] Delete call Id 8555 Result was 0") in new stack [13469] Delete call Id 8555 Result was 0 -- Executing [s@macro-delete-call:3] MacroExit("Local/16505762975@follow-attempt-b237,2", "") in new stack -- Executing [h@call-alert:81] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?check-trial-unlock:check-evmsg") in new stack -- Goto (call-alert,h,83) -- Executing [h@call-alert:83] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?move-temp-file:check-evmsg-1") in new stack -- Goto (call-alert,h,86) -- Executing [h@call-alert:86] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?send-evmsg:check-voice-email") in new stack -- Goto (call-alert,h,89) -- Executing [h@call-alert:89] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?send-sip-vmsg:close-database-connections") in new stack -- Goto (call-alert,h,93) -- Executing [h@call-alert:93] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?close-gen-db-con:check-log-db-con") in new stack -- Goto (call-alert,h,94) -- Executing [h@call-alert:94] Macro("Local/16505762975@follow-attempt-b237,2", "disconnect-dynamic-db|4") in new stack -- Executing [s@macro-disconnect-dynamic-db:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Disconnect 4") in new stack -- Executing [h@call-alert:95] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?close-log-db-con:check-outbound-call") in new stack -- Goto (call-alert,h,96) -- Executing [h@call-alert:96] Macro("Local/16505762975@follow-attempt-b237,2", "disconnect-static-db") in new stack -- Executing [s@macro-disconnect-static-db:1] MYSQL("Local/16505762975@follow-attempt-b237,2", "Disconnect 5") in new stack -- Executing [h@call-alert:97] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?throw-this-channel-hangup:throw-missing-channel-hangup") in new stack -- Goto (call-alert,h,100) -- Executing [h@call-alert:100] Macro("Local/16505762975@follow-attempt-b237,2", "throw-chan-event|hangup|Local/16505762975@follow-attempt-b237,2|1201636502.2-ms1.dev1") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("Local/16505762975@follow-attempt-b237,2", "Channel|type: hangup|uniqueid: 1201636502.2-ms1.dev1| name: Local/16505762975@follow-attempt-b237,2| callerid: 6504035830") in new stack -- Executing [h@call-alert:101] GotoIf("Local/16505762975@follow-attempt-b237,2", "1?check-inbound-call:|900") in new stack -- Goto (call-alert,h,102) -- Executing [h@call-alert:102] GotoIf("Local/16505762975@follow-attempt-b237,2", "0?finalize-call:16505762975|900") in new stack -- Goto (call-alert,16505762975,900) -- Executing [16505762975@call-alert:900] NoOp("Local/16505762975@follow-attempt-b237,2", " CALL: 16505762975 : FUNCTION: 58469 ") in new stack [Jan 29 19:55:48] ERROR[11847]: cdr_addon_mysql.c:230 mysql_log: mysql_cdr: Failed to insert into database: (1062) Duplicate entry '1201636518.4-ms1.dev1' for key 1 -- Executing [16502423020@follow-me-dial:33] NoOp("SIP/38.99.69.210-006c0520", "Status: ANSWER Result: Call in progress: 1") in new stack -- Executing [16502423020@follow-me-dial:34] GotoIf("SIP/38.99.69.210-006c0520", "1?answered:try-next") in new stack -- Goto (follow-me-dial,16502423020,35) -- Executing [16502423020@follow-me-dial:35] Set("SIP/38.99.69.210-006c0520", "FM-PRI-STEP=3") in new stack -- Executing [16502423020@follow-me-dial:36] Goto("SIP/38.99.69.210-006c0520", "end-while") in new stack -- Goto (follow-me-dial,16502423020,40) -- Executing [16502423020@follow-me-dial:40] EndWhile("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [16502423020@follow-me-dial:25] While("SIP/38.99.69.210-006c0520", "0") in new stack -- Executing [16502423020@follow-me-dial:41] Set("SIP/38.99.69.210-006c0520", "CALL-IN-PROGRESS=0") in new stack -- Executing [16502423020@follow-me-dial:42] GotoIf("SIP/38.99.69.210-006c0520", "1?end-call:voicemail") in new stack -- Goto (follow-me-dial,16502423020,43) -- Executing [16502423020@follow-me-dial:43] Hangup("SIP/38.99.69.210-006c0520", "") in new stack == Spawn extension (follow-me-dial, 16502423020, 43) exited non-zero on 'SIP/38.99.69.210-006c0520' -- Executing [h@follow-me-dial:1] NoOp("SIP/38.99.69.210-006c0520", " HANGING up the call ") in new stack -- Executing [h@follow-me-dial:2] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Userfield = 33") in new stack [13469] Userfield = 33 -- Executing [h@follow-me-dial:3] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Call Log Affiliation = 33") in new stack [13469] Call Log Affiliation = 33 -- Executing [h@follow-me-dial:4] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Internal Affiliation = ") in new stack [13469] Internal Affiliation = -- Executing [h@follow-me-dial:5] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Inbound Affiliation = 33") in new stack [13469] Inbound Affiliation = 33 -- Executing [h@follow-me-dial:6] GotoIf("SIP/38.99.69.210-006c0520", "33?set-userfield-calllog:check-internal-affiliation") in new stack -- Goto (follow-me-dial,h,7) -- Executing [h@follow-me-dial:7] Set("SIP/38.99.69.210-006c0520", "CDR(userfield)=33") in new stack -- Executing [h@follow-me-dial:8] Goto("SIP/38.99.69.210-006c0520", "mysql-clear-hanging") in new stack -- Goto (follow-me-dial,h,15) -- Executing [h@follow-me-dial:15] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Userfield set to 33") in new stack [13469] Userfield set to 33 -- Executing [h@follow-me-dial:16] MYSQL("SIP/38.99.69.210-006c0520", "Clear 3") in new stack -- Executing [h@follow-me-dial:17] Macro("SIP/38.99.69.210-006c0520", "add-trace-event|1|13469|ms1.dev1||16502423020|hangup||||SIP/38.99.69.210-006c0520") in new stack -- Executing [s@macro-add-trace-event:1] GotoIf("SIP/38.99.69.210-006c0520", "1?add-event:macro-exit") in new stack -- Goto (macro-add-trace-event,s,2) -- Executing [s@macro-add-trace-event:2] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 INSERT INTO traceDetail (traceId, timestamp, nodeId, callerId, calledNum, event, eventFrom, eventTo, eventData, eventNotes) VALUES (13469, 1201636548, 'ms1.dev1', '', '16502423020', 'hangup', '', '', '', 'SIP/38.99.69.210-006c0520')") in new stack -- Executing [s@macro-add-trace-event:3] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [h@follow-me-dial:18] NoOp("SIP/38.99.69.210-006c0520", "PDD: STATS: ") in new stack -- Executing [h@follow-me-dial:19] GotoIf("SIP/38.99.69.210-006c0520", "?log-stats:check-pdd") in new stack -- Goto (follow-me-dial,h,20) -- Executing [h@follow-me-dial:20] GotoIf("SIP/38.99.69.210-006c0520", "1?check-virtual") in new stack -- Goto (follow-me-dial,h,46) -- Executing [h@follow-me-dial:46] GotoIf("SIP/38.99.69.210-006c0520", "1?check-alert-status:check-virtual-missed") in new stack -- Goto (follow-me-dial,h,47) -- Executing [h@follow-me-dial:47] GotoIf("SIP/38.99.69.210-006c0520", "1?check-vm-list:check-virtual-missed") in new stack -- Goto (follow-me-dial,h,50) -- Executing [h@follow-me-dial:50] ExecIf("SIP/38.99.69.210-006c0520", "0|Macro|VMMsgListFlush") in new stack -- Executing [h@follow-me-dial:51] GotoIf("SIP/38.99.69.210-006c0520", "1?clear-fm-list:check-call-events") in new stack -- Goto (follow-me-dial,h,52) -- Executing [h@follow-me-dial:52] List("SIP/38.99.69.210-006c0520", "DESTROY|FM-STEP-LIST") in new stack -- Executing [h@follow-me-dial:53] List("SIP/38.99.69.210-006c0520", "DESTROY|FM-DUR-LIST") in new stack -- Executing [h@follow-me-dial:54] List("SIP/38.99.69.210-006c0520", "DESTROY|FM-FULL-STEP-LIST") in new stack -- Executing [h@follow-me-dial:55] ExecIf("SIP/38.99.69.210-006c0520", "0|DBdeltree|58469") in new stack -- Executing [h@follow-me-dial:56] GotoIf("SIP/38.99.69.210-006c0520", "0?check-voicemail") in new stack -- Executing [h@follow-me-dial:57] Macro("SIP/38.99.69.210-006c0520", "log-events|1201636502.0-ms1.dev1|||1;7;|58469") in new stack -- Executing [s@macro-log-events:1] GotoIf("SIP/38.99.69.210-006c0520", "1?set-2:check-3") in new stack -- Goto (macro-log-events,s,2) -- Executing [s@macro-log-events:2] Set("SIP/38.99.69.210-006c0520", "ARG2=Null") in new stack -- Executing [s@macro-log-events:3] GotoIf("SIP/38.99.69.210-006c0520", "1?set-3:check-5") in new stack -- Goto (macro-log-events,s,4) -- Executing [s@macro-log-events:4] Set("SIP/38.99.69.210-006c0520", "ARG3=Null") in new stack -- Executing [s@macro-log-events:5] GotoIf("SIP/38.99.69.210-006c0520", "0?end-macro") in new stack -- Executing [s@macro-log-events:6] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 INSERT INTO callEvents (uniqueId,User,Trunk,events,functionId) VALUES ('1201636502.0-ms1.dev1',Null,Null,'1;7;',58469) ON DUPLICATE KEY UPDATE User=Null, Trunk=Null, events='1;7;', functionId=58469") in new stack -- Executing [s@macro-log-events:7] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [h@follow-me-dial:58] GotoIf("SIP/38.99.69.210-006c0520", "0?check-voicemail") in new stack -- Executing [h@follow-me-dial:59] ExecIf("SIP/38.99.69.210-006c0520", "1|DBdeltree|58469") in new stack -- DBdeltree: family=58469 -- Executing [h@follow-me-dial:60] ExecIf("SIP/38.99.69.210-006c0520", "0|DBdeltree|") in new stack -- Executing [h@follow-me-dial:61] GotoIf("SIP/38.99.69.210-006c0520", "?check-voicemail-status:check-call-log") in new stack -- Goto (follow-me-dial,h,72) -- Executing [h@follow-me-dial:72] GotoIf("SIP/38.99.69.210-006c0520", "0?clear-conference-files") in new stack -- Executing [h@follow-me-dial:73] GotoIf("SIP/38.99.69.210-006c0520", "0?clear-conference-files:write-calllog") in new stack -- Goto (follow-me-dial,h,74) -- Executing [h@follow-me-dial:74] Macro("SIP/38.99.69.210-006c0520", "write-calllog|1|33|1201636502|1|1-6504035830|58469|0") in new stack -- Executing [s@macro-write-calllog:1] GotoIf("SIP/38.99.69.210-006c0520", "0?end-macro") in new stack -- Executing [s@macro-write-calllog:2] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 INSERT INTO CallLog (User,Affiliation,Date,Type,Number,functionId,detail) VALUES (1,33,"1201636502",1,"1-6504035830",58469,0)") in new stack -- Executing [s@macro-write-calllog:3] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [h@follow-me-dial:75] System("SIP/38.99.69.210-006c0520", "rm /var/spool/asterisk/CC-*") in new stack -- Executing [h@follow-me-dial:76] GotoIf("SIP/38.99.69.210-006c0520", "?check-bad-verify-1:check-active-call") in new stack -- Goto (follow-me-dial,h,79) -- Executing [h@follow-me-dial:79] GotoIf("SIP/38.99.69.210-006c0520", "1?delete-active-call:check-trial-lock") in new stack -- Goto (follow-me-dial,h,80) -- Executing [h@follow-me-dial:80] Macro("SIP/38.99.69.210-006c0520", "delete-call|8549") in new stack -- Executing [s@macro-delete-call:1] MYSQL("SIP/38.99.69.210-006c0520", "Query resultid 2 DELETE FROM activeCalls WHERE Id=8549") in new stack -- Executing [s@macro-delete-call:2] Verbose("SIP/38.99.69.210-006c0520", "1| [13469] Delete call Id 8549 Result was 0") in new stack [13469] Delete call Id 8549 Result was 0 -- Executing [s@macro-delete-call:3] MacroExit("SIP/38.99.69.210-006c0520", "") in new stack -- Executing [h@follow-me-dial:81] GotoIf("SIP/38.99.69.210-006c0520", "0?check-trial-unlock:check-evmsg") in new stack -- Goto (follow-me-dial,h,83) -- Executing [h@follow-me-dial:83] GotoIf("SIP/38.99.69.210-006c0520", "0?move-temp-file:check-evmsg-1") in new stack -- Goto (follow-me-dial,h,86) -- Executing [h@follow-me-dial:86] GotoIf("SIP/38.99.69.210-006c0520", "0?send-evmsg:check-voice-email") in new stack -- Goto (follow-me-dial,h,89) -- Executing [h@follow-me-dial:89] GotoIf("SIP/38.99.69.210-006c0520", "0?send-sip-vmsg:close-database-connections") in new stack -- Goto (follow-me-dial,h,93) -- Executing [h@follow-me-dial:93] GotoIf("SIP/38.99.69.210-006c0520", "1?close-gen-db-con:check-log-db-con") in new stack -- Goto (follow-me-dial,h,94) -- Executing [h@follow-me-dial:94] Macro("SIP/38.99.69.210-006c0520", "disconnect-dynamic-db|1") in new stack -- Executing [s@macro-disconnect-dynamic-db:1] MYSQL("SIP/38.99.69.210-006c0520", "Disconnect 1") in new stack -- Executing [h@follow-me-dial:95] GotoIf("SIP/38.99.69.210-006c0520", "1?close-log-db-con:check-outbound-call") in new stack -- Goto (follow-me-dial,h,96) -- Executing [h@follow-me-dial:96] Macro("SIP/38.99.69.210-006c0520", "disconnect-static-db") in new stack -- Executing [s@macro-disconnect-static-db:1] MYSQL("SIP/38.99.69.210-006c0520", "Disconnect 2") in new stack -- Executing [h@follow-me-dial:97] GotoIf("SIP/38.99.69.210-006c0520", "1?throw-this-channel-hangup:throw-missing-channel-hangup") in new stack -- Goto (follow-me-dial,h,100) -- Executing [h@follow-me-dial:100] Macro("SIP/38.99.69.210-006c0520", "throw-chan-event|hangup|SIP/38.99.69.210-006c0520|1201636502.0-ms1.dev1") in new stack -- Executing [s@macro-throw-chan-event:1] UserEvent("SIP/38.99.69.210-006c0520", "Channel|type: hangup|uniqueid: 1201636502.0-ms1.dev1| name: SIP/38.99.69.210-006c0520| callerid: 6504035830") in new stack -- Executing [h@follow-me-dial:101] GotoIf("SIP/38.99.69.210-006c0520", "1?check-inbound-call:|900") in new stack -- Goto (follow-me-dial,h,102) -- Executing [h@follow-me-dial:102] GotoIf("SIP/38.99.69.210-006c0520", "0?finalize-call:16502423020|900") in new stack -- Goto (follow-me-dial,16502423020,900) -- Executing [16502423020@follow-me-dial:900] NoOp("SIP/38.99.69.210-006c0520", " CALL: 16502423020 : FUNCTION: 58469 ") in new stack