search for: agistatus

Displaying 12 results from an estimated 12 matches for "agistatus".

Did you mean: acestatus
2008 Jan 14
1
AGISTATUS is SUCCESS even though my PHP script returned -1
Hi, Using Asterisk 1.4.17. I'm calling a PHP script through AGI. No matter what my script returns (0 or -1), AGISTATUS always appears to be 0 = SUCCESS. I was wanting my script to be able to return a value to the dialplan and then test AGISTATUS but it looks like I'm going down the wrong path. Any suggestions? Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http...
2007 Jul 12
0
No subject
...to an AGI server failed, the application would cause the channel to immediately stop dialplan execution and hangup. Now, the only time that the AGI applications will cause the channel to stop dialplan execution is when the channel itself requests hangup. The AGI applications now set an AGISTATUS variable which will allow you to find out whether running the AGI was successful or not. Previously, there was no way to handle the case where Asterisk was unable to locally execute an AGI script for some reason. In this case, dialplan execution will continue as it did before, but the...
2010 Jun 30
2
Return agi script.
Good afternoon list. I'm trying to use ${AGISTATUS} after the execution of my script in PHP Agi. But after running the script, it just returns me 0 (true). Thus: -- <SIP/213-00000019>AGI Script check.agi completed, returning 0 I tried putting the lines "return false;" or "return 1;" but did not change anything. Does...
2015 Mar 04
0
Failsafe AGI using AEL
...t; just before the AGI exits. This is because if the AGI fails it won't be able to set the SM_AGI_STATUS variable. if ("${SM_AGI_STATUS}" == "SUCCESS") { return; } if ("${SM_AGI_STATUS}" != "FAIL" && "${AGISTATUS}" == "SUCCESS") { Set(SM_AGI_STATUS=SUCCESS); return; } // agi failed, trip the circuit breaker if (${TRYLOCK(${breaker})}) { Set(ARRAY(GLOBAL(${breaker}),GLOBAL(${breaker}_calls),GLOBAL(${breaker}_timestamp))=tripped,1,${S...
2008 Jan 17
1
asterisk-users Digest, Vol 42, Issue 51
...t; > Today's Topics: > > 1. Re: app_voicemail for spanish (Andrew Joakimsen) > 2. SVN servers down for maintenance (Russell Bryant) > 3. Re: Asterisk 1.4.17 crashing more (Steve Totaro) > 4. Zaptel 1.2.23 and 1.4.8 released (The Asterisk Development Team) > 5. Re: AGISTATUS is SUCCESS even though my PHP script returned > -1 (Matt Riddell) > 6. Re: Video Call and Asterisk (Matt Riddell) > 7. Re: app_voicemail for spanish (Anton Krall) > 8. Re: G.729 pre-compiled binaries and Asterisk 1.2.x. (Steve Totaro) > 9. Re: Asterisk RFC2833 to SIP INF...
2010 Jan 02
4
Help getting info from caller
...----- exten => 33,n,BackGround(enter-password) exten => 33,n, ---- I would like to set a variable here but don't know how ----- exten => 33,n,AGI(testphp.agi,${ACCOUNT},${PASSWORD}) ---- receive the balance here from agi ---- exten => 33,n,Verbose(".... This is agi status ...${AGISTATUS}...") exten => 33,n,hangup() I've never worked with agi but, I'm reading some documents I found online but, need more help trying to get this working. Thanks in advanced for your help.
2007 Feb 28
1
Run-away Asterisk
...) How to detect run-away processes under 2.4 kernels? In this kernel, each thread clusters process space and it's very difficult to distinguish them without killing the main process. 3) Any practical way to detect them from inside Asterisk - e.g., do some check after each AGI call? All my AGISTATUS reports success. I could use System() but isn't that cumbersome? Thank you. Yuan Liu
2007 Mar 02
1
How to fail an AGI
I mean how do I set failure condition in AGI? My script exits with code 0 upon success, and non-zero when problems occur - the standard *nix way. But Asterisk always report "AGI Script completed, returning 0", and AGISTATUS is always SUCCESS. Yuan Liu
2007 May 17
4
FastAGI hangs up channel if server is not available
Hi all, Running 1.2.14 When I call a FastAGI script such as this script for an incoming call: [calldirect] exten=>s,1,Answer() exten=>s,2,AGI(agi://192.168.1.175/calldirect?check&${CALLERID(num)}) exten=>s,3,Goto(check_time,s,1) and the FastAGI server is not running (Asterisk gets "connection refused" TCP error), Asterisk just terminates the call like so: May 17
2012 Jul 19
1
Channel is rsrvd and does not turn off
...he context:* context khomp-sms { s => { Noop(Mensagem recebida); Noop(Tipo de mensagem: ${KSmsType}); if( "${KSmsType}" = "confirm" ) { Noop(Mensagem de confirmacao de entrega); Agi(confirmation.py); if( "${AGISTATUS}" = "SUCCESS") { Log(NOTICE,AGI executado com sucesso); } else { Log(WARNING,Problema ao executar AGI - Status: ${AGISTATUS}); } } Hangup(); } h => { Hangup(); } } *Follow the logs of the channel:*...
2009 May 15
2
change AGI script return result
How I can change AGI script return status to failure from within the script? It always return AGI Script ........ completed, returning 0 Thanks, Hristo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090515/462d5dc3/attachment.htm
2015 Apr 08
1
Help debugging a possible SIP channel leak in 11.17.0, possible race condition
Have you tried Asterisk 13? The bridging mechanism has been completely rewritten on Asterisk 12, so there's no longer channel masquerading and zombie channels. Might be worth a try. 2015-04-07 20:33 GMT-03:00 Alex Villac??s Lasso <a_villacis at palosanto.com>: > El 07/04/15 a las 17:38, Alex Villac??s Lasso escribi?: > > I am trying to collect enough information about an