Re: [asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-18 Thread Bruce Nik
Thanks for the input. I have explored phpagi from sourceforge but they don't have any documentation or it's poor. I am just wondering if any can contribute their working php file with me that does Originate action. Thanks On Fri, Dec 18, 2009 at 12:24 PM, Alex Villací­s Lasso < a_villa...@palosa

Re: [asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-18 Thread Alex Villací­s Lasso
El 18/12/09 11:31, Bruce Nik escribió: > I am amazed that there is absolutely no proper documentation on how to > connect to Asterisk AMI with PHP. All tutuorial just mention: pass Action: > originate Channel: SIP/1234, blah blah blah and never give a simple example > of php. > http://phpagi.

Re: [asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-18 Thread Bruce Nik
Thanks for the input. Once the form is submitted the variables obtain a value which is the phone number, dial number, and spoof number. I did the telnet and it works fine. Now, I am really not a php coder and just stealing code from here and there to make this working. Here is what I noticed that

Re: [asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-18 Thread Prince Singh
Obvious debugging steps at this point:- 1. Manually connecting to AMI and testing the commands 1. telnet 127.0.0.1 5038 2. Login command 3. Originate command 2. Use a dummy AMI listener instead of actual asterisk to see if the events are going through 1. Stop asterisk

Re: [asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-18 Thread Tzafrir Cohen
On Thu, Dec 17, 2009 at 08:29:55PM -0500, Bruce Nik wrote: > Hello Everyone, > > I am making a simple index.php file which will allow a web user to enter his > $phoneNumb, $dialNumb, and callerID ($spoofNumb) and get the call bridged. > Following is the index.php and the contents of extensions_cus

[asterisk-users] To Asterisk AMI Gurus - Tacking issue with originate

2009-12-17 Thread Bruce Nik
Hello Everyone, I am making a simple index.php file which will allow a web user to enter his $phoneNumb, $dialNumb, and callerID ($spoofNumb) and get the call bridged. Following is the index.php and the contents of extensions_custom.conf. When I submit the form nothing happens. I don't even see Ma