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
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.
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
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
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
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