similar to: AGISTATUS is SUCCESS even though my PHP script returned -1

Displaying 20 results from an estimated 200 matches similar to: "AGISTATUS is SUCCESS even though my PHP script returned -1"

2008 Jan 17
1
asterisk-users Digest, Vol 42, Issue 51
hi all, how to set the caller id facility for the TDM400p card. Please help me thanks, sandeep.s ----- Original Message ----- From: <asterisk-users-request at lists.digium.com> To: <asterisk-users at lists.digium.com> Sent: Tuesday, January 15, 2008 3:09 PM Subject: asterisk-users Digest, Vol 42, Issue 51 > Send asterisk-users mailing list submissions to > asterisk-users at
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 anyone have a clue? Thanks, Rodrigo Lang.
2007 Feb 28
1
Run-away Asterisk
After testing some AGI's, I noticed several extra Asterisk processes. They are not zombies, but can't be killed by safe_asterisk. Nor will they die when CLI issues stop now. Then I read that each AGI spawns a separate Asterisk process. But all my AGI calls have apparently completed successfully. So there should be no reason for them to hang there. Several questions: 1) Under
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
2010 Jan 02
4
Help getting info from caller
Hello. Happy New Year to everyone. I have a small WISP and would like to have customers to call our number to check their balance. I am planning on writing an AGI with php so it can get the customer info from the customer database. I don't know how to interact with the caller while in the agi script so this is what I have in mind: [test-agi] exten => 33,1,Answer() exten =>
2007 Jul 12
0
No subject
* The exit behavior of the AGI applications has changed. Previously, when a connection 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
2015 Mar 04
0
Failsafe AGI using AEL
For the mailing list archive and for anyone else interested. A few years ago we needed to automatically run a second AGI if the first AGI failed i.e. a "failsafe" setup. Mainly because I'm not a very good programmer. 8-| The code below is very similar to what we use in production. This code is also at http://pastebin.com/LBaLhdfJ for a while. "sm" stands for Switch
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
Hi list. I have Asterisk installed on a Debian 1.8 6 64-bit. What happens is the following, some channels are not being hangup properly. They run the hangup in dialplan, but the output of the command "core show channels" shows several channels with status "rsrvd." Checking the server's memory, the "top" command shows multiple processes and stopped using the
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
2008 Jan 11
1
Fwd: Trying to build MFC/R2
---------- Forwarded message ---------- From: Brian Hutchinson <b.hutchman at gmail.com> Date: Fri, 11 Jan 2008 12:22:09 -0500 Subject: Trying to build MFC/R2 Hi Moy, I downloaded your astunical-1.4.16 and have been studying it. I have a machine running the latest download of asterisk-1.4-17 and was trying to figure out how to build MFC/R2 support into it. I merged your unicall specific
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
2008 Jan 14
0
FreeBSD Security Advisory FreeBSD-SA-08:02.libc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================= FreeBSD-SA-08:02.libc Security Advisory The FreeBSD Project Topic: inet_network() buffer overflow Category: core Module: libc Announced: 2008-01-14
2008 Jan 14
0
FreeBSD Security Advisory FreeBSD-SA-08:01.pty
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================= FreeBSD-SA-08:01.pty Security Advisory The FreeBSD Project Topic: pty snooping Category: core Module: libc_stdlib / libutil Announced: 2008-01-14
2007 Oct 18
3
Automating blacklists
Hi, I've been reading all I can on Google (and Asterisk TFOT book) looking for ideas on how to implement an automated blacklist feature. I would like to automatically blacklist a incoming number based on timestamp and count information. For example, if I get a prank call from the same number 5 times within 15 minutes, I want my dialplan to automatically blacklist this number. Should I be
2007 Oct 24
7
Compatibility Issues with dell poweredge 1950 and TE110P card
Has anyone had any compatibility issues with a TE110P card installed on a Dell Poweredge 1950? I noted the following error on the LCD display of the Dell Poweredge 1950: E1711 PCI PErr Slot 1 E171F PCIE Fatal Error B0 D4 F0. The Dell hardware owners manual states that it means the system BIOS has reported a PCI parity error on a component that resides in PCI configuration space at bus 0,
2008 Jan 12
2
My latest MFC/R2 update with asterisk-1.4.17
Hi all, I still haven't seen my first post (cry for help) so I'm not sure if these are going through or not ... I've played with the box all day today ... I got it to quit seg faulting finally by playing with the config files. Currently I have 4 spans configured for a Digium TE420B (With Octastic DSP) Here is my zaptel.conf: (I know the device connected to spans 1-3 are providing
2007 Oct 02
1
0/0 is not valid, though the man page says it is
Hi, The man page for nsd.conf claims the following syntax is valid: provide-xfr: 0/0 NOKEY However, this gives the error: /var/dnsx/nsd.zones:9: error: Bad ip4 address '0' The following does work: provide-xfr: 0.0.0.0/0 NOKEY So either the code is wrong, or the man page :) Paul
2010 Jan 30
0
bug or desired behaviour? couldn’t identify form using string ‘post’ but ‘POST’. html contains ‘post’ though
hi the code that didn''t work although the page source code says ` <form class="login" method="post"> ` Please see more info on http://stackoverflow.com/questions/2165834/bug-or-desired-behaviour-couldnt-identify-form-using-string-post-but-post Thank you Radek `login_form = page.form_with(:method => ''post'')` and code that works
2010 Oct 20
2
Playback in the middle of a call though AMI
Hi folks, Is it possible (asterisk 1.6) to trigger the playback of an audio file in the middle of a call using the Manager Interface? I'm looking for something like AMI PlayDTMF command but for audio files. Thanks a lot, G. -------------- next part -------------- An HTML attachment was scrubbed... URL: