similar to: PHP/AGI Problem

Displaying 20 results from an estimated 6000 matches similar to: "PHP/AGI Problem"

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
2004 Sep 18
2
Asterisk as an outbound call machine?
Hi All... I have a need to phone a large number of people and collect information from them. I know Asterisk has a nice IVR system, but can it be used to initiate a call to people listed in a database or text file? Don't worry, this is not an annoying marketing thing. Thanks...
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();
2006 Apr 05
5
Dial Plan Logic Problem
Hi I can't for the life of me work out why this is not working. When in the campon contect if you hit a DTMF key 2 you get moved to the exten => 2 defined in the mainmenu context not the exten => 2 defined in the campon context. What is wrong? The same happens if you hit key 1. [campon] exten => _*1XXX,1,Answer exten => _*1XXX,2,SetCallerID(${CALLERIDNUM}) exten =>
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out): > Can't comment on this one, as I never use AGI to dial. > My AGIs just set the context, extension and priority, > and exit to the dialplan to do any dialling. (http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537) I would like to do this, but I am having trouble figuring out how. I have
2003 Sep 19
7
AGI problem
Hi. I have the next configuration... I dial from my analog phone in the TDM400P to extension 102, and the second agi works about 1 out of 10 times, the other nine it gives me these error on the asterisk console: -- Starting simple switch on 'Zap/2-1' -- Executing Macro("Zap/2-1", "receivecall") in new stack -- Executing AGI("Zap/2-1",
2012 Jan 12
1
how to set callerid in php AGI file.
Hi, I am using phpagi for agi scripting. and want to update callerid number but didn't get any success. please help me how to update PHPAGI is new for me. Below is the code which I write. #!/usr/bin/php -q <?php set_time_limit(30); //require(.phpagi.php.); include("phpagi.php"); $agi = new AGI(); //answer the call $agi-> answer();
2006 Apr 25
3
billing realtime
Hi all I think this could be en old question. I would like to do a realtime billing prepaid system, mainly using asterisk. I have found few things; I can not get CDR function into agi because asterisk set them once the call is absolutely finish (at least main values for the main porpouse, billsec,duration, etc..) There is a patch that allow you to use CDR
2006 Feb 27
8
AGI Scripts Terminate too Soon
Ok, here's a weird one. I have an AGI script where one user calls another. The call is answered. Everything is peachy. If the call is terminated by the CALLEE hanging up the call, then Asterisk returns control back to where the Dial() command left off, and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great. HOWEVER, if the CALLER hangs up the call, it seems as if
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
2011 Feb 24
1
missing argument on AGI
Hi All, I'm using the asterisk 1.4.39.2 with phpagi 2.20 I have setup a dial plan: [callback-outbound] exten => _00.,1,Macro(callout|${EXTEN}) [macro-callout] exten => s,1,AGI(getchannel.php|${ARG1}) exten => s,2,Dial(Local/${OUTBOUND}@from-internal/nj||tr) exten => s,3,Hangup() but for some reason i am not receiving the argument: Executing [s at macro-callout:2]
2005 Jun 20
3
AGI/PHP errors
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 2593 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050620/a0fda201/attachment.jpeg
2005 May 24
3
PHPAGI problems
Hi Here is part of my extensions.conf exten => 8661231234,1,agi,dtmf.php When I dial this number, this is what I see in my asterisk console: -- Accepting AUTHENTICATED call from 198.22.67.70: > requested format = gsm, > requested prefs = (), > actual format = gsm, > host prefs = (gsm|ilbc|speex), > priority = mine -- Executing
2008 May 05
2
AGI - Choppy Sound
Hi folks, I'm experiencing some problems with sound through phpAGI ... What I'm trying to do is a menu, doing some database lookups and so ... But sometimes the sound become too choppy ... just sometimes .. like 1 of 5 calls ... but is a big percentage ... And I have my current menu on the dialplan that I have no problems with it ... I'm using .gsm for both but different
2010 Sep 16
5
AGI Delimiter in 1.6
Hi I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things I do on INVITES is to re-authenticate the user from OpenSER. Then when the INVITE gets passed to Asterisk I capture the AUTH to a variable in the dialplan and pass to an AGI script. I am now trying to set the same thing up in 1.6 However because the argument delimter in 1.6 has changed from pipe to comma this breaks as the
2006 Nov 02
1
AGI Problems
Hi, I've got a setup whereby calls come into the asterisk server (1.2.7.1) over a IAX2 trunk and into a dialplan that launches a php AGI script: [live-full] exten => _X.,1,Set(TIMEOUT(absolute)=0) exten => _X.,2,NoOp(${EXTEN}) exten => _X.,3,DEADAGI(live-full.php) exten => _X.,4,Wait,2 exten => _X.,5,Hangup The script is using phpagi-2 from http://phpagi.sourceforge.net/ and
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
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk spool directory and I get called back. That all works. And I have this script: #!/usr/bin/perl -w use Asterisk::AGI; my $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); $AGI->answer(); my $i; $i = $AGI->channel_status(); $AGI->say_digits($i); $i =
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 =>