similar to: Return agi script.

Displaying 20 results from an estimated 10000 matches similar to: "Return agi script."

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
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
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
2010 Jul 17
1
AGI gosub return value
It appears that there's no way to get the return value from a GOSUB into an AGI script. Is that correct?
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 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
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
2009 Oct 22
2
carefulwrite: write() returned error: Broken pipe
Dear, I am getting this in CLI on release candidate version of Asterisk. Any ideas, or points where to look? -- Launched AGI Script /var/lib/asterisk/agi-bin/rad-auth.agi [Oct 22 18:21:45] ERROR[9853]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe -- <SIP/916-fc001968>AGI Script rad-auth.agi completed, returning 0 Best regards, Josip
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
2010 Jun 29
3
Find a way to block brute force attacks.
Hello list. I'm trying to find a way to block any ip that tries to login more than three times with the wrong password and try to log in three different extensions. For I have suffered some brute force attacks on my asterisk in the morning period. The idea would be: Any ip with three attempts without success to log into an extension is blocked. Is there any way to accomplish this directly
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
2010 Aug 09
2
'System' application in asterisk
Hello, Is there any way to capture the output of the 'System' application in asterisk dialplan and evaluate it. For example, i would like to get the output of following System application and use its value in next line for decision making exten => 5000,n,System(command) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Nov 08
3
Get the Uniqueid of Action Originate in the AMI
Hi to all. I'm begin a use the AMI and i have the need to get the uniqueid from the call i have generate using the Action Originate. Anyone can help me? When I generate these commands: action: Originate channel: SIP/101 application: Dial data: SIP/100,120,Ttr The only response I get when the call is answered, is this: Response: Success Message: Originate successfully queued Thanks a
2009 Sep 16
5
custom voicemail e-mail
Hi All, I'm trying to use a php script to send voicemail e-mail so i can send custom e-mail message based on what mailbox. on my voicemail.conf i have mailcmd=/var/www/voicemail.php but when i tried to call an extension and goe to voicemail i'm not receiving the e-mail. but when i execute "php /var/www/voicemail.php" on the shell, i can receive the e-mail. how would i
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 Jan 22
2
MYSQL problem
hi,all as you know, we can use MYSQL command to visit mysql database but if i use other database like Oracke,sybase,etc, Could i use MYSQL command ? if not, is there any other alternative could do the same function(visit database in dailplan)? Thanks! -- Best regards, Sucan
2010 Mar 10
2
PGSQL application
Does the application PGSQL has been removed from Asterisk? Couldn't find it on Asterisk source and addons. Atenciosamente, Vin?cius Fontes Gerente de Seguran?a da Informa??o Canall Tecnologia em Comunica??es Passo Fundo - RS - Brasil +55 54 2104-7000 Information Security Manager Canall Tecnologia em Comunica??es Passo Fundo - RS - Brazil +55 54 2104-7000
2009 Aug 06
2
Inbound Call coding
Hi, how can I make an inbound call to be coded by the agent and be stored in the database for a later report?? I mean, I want the agent to dial after the call is finished, a code that means Age information, another code that means where to get more info, etc. I really really appreciate your help. RODRIGO CRUZ E-MAIL. <mailto:Rodrigo.Cruz at vcip.com.mx> Rodrigo.Cruz at vcip.com.mx
2010 Aug 28
1
Play a number of files to a caller
I want to be able to allow a caller to dial a ddi, system to verify identity etc (this is all done) I then want them to sit listening to music, until an event happens. When this (external) event happens, I want to play a certain file to the caller, using playback (so that they have ff / rw etc), and when finished, go back to the music. 1) I thought of redirecting to an extension that played the