Connected to Asterisk 1.4.17 currently running on asteriskSer (pid = 30315) Verbosity is at least 8 -- Executing [01836089192@default:1] AGI("SIP/8211-082051e8", "teste.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/teste.php teste.php: Asterisk AGI Variables teste.php: ================================================== teste.php: -- agi_request = teste.php teste.php: -- agi_channel = SIP/8211-082051e8 teste.php: -- agi_language = en teste.php: -- agi_type = SIP teste.php: -- agi_uniqueid = 1204555949.51 teste.php: -- agi_callerid = 8211 teste.php: -- agi_calleridname = Carlos teste.php: -- agi_callingpres = 0 teste.php: -- agi_callingani2 = 0 teste.php: -- agi_callington = 0 teste.php: -- agi_callingtns = 0 teste.php: -- agi_dnid = 01836089192 teste.php: -- agi_rdnis = unknown teste.php: -- agi_context = default teste.php: -- agi_extension = 01836089192 teste.php: -- agi_priority = 1 teste.php: -- agi_enhanced = 0.0 teste.php: -- agi_accountcode = teste.php: =======Variavel UNIQUEID vale: 200 result=1=========== teste.php: =======Variavel SIPCALLID vale: 200 result=1=========== -- AGI Script teste.php completed, returning 0 == Auto fallthrough, channel 'SIP/8211-082051e8' status is 'UNKNOWN'