similar to: AGI and AMI in PHP -- What's current?

Displaying 20 results from an estimated 3000 matches similar to: "AGI and AMI in PHP -- What's current?"

2014 Apr 03
1
PAGI
Hi, Anybody using PAGI scripts, http://marcelog.github.io/articles/pagi_tutorial_create_voip_telephony_application_for_asterisk_with_agi_and_php.html Would like to know the feasibility to build a IVR solutions. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Feb 23
4
AMI FullyBooted issue
Hi We're still testing out asterisk 1.8 (using 1.8.2.2 from rpm package) before putting it into production and I'm observing an odd issue when using the AMI Every request I send to the AMI just results in a FullyBooted response rather than the expected response. Here are some examples from my logs -- Call started: 22/02/2011 11:34:03 -- action: command command: core show channels
2016 Aug 10
2
Replacement for phpagi?
Anyone know a good replacement for phpagi? Unfortunately development stalled long ago and it has not been updated. What is the best solution for AMI and AGI on PHP? Thanks. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161
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]
2023 Aug 08
1
Subscribing to events on AMI login
I'm looking at an old app I wrote that upon AMI login would subscribe to events as follows: Action: Login ActionID: myid Username: myun Secret: mypw Events: call, system, security I noticed this old code isn't working, and I *think* that the events parameter of login has been deprecated; I don't see it referenced in:
2006 Dec 27
1
php agi trixbox help
I have this code which was taken from the phpagi project page along with the following in extensions_conf and the output from the asterisk CLI. When I call the 311 extension, I does nothing then hangs up. What am I doing wrong?? ----php code------------ #!/usr/local/bin/php -q <?php set_time_limit(30); require('phpagi.php'); $agi = new AGI(); $agi->answer(); $cid =
2014 Sep 23
2
read digits from the user through php agi script
hi everyone, actually i want to release an IVR system using PHPAGI API , in this IVR i want to get value from the user. I already used get_data defined in phpagi but they are not able to get the value given by the user and store it in a php variable. i tested this : $result = $agi->get_data('beep', 3000, 20); $keys = $result['result']; but every time i found in $keys variable
2023 Aug 08
1
Subscribing to events on AMI login
On Tue, Aug 8, 2023 at 12:44 PM TTT <lists at telium.io> wrote: > I'm looking at an old app I wrote that upon AMI login would subscribe to > events as follows: > > > > Action: Login > > ActionID: myid > > Username: myun > > Secret: mypw > > Events: call, system, security > > > > I noticed this old code isn't working, and I
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();
2007 Jan 15
3
php agi - first phrase truncated, all others fine
I have the following code. When I call the extension, it either ignores the first "Hello there everyone", or says "hello" and moves on sometime stoping before it finishes hello. The rest of the text reads fine. Anyone else have this issue?? Thanks! require('/var/lib/asterisk/agi-bin/phpagi.php'); $agi = new AGI(); $agi->answer();
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
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
2008 Mar 19
3
phpagi
Hello, How do I install phpagi? http://phpagi.sourceforge.net/ I couldn't find any info about setup in that site, and I couldn't email the developers.so I'm lost. I know it isn't a real question for this list, but I suppose many people here already have installed it. So, how can I install it? Thanks Carlos -------------- next part -------------- An HTML
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
2009 Jun 04
3
PHP/AGI/SetVar Issue
Is there a limitation to the number of variables you can set from a PHP agi script? I have a simple example and I can't get it to let me set more than 1. I am pretty sure I am just missing something, but I've searched all over an can't find the answer. Here is the extensions.conf part: exten => _XXXXXXXXXX,1,AGI,diallocal.agi exten => _XXXXXXXXXX,n,NoOp(${ISLOCALCONTEXT})
2004 Jul 06
2
AGI - No audio
All, I am currently working with the AGI interface using PHP, I have it working to execute commands that do not require prompts to be played, but when I execute an AGI command to play a prompt or stream a prompt all i get is silence (although I can see in the log where it says the correct name for the prompt to be played). I have looked through the wiki and googled extensively, so if something
2006 Feb 06
1
php agi configuration issue
Hi all, I would like to eliminate about 150 lines in log /var/log/messages) every time a call is placed/received If I type, on the asterisk console, set verbose 0 the lines in the log disappear, but it appears to me too drastic as a method.... The lines shown in the log don't appear (at least to me) very critical: no problems at all are shown. Isn't any way to turn off this debug ? I
2005 Oct 13
1
AGI Variable problem
Hello all, I try to use a agi script to get a variable from * und put them into a script which gives me another variablke and put this in *. My problem is now it seems the var ID is empty coz i always jump into the result 0 loop. The $MSN should be in the SetCIDNum. #!/usr/bin/php -q <?php include("/var/lib/asterisk/agi-bin/phpagi.php"); $agi = new AGI(); $ID =
2005 Aug 01
1
How to install PHPAGI?
Hello everyone, Where can I find instructions on how to install PHPAGI? BTW, what's the difference between PHPAGI and PHPAGI2? Are they different products? It's hard to tell from voip-info.org... Best, Leo
2004 Jun 11
0
Problem with AGI
Hi, I am trying to use the WAIT FOR DIGIT command with the phpagi class phpagi.php. When I run the file testing_phpagi.php which creates an instace of the phpagi class and calls the agi cmd, from command line, it runs fine without any parse errors. I can also iterate thru the VERBOSE, WAIT FOR DIGIT etc commands as I run the testing_phpagi.php file from the command line. However, when I dial