Displaying 20 results from an estimated 2000 matches similar to: "Asterisk AMI"
2005 Dec 28
2
PHP Manager
Hi all,
I have a small problem to execute Asterisk Commands in Asterisk
Manager using PHP.
I am able to run all Asterisk Manager command but the problem is
comming with asterisk command.
here is the code i am trying to run.
<?php
$socket = fsockopen("localhost","5038", $errno, $errstr, $timeout);
fputs($socket, "Action: Login\r\n");
fputs($socket,
2005 Jul 01
1
astmanproxy
Hello,
I want to recieve the output from astmanproxy in a php script.
Is that possible ?
I made a simple php script:
<PRE>
<?php
$socket = fsockopen("127.0.0.1","1234", $errno, $errstr, $timeout);
fputs($socket, "Action: Login\r\n");
fputs($socket, "UserName: xxx\r\n");
fputs($socket, "Secret: xxx\r\n\r\n");
fputs($socket, "Action:
2005 Jul 09
0
About the using of astmanproxy
Hi,I met the same problem as this mail,
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg101451.html
*******************************************************
Hello,I want to recieve the output from astmanproxy in a php script.Is that possible ?I made a simple php script:<PRE><?php$socket = fsockopen("127.0.0.1","1234", $errno, $errstr,
2005 May 26
1
Little Php question
> -----Original Message-----
> From: Ronald [mailto:asterisk107@gmail.com]
> Sent: 26 May 2005 10:47
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Little Php question
>
>
> Hi
> I'm trying to make a call from a local webpagee through my
> xlite softphone
> (xlite1)
> BTW when I'm trying to do it through
2005 May 26
0
SV: Little Php question
Hi
I think you should have a look at the end of line - you are missing " :-)
Br,
dmirty
-----Oprindelig meddelelse-----
Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Ronald
Sendt: 26 May 2005 11:47
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: [Asterisk-Users] Little Php question
Hi
I'm trying to make
2005 Jan 13
4
Manager API !!!!!!!!!
Hello all
Has anyone had any success with the Manager API ?
I am trying to check an extension status without too much luck I have
the following
<?php
$fp = fsockopen("127.0.0.1", 5038, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "Action: Login\r\n";
$out .=
2013 Feb 23
0
click2call with AMI?
Hi,
I have a PHP code with AMI to using in click2call system.
here is my code:
$user = "usernamr";
$secret = "secret";
$channel = 'SIP/' . $sip;
$context = "from-internal";
$waitTime = "20";
$timeout = 20000;
$priority = "1";
$maxRetry = "2";
$pos = strpos($number,
2009 Dec 23
1
AMI originate and PHP
Hi Guys,
I am trying to make a web form where a person is allowed to put in
$phoneNumber, $dialNumber, and $spoofNumber to make a call with spoof caller
ID. There are a few problems that I am facing with Asterisk AMI Originate
command. The reason why I want to use the darn AMI Originate is because I am
sending calls to mobile phones and I want to have some accountability and to
know if a call was
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
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 Manager Connected msg.
Your input will be much appreciated. I am thinking I have some syntax
2007 May 05
2
Manager API Output
Hi,
Is there any way that I can store my manager API output that is:
My question is that is there any why using that I can get the QueueStatus
and store the result in some text file for further processing.
<?php
$strHost = "127.0.0.1";
$strUser = "cron";
$strSecret = "1234";
2007 Jul 06
1
Asterisk Manager
Hi
this is my code for * manager:
$oSocket = fsockopen($strHost, 5038,
$errnum, $errdesc) or die("Connection to host failed");
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret:
2007 Jul 08
1
Asterisk Help
Hi
I need help in configuring a auto dialer system using Asterisk. I'm holding
my customers number in MySQL want to fetch 10 numbers one time and dial if
gets connected and answered by customer wants to play a sequence of message
. Please help .
I've tried here is my code to place calls but in this I see no of failure
calls are more than 50%. so please advise.
2012 Dec 12
1
Asterisk 11 originate errors
Hi,
I'm getting errors while originating a call through AMI.
[Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe
Asterisk version 11.0.1
2008 Jun 28
0
AMI extenstion state
Hi,
I would like to get the status of asterisk extension with my php program.
*My program as follows,*
<html>
<!--<meta http-equiv="refresh" content="1" />-->
<?php
$fp = fsockopen("xxx.xxx.xxx.xxx", 5038, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)<br />\n";
}
else
{
$out = "Action: Login\r\n";
$out
2007 Jul 08
1
Early Media Handling
Hi
using php script and Asterisk manager I'm dialing numbers and once gets
connected send to an exten in my dial plan that plays an automated message
but some time without answering even it goes to my exten. How can I handle
early media in Asterisk that is I want only when user answer the call it
should goto my specified extension.
my php script:
$oSocket =
2005 Jan 21
0
Manager API on gives the DIALSTATUS of the first picked up channel?
Hi All!
Let me explain the problem. When using the Originate?
command from the manager api, the dialstatus variable returns results?
for whichever phone picks up first, and in this case it is the IAX/2?
connection. It doesn't matter if Zap/G2/XXXXXXX is set as the channel,?
or an extension either. What I am ultimately trying to do is get the?
dialstatus of the Zap/X/XXXXXXX channel, i.e.,
2009 Oct 02
0
Sending a DTMF remotely with PlayDTMF problem.
Hello,
I need to be able to send a DTMF to an existing channel remotely. So I made
a php script to do such with the Manager command PlayDTMF. I need it for
example to start a transfer.
isb177*CLI> features show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # #8
Attended Transfer
2009 Oct 03
0
Problem sending a DTMF remotely. Please need help...
Hello,
I need to be able to send a DTMF to an existing channel remotely. So I made
a php script to do such with the Manager command PlayDTMF. I need it for
example to start a transfer.
isb177*CLI> features show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # #8
Attended Transfer
2009 Oct 06
0
Problem sending a DTMF remotely. Please need help!!!
Hello, how are you?
I need to be able to send a DTMF to an existing channel remotely. So I made
a php script to do such with the Manager command PlayDTMF. I need it for
example to start a transfer.
isb177*CLI> features show
Builtin Feature Default Current
--------------- ------- -------
Pickup *8 *8
Blind Transfer # #8
Attended
2007 Sep 07
1
Asterisk + Realtime + Manager reload = crash
I have several installations of Asterisk (several versions) where we
have our own web interface that uses Mysql and Realtime. When we do
modifications to Mysql we use a Manager connection in order to reload
the configuration (we use Realtime static for extensions) sometimes
Asterisk will crash. Not every time and not every X times we reload.
Sometimes it takes ten reloads and other just one