similar to: AGI Scripts Terminate too Soon

Displaying 20 results from an estimated 5000 matches similar to: "AGI Scripts Terminate too Soon"

2006 Feb 16
1
Non sensical AGI Error
I'm getting an error back from an AGI Dial command. Weird thing is that it's STILL performing the Dial. Here's what I am sending (without the paranthesis): (EXEC DIAL "SIP/10000|5|tr") and here's what I am getting (without the paranthesis): (510 Invalid or unknown command) Why would I get this response to a seemingly good command? And why would Asterisk go ahead and
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone, Trying to run a php script after DeadAGI for A2Billing does it's magic. This is the dialplan: [a2billing] exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN} ${UNIQUEID}) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,Hangup() *exten => h,1,Wait(5)* *exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})* As you can see above, I even
2006 Apr 12
33
DUNDi with SIP
Anyone out there have a functional DUNDi configuration using SIP for the inter-Asterisk transport? I've gotten it to work with IAX2, but if I change it to SIP it does not pass the call over even though it knows where to send it. Thanks. The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally
2012 Dec 10
1
deadagi on 11 and 1.4
How can extensions.conf be changed to work with both Asterisk 11 and 1.4.X such that 1.4.X calls deadagi and 11 just calls agi as deadagi is no more. Thanks, jerry
2010 Feb 14
3
Line DC
My dialer works perfectly , but whenever I dial a number manually from xlite and press a Key like 6055 for DTMF , line gets disconnected. Line gets DC as soon as I press any key from xlite What could be the issues ? I tried the SAME VOIP from another center and Its Ok there. I tried the Same dialer Xlite over Static IP, problem is there. I tried the same number from other Dialer , it works
2009 Jan 28
5
Inbound Call Disconnect in 3 seconds
My Inbound calls lands , but line get disconnect in exactly 3 secs. Here goes my extension.conf setting : [from-ipkall] exten => 901835,1,Ringing ; call ringing exten => 901835,2,Wait(1) ; Wait 1 second for CID delivery from PRI exten => 901835,3,Answer ; Answer the line exten =>
2005 May 25
15
PHP/AGI Problem
Hi I am currently developing a IVR application using PHP/AGI. I am using the PHPAGI class at http://phpagi.sourceforge.net/ to handle the commuication with my *. The application basically asks a caller to enter in some information which is then processed and a answer is read back out to them. I want the application to loop back to the beginning after giving the answer so they can try another
2004 Aug 31
2
DeadAGI Application
I downloaded the astcc calling card program. Thanks, it is very easy to setup and works Excellent. Anyway, it says to use DeadAGI to run it rather than AGI. I don't know what I am doing wrong. I just updated my asterisk from cvs and rebuilt and reinstalled. I do not have an application called DeadAGI. I have searched the source, google, etc. but have not been able to find anything.
2010 Feb 24
2
AMD: HANGUP
*Code:* == Manager 'sendcron' logged off from 127.0.0.1 -- Executing Playback("Local/91441425477394 at default-b9f2,1", "sip-silence") in new stack -- Playing 'sip-silence' (language 'en') -- Executing AGI("Local/91441425477394 at default-b9f2,1", "agi:// 127.0.0.1:4577/call_log") in new stack -- AGI Script
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi, I noticed that when dial terminates it does not return to the dialplan, and therefore can not execute any entry after Dial(). Is there any trick to overcome this limitation ? How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if I can not execute anything after Dial()? I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls end
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello, I want to create php rate script and I'm using Deadagi. But I allways get billsec 0 , or nothing. Can you help me to solve this problem... My extension.conf: exten => _123,1,DeadAgi(rate.php) exten => _123,2,hangup And my simple test php script rate.php #!/usr/local/bin/php -q <?php include_once (dirname(__FILE__)."/phpagi.php"); $AGI = new AGI();
2007 May 14
3
Proper AGI use with MySQL
Hi, We have a "simple" AGI script that provides some IVR functionality. It connects to a MySQL database in order to create a call record and capture IVR data. During the IVR process, we need to store the time the call started, so basically we INSERT a new MySQL row with callstart = NOW(), uniqueid = AGI(agi_uniqueid). As the user selects different options, we update the row to reflect
2009 Mar 09
3
problem with an agi in PHP
Hello, I need to execute an agi in php. I have that: == Using SIP RTP CoS mark 5 -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478", "") in new stack -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack -- Goto (mnupprx1,0170725000,3) -- Executing
2008 Oct 05
5
asterisk, phpagi and singleton
Hello, I've this situation: 300+ simultaneous calls and dialplan like this: exten => _X.,1,Answer() exten => _X.,2,DEADAGI(check_status.php) exten => _X.,3,Dial(SIP/other/${NUMBER}) exten => _X.,4,Hangup exten => h,1,DEADAGI(cdr.php) When project is running , I had a lot of defunct php scripts (I've exceed mysql connection limits and so on, deadagi help a bit). The
2005 Jun 22
2
ASTCC not making calls
Hi, im trying to setup ASTCC but I'm getting it difficult. I've correctly set up the mysql database astcc and added a brand, trunk, route and a card as follows: brands +------+----------+------+--------------+------+--------+------+------+ | name | language | inc | publishednum | did | markup | days | fee | +------+----------+------+--------------+------+--------+------+------+ | FWD
2006 Mar 03
1
Call Transfer - "Both legs must reside on Asterisk box to transfer at this time"
I have a SIP user, 2944093 that dialled 3254102. I'm trying to transfer the call from 3254102 to 3254104. When I try and transfer the call, I get the following on the Asterisk console. Mar 3 15:14:18 NOTICE[23124]: chan_sip.c:6731 get_refer_info: Supervised transfer requested, but unable to find callid '16749440-c28be02e-64b73be7@172.31.16.67'. Both legs must reside on Asterisk box
2005 Mar 21
1
ASTCC: perl / mysql or me???
I try to change something in ASTCC, but I am now totally blind, .... I hang on one line now. I changed: vpbx:/var/lib/asterisk/agi-bin # diff astcc-original.agi astcc.agi 22c22 < # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN}) --- > # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${TARIFF},${EXTEN}) 35c35 < # exten =>
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly. I have tried both AGI and DeadAGI with the same results. Those of you using it for a while, how did you get around this? Just for fun this is all I am doing in
2007 Sep 15
2
AGI/PHP: missing arguments
hi folks, I've built a simple PHP-script utilizing the AGI-interface. in extensions.conf I trigger the script and pass a single value as first argument: exten => h,1,DeadAGI(process.php|${Enter}) On the Asterisk-console, I can actually see that the script is called correctly (something like "DeadAGI(process.php|1234)"). However, when I read stdin in the PHP script, I receive
2009 Sep 17
2
DeadAgi
Hi people, I have the following dialplan: [context] exten => s,1,Noop(Start) ... exten => h,1,Noop(Ending) exten => h,n,DEADAGI(finconf.php,${ARG1},${ARG2}) When it is running, the asterisk gives the following error: -- Launched AGI Script /var/lib/asterisk/agi-bin/finconf.php == finconf.php|800|: Failed to execute '/var/lib/asterisk/agi-bin/finconf.php': No such file