From: FERNANDO V. <fvi...@ya...> - 2007-01-29 06:51:00
|
Hello I have the following problem; when I execute this script python, if the result is different to ANSWER works perfect and it keeps the registry to me in the data base. -- Executing Answer("SIP/192.168.0.2-081b0bc0", "") in new stack -- Executing NoOp("SIP/192.168.0.2-081b0bc0", "Cuenta cliente >>> andescall") in new stack -- Executing Set("SIP/192.168.0.2-081b0bc0", "NUMERO=111325405") in new stack -- Executing Goto("SIP/192.168.0.2-081b0bc0", "111325405|1") in new stack -- Goto (andes,111325405,1) -- Executing Dial("SIP/192.168.0.2-081b0bc0", "SIP/325405|3") in new stack -- Called 325405 -- Got SIP response 486 "Busy Here" back from 192.168.0.10 -- SIP/325405-081b68f8 is busy == Everyone is busy/congested at this time (1:1/0/0) -- Executing AGI("SIP/192.168.0.2-081b0bc0", "trafico/graba.py|andescall||BUSY|325405") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/trafico/graba.py trafico/graba.py|andescall||BUSY|325405: 0 trafico/graba.py|andescall||BUSY|325405: BUSY -- AGI Script trafico/graba.py completed, returning 0 -- Executing Hangup("SIP/192.168.0.2-081b0bc0", "") in new stack == Spawn extension (andes, 111325405, 3) exited non-zero on 'SIP/192.168.0.2-081b0bc0' But the result is ANSWER does not execute the AGI to me so that? -- Executing Answer("SIP/192.168.0.2-081b0bc0", "") in new stack -- Executing NoOp("SIP/192.168.0.2-081b0bc0", "Cuenta cliente >>> andescall") in new stack -- Executing Set("SIP/192.168.0.2-081b0bc0", "NUMERO=111325405") in new stack -- Executing Goto("SIP/192.168.0.2-081b0bc0", "111325405|1") in new stack -- Goto (andes,111325405,1) -- Executing Dial("SIP/192.168.0.2-081b0bc0", "SIP/325405|3") in new stack -- Called 325405 -- SIP/325405-081b68f8 is ringing -- SIP/325405-081b68f8 answered SIP/192.168.0.2-081b0bc0 -- Attempting native bridge of SIP/192.168.0.2-081b0bc0 and SIP/325405-081b68f8 == Spawn extension (andes, 111325405, 1) exited non-zero on 'SIP/192.168.0.2-081b0bc0' extension.conf [andes] exten => _325405,1,Answer exten => _325405,2,Noop(Cuenta cliente >>> ${ACCOUNTCODE}) exten => _325405,3,Set(NUMERO=111${EXTEN}) exten => _325405,4,goto(${NUMERO},1) exten => _111.,1,Dial(SIP/${NUMERO:3},3) exten => _111.,2,agi,trafico/graba.py|${ACCOUNTCODE}|${ANSWEREDTIME}|${DIALSTATUS}|${NUMERO:3} exten => _111.,3,hangup Any idea. Thanks. Fernando Villarroel Noriel ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ |