similar to: php agi - first phrase truncated, all others fine

Displaying 20 results from an estimated 3000 matches similar to: "php agi - first phrase truncated, all others fine"

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
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
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 =
2009 May 29
1
how to detect dtmf in meetme
hello i want to kick participant in a meeting by pressing the digit on sip phone.when i entry the meeting ,no matter how i press the button,the dtmf does not work. here is my dialplan and my agi script,and sip.conf [from-internal] exten =>121,1,MeetMeCount(900,CONFCOUNT) exten =>121,2,GotoIF($[${CONFCOUNT}<10]?3:100) exten =>121,3,Authenticate(123456) exten
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
2006 Dec 26
1
agi+cepstral driving me nuts
I just got cepstal working fine in the dial plan using code like: exten => 511,5,AGI(cepstral.pl|Welcome to my house finder. At the beep enter your zip code.) The php script it calls is based on the nerdvittles weather one so it calls a webpage which prints to the screen, the nerdvittles code uses system to generate the .wav file then has the dial plan call it via: //php script $retcode2 =
2007 Jan 12
1
cepstral voice still nags after registration
I'm using trixbox and the asterisk agi. I downloaded a cepstral voice and worked with it until I got the code to do what I wanted. I then registered the voice today to get rid of the 'this voice is not yet registered", stuff yet it still does that. Any ideas on how to fix this? It told me my info was valid. Thanks! -------------- next part -------------- An HTML attachment was
2007 Jan 02
3
connecting asterisk (trixbox) to traditional phone lines?
Ok, I have trixbox working how I want. How do I now (cheaply as possibly) get a phone number so people can call it from any number? I am just doing a prototype so just want it done cheaply so I can demo it to my supervisors. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Oct 23
2
performance on document.get_data()
I got some performance issue for document.get_data() and enquire.get_mset(). It costs 35 seconds for matches = enquire.get_mset(0,200), and 3 seconds for iterating all doc in matches to get_data. Is't normal? My index contains 30millions documents. I use python binding to operate xapian. Bellow it's my index structure # value: 0:date, 1:site # data: json message which contains: author,
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
2008 Jul 23
3
Trouble Playing message file via Perl AGI
Hi all, I'm trying to build an IVR using the Perl AGI module at http://search.cpan.org/~jamesgol/asterisk-perl-0.10/lib/Asterisk/AGI.pm But, I'm having trouble getting my program to play a message and wait for a keystroke. I am able to use this code to play the file, so I know that the $msg variable points to a valid sound file: $result = $agi->exec("background $msg");
2008 Mar 07
3
is this possible..
I'm head of R&D for a dot com company and we are looking to create a prototype using asterisk. Basically we people who visit our site and search for goods listed by other people. Once something is found, a phone number is listed in the results and person A calls person B to see if the item is available, cost, etc. I'd like for the person searching to be able to click on 10 items
2014 Aug 07
2
agi get_data noanswer
Hi Guys.. I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue. I found that Playback with "noanwser" is usefull in this case. $AGI->exec('Playback',"$message","noanswer")} But when i request some values to the user with get_data, i think there is an answer anywere. Is there a way to get_data
2005 Oct 05
1
Caching DTMF tones for get_data AGI?
I'm using get_data in an AGI script and am having a problem when, after a long time in my IVR, when I ask for a 10-digit phone number, the first few tries are always invalid -- the number it reads back is very strange, almost like the DTMF tones from other answers were being cached and then dumped on the call to get_data. Anyone ever experienced this before? I have to do some major
2012 Oct 02
2
Questions on converting to ConfBridge
I'm looking at what would be involved in converting from MeetMe to ConfBridge and there seems to be a lot of missing administrative things, but I hope I'm just missing it. We all know about the missing realtime linkage. That's a major nuisance, but can be worked around. More serious is that the CLI command to display users in a ConfBridge don't show the caller ID information, so
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
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements..... #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); my $callerid = $input{'callerid'}; if ($optemp != 1) { my $empid = $AGI->get_data('employee',-1,5); $AGI->stream_file(entered); $AGI->say_digits($empid); my $optemp =
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... */ } else {
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
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();