search for: phpagi

Displaying 20 results from an estimated 85 matches for "phpagi".

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? Th...
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
2005 Jun 09
1
PHPAGI Swift Escape Digits
I am trying to use swift in PHP/AGI. function swift($text, $escape_digits='', $frequency=8000, $voice=NULL, $fnameIn='') During swift speaking some text I want the caller to be able to press 1, 2 or 3 to do thing 1, thing 2 or thing 3. How are these digit defines and then caught? Thanks, Michael
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
2007 Jun 19
2
PhpAgi call generation
hi i'd like to write a simply application in php with phpAgi that: - connect to Asterisk - call an external number using a Zap channel - play a message here is some code: <?php $asm = new AGI_AsteriskManager(); if ($asm->connect()) { $asm->Originate("Zap/g1/1","number","default","1"); /* play message......
2009 Aug 18
1
Play Fake ring in phpagi
...execution of a script I want to play fake ring to caller. > Both of these examples complain of missing option: > > $agi->exec("Ringing"); > $agi->exec("Playtones ring"); > > Notice: Undefined variable: options in > /var/lib/asterisk/agi-bin/includes/phpagi.php on line 326 > > Warning: Missing argument 2 for AGI::exec(), called in > /var/lib/asterisk/agi-bin/dax-ivr.agi on line 156 and defined in > /var/lib/asterisk/agi-bin/includes/phpagi.php on line 323 > I changed to $agi->exec("Playtones ring",""); - no err...
2010 May 14
1
is my PHPAGI Soap code right?
Hello, i try to use soap in the phpagi. i want to call a function from a web service when a user call a telephne failed. this is my phpagi script, Could you show me what's wrong ? becasue i can't excute it successfully. please open the following url to see my code: http://pastebin.com/uzvWSxPy Thanks! -- Thanks for your s...
2005 May 24
3
PHPAGI problems
...9-2", "dtmf.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dtmf.php -- AGI Script dtmf.php completed, returning 0 -- Hungup 'IAX2/NuFone@198.22.67.70:4569-2' When I dial, this does not do anything, and just disconnects. But if I dont use the phpagi.php, I am able to run a simple php agi script well. Wonder what I am doing wrong. Any help is highly appreciated Thanks Hariom
2006 Jan 13
4
PHPAGI daemon/background task?
I have a script that I want to leave running in the background to handle specific manager events. I'm running into a problem where it gets stuck in the wait_response function in phpagi-asmanager.php and the PHP maximum execute timeout kills the script. The script doesn't interact with the dialplan, so I cannot launch it from within Asterisk. Any pointers would be appreciated. I did look through the wiki and gave google a chance, but the results found didn't really sugg...
2007 Jan 15
1
phpagi transfer example
Hi, i want to to this thing with php AGI: #!/usr/local/bin/php -q <?php set_time_limit(30); require('phpagi.php'); error_reporting(E_ALL); $agi = new AGI(); $agi->answer(); $cid = $agi->parse_callerid(); $agi->text2wav("Hello, {$cid['name']}."); $agi->text2wav('Enter some numbers and then press the pound key. Press 1 1 1 followed by the pound key to quit.');...
2008 Jan 18
2
SAY TIME + PHPAGI + Timezone
Hello All, Is there any way to change the timezone on the fly? I have this little time clock program running on Asterisk system developed using PHPAGI. Currently, whenever user logs in, Asterisk will prompt the current system time using "$agi->say_time();" which executes "SAY TIME". Now the current timezone set on the system is "PST", and I have a request to prompt multiple timezones based on the users locatio...
2007 Feb 12
1
phpagi - Event "On Hangup"
Do you know if it is possible to handle some events with phpagi? For example: On hangup (doesn't care if by caller or by asterisk) do something.... Thanks
2010 Apr 04
1
[OT] phpagi help
Hi, I am attempting to connect to the blacklist database using PHPAgi and it always seems to hang. The code snippet I am trying is: $r = $agi->get_variable("CALLERID(num)"); $cidnum = $r["data"]; if ($cidnum < 1000000000) # No valid callerid. { exit(0); } $r = $agi->database_get("blacklist", "$cidnum");...
2013 Apr 17
1
Phpagi action based on outbound call user response
Hello List, In PHPAGI, I'm using the Astrisk Manager function send_request() to originate an outbound call. I want to execute the remaining PHP code after the call gets executed (depending on user input). But presently the call originates in a different context and asterisk executes the remaining code in parallel. 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(); //an...
2007 Sep 13
0
[phpAGI] generate a call from a SIP device to Asterisk
Hi i need to generate a call from a SIP hardware device to Asterisk. The device isn't registered with a sip account to Asterisk. What i've done, is to do this (using phpAGI): ..... $asm->Originate(SIP/user_on_device at ip_of_device,2000,"default","1"); ..... And on the extension 2000 in the context "default" exten => 2000,1,ChanSpy(|g(100)) exten => 2000,2,Hangup Is it correct ? or shall i do something else? -- /*********...
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...
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 com...
2014 Nov 18
2
AGI and AMI in PHP -- What's current?
I'm writing some code that needs to access AMI in PHP. (I'll probably be doing AGI later as well.) I'm looking at phpagi (2.20), but it hasn't been updated since 2010 and appears to be a bit behind current Asterisk -- No event handler for event 'fullybooted'. What PHP framework/library are you using -- and why? -- Thanks in advance, --------------------------------------------------------------------...
2008 Oct 05
5
asterisk, phpagi and singleton
...us.php and cdr.php connects to database to retrieve/store data. So one call - 2 connections to database. So I want to do like this: 100 simultaneous calls , make 200 queries per one mysql connection. WEB developers uses singleton to avoid this issue. Maybe somebody has experience with singleton and phpagi. thanks... -- Pagarbiai / Best Regards, Giedrius Augys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081005/44b48149/attachment.htm