Script started on Fri 11 Mar 2011 08:20:49 AM BRT voip:~# asterisk -vvvr Asterisk 1.4.11, Copyright (C) 1999 - 2007 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Connected to Asterisk 1.4.11 currently running on voip (pid = 3340) voip*CLI> Verbosity is at least 3 -- Remote UNIX connection voip*CLI> -- Executing [553138912864@from-voip:1] AGI("SIP/ufv.br-088fd720", "creditos-start.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/creditos-start.agi voip*CLI> -- AGI Script creditos-start.agi completed, returning 0 -- Executing [553138912864@from-voip:2] SetGlobalVar("SIP/ufv.br-088fd720", "NUMDEST=553138912864") in new stack == Setting global variable 'NUMDEST' to '553138912864' -- Executing [553138912864@from-voip:3] SetGlobalVar("SIP/ufv.br-088fd720", "START=1299842462") in new stack == Setting global variable 'START' to '1299842462' -- Executing [553138912864@from-voip:4] SetGlobalVar("SIP/ufv.br-088fd720", "EXISTCREDITOS=0") in new stack == Setting global variable 'EXISTCREDITOS' to '0' -- Executing [553138912864@from-voip:5] GotoIf("SIP/ufv.br-088fd720", "1?nocreditos|1:creditos|1") in new stack -- Goto (from-voip,nocreditos,1) -- Executing [nocreditos@from-voip:1] Dial("SIP/ufv.br-088fd720", "ZAP/g1/38912864|60|rtT") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g1/38912864 voip*CLI> -- Zap/1-1 is proceeding passing it to SIP/ufv.br-088fd720 voip*CLI> -- Zap/1-1 is ringing voip*CLI> -- Accepting call from '3138992963' to '5570' on channel 0/23, span 1 -- Executing [5570@from-pabx:1] Answer("Zap/23-1", "") in new stack -- Executing [5570@from-pabx:2] Set("Zap/23-1", "TIMEOUT(digit)=5") in new stack -- Digit timeout set to 5 -- Executing [5570@from-pabx:3] Set("Zap/23-1", "TIMEOUT(response)=45") in new stack -- Response timeout set to 45 -- Executing [5570@from-pabx:4] BackGround("Zap/23-1", "ivr/welcome") in new stack -- Playing 'ivr/welcome' (language 'en') voip*CLI> -- Zap/1-1 answered SIP/ufv.br-088fd720 voip*CLI> -- Hungup 'Zap/1-1' == Spawn extension (from-voip, nocreditos, 1) exited non-zero on 'SIP/ufv.br-088fd720' -- Executing [h@from-voip:1] DeadAGI("SIP/ufv.br-088fd720", "creditos-end.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/creditos-end.agi voip*CLI> -- AGI Script creditos-end.agi completed, returning 0 -- Executing [h@from-voip:2] Hangup("SIP/ufv.br-088fd720", "") in new stack == Spawn extension (from-voip, h, 2) exited non-zero on 'SIP/ufv.br-088fd720' voip*CLI> == CDR updated on Zap/23-1 -- Executing [01150542278@from-pabx:1] SetGlobalVar("Zap/23-1", "DDD=11") in new stack == Setting global variable 'DDD' to '11' -- Executing [01150542278@from-pabx:2] SetGlobalVar("Zap/23-1", "DID=50542278") in new stack == Setting global variable 'DID' to '50542278' -- Executing [01150542278@from-pabx:3] Macro("Zap/23-1", "identifica|3138992963") in new stack -- Executing [s@macro-identifica:1] GotoIf("Zap/23-1", "7?pabx|1:pstn|1") in new stack -- Goto (macro-identifica,pabx,1) -- Executing [pabx@macro-identifica:1] NoOp("Zap/23-1", ""Identificado como PABX"") in new stack -- Executing [pabx@macro-identifica:2] SetGlobalVar("Zap/23-1", "ID=0") in new stack == Setting global variable 'ID' to '0' -- Executing [01150542278@from-pabx:4] GotoIf("Zap/23-1", "1?pabx|1:pstn|1") in new stack -- Goto (from-pabx,pabx,1) -- Executing [pabx@from-pabx:1] Dial("Zap/23-1", "SIP/551150542278@ufv.br|60|rtT") in new stack voip*CLI> -- Called 551150542278@ufv.br voip*CLI> -- SIP/ufv.br-08a00538 is ringing voip*CLI> quit Executing last minute cleanups voip:~# exit exit Script done on Fri 11 Mar 2011 08:21:37 AM BRT