similar to: missing argument on AGI

Displaying 20 results from an estimated 1000 matches similar to: "missing argument on AGI"

2006 May 23
2
Outband call from php script
Hello, I am trying to make the following... Can someone tell me if it is possible? Is someone willing to do it from an asterisk@home box? 1. I send an http request to asterisk@home box. Ex: http://asterisk@home/call.php?phone=0033102030405&code=12345 2. Application will call phone number 0033102030405 (using a sip provider) 3. Application will play a pre-recorded voice prompt 4. Application
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 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
2010 Jun 05
5
Controlling calls
Hello folks, I want to write an AGI script doing this: 1-user call a number. 2-asterisk call the agi script 3-the script dial the peer 4-if the call is answered, let the call up for 1min 5-then the script hangs up the channel. I tried either in php or in java but no success. In java i did this: ////////////// exec("Dial", "IAX2/400"); boolean t=true; while(t){
2009 Mar 18
3
Manager API Originate CDR Problem, all is NO ANSWER
hi, all asterisk 1.4.24 , zaptel 1.4.10.1 , E1 Manager API Action : Action: Originate Channel: ZAP/G1/8888888 Callerid: 12345678 Context: callout Exten: s Priority: 1 extensions.conf [callout] exten => s,1,Answer() exten => s,n,Wait(10) exten => s,n,Hangup() when the phone 8888888 pick up , it will come to callout context, after hangup, one cdr generate, but the
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 supporting, have a nice day. Sucan
2009 Aug 18
1
Play Fake ring in phpagi
> I'm going blind searching - maybe you know? > > During the 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
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();
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
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,
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
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
2010 Jan 04
2
caller getting cut off intermittently
I have recently moved our asterisk server from our LAN to a Debian Lenny server (Asterisk 1.4.21.2~dfsg-3 ) with a public IP outside our network. Our phones are behind a natted firewall. An ITSP provides a PSTN to SIP termination for incoming calls Public ITSP -->Asterisk server-->Natted firewall-->extension (192.168.1.x) Everything works fine (incoming/outgoing audio etc.) except
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
2006 Jun 08
1
RSA Signature (key ***) failed
In a dual server configuration one of the two servers fail with: WARNING[3705]: res_crypto.c:335 __ast_sign_bin: RSA Signature (key sintel-voip) failed NOTICE[3705]: chan_iax2.c:5187 authenticate: Unable to sign challenge withy key WARNING[3705]: chan_iax2.c:7191 socket_read: I don't know how to authenticate sintel-user to 10.27.33.1 We use the rsa authenticatio: in the server A
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
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