Displaying 20 results from an estimated 200 matches similar to: "To Asterisk AMI Gurus - Tacking issue with originate"
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
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
2011 Feb 13
1
Call Files, Variable passing
Hi,
I am having trouble passing variables via the call files, here is my call
file via the php:
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Events: off\r\n");
fputs($oSocket, "Username: $strUser\r\n");
fputs($oSocket, "Secret: $strSecret\r\n\r\n");
fputs($oSocket, "Action: originate\r\n");
fputs($oSocket,
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.
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";
2005 Aug 19
2
Whoops! PHP does not have MySQL support
http://209.204.172.137:82/testphp.php
So, I will need to recompile PHP with MySQL (and Interbase), however I
do not want to "upset the appple cart" by bring in something that will
cause conflicts. Is there a step-by-step discussion on how to do this
for php 4.3.9?
Todd
--
Ariste Software
200 D Street Ext
Petaluma, CA 94952
(707) 773-4523
2010 Jan 02
4
Help getting info from caller
Hello. Happy New Year to everyone.
I have a small WISP and would like to have customers to call our number to check their balance. I am planning on writing an AGI with php so it can get the customer info from the customer database. I don't know how to interact with the caller while in the agi script so this is what I have in mind:
[test-agi]
exten => 33,1,Answer()
exten =>
2007 Jan 07
1
Updating PHP
My version of Centos (4.4) comes with php 4.3.9. Since I run Interbase
on the server, I need to recompile the php with Interbase. The only php
I have found is 4.4 which I have downloaded and untarred as well as
configuring it with Interbase, doing the make and make install.
Where I am lost is on having Apache (httpd) use it rather than the 4.3.9
( http://209.204.172.137:82/testphp.php ).
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,
2007 Oct 13
0
Set up two PSTN calls and then join them
I wish to set up two PSTN calls and then connect them similar to Jajah (is
this called 3pcc?). The PSTN interconnect is handled by a third party SIP
provider.
I can do this using the manager or call files. An example (using php) would
be:
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Events: off\r\n");
fputs($oSocket, "Username: $strUser\r\n");
2006 Dec 29
0
PHP to call script
Using the php script below. I am able to enter my number and the number to
call, however I get the following error:
-- AGI Script cid-spoof.agi completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
-- Executing Wait("OutgoingSpoolFailed",
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 =
2009 Aug 01
1
how to setup incoming calls not to use authentication
Dear all,
In Sip.conf file how to setup incoming calls not to use
authentication?
Please provide some steps to do it..
Thanks...
Regards,
Velusamy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090801/d6c39afc/attachment.htm
2009 Oct 30
2
asterisk 1.6 enable cdr_mysql
How to enable cdr_mysql.conf in Asterisk 1.6?
I have installed asterisk-addons which compiled mysql support,
"module show" is showing "cdr_addon_mysql.so"
but cdr_mysql.conf was not created in /asterisk directory
Is there any configuration file to enable mysql support?
Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded.
--
2007 Jan 02
5
Call connected, cannot hear or speak - $20 for fix
I am able to get this script to dial, but I am unable to talk or hear
anything. The script asks for the number to call and the the caller id to
display (if user is not at their normal extension). Once submitted, the
external extension receives a call, once answered the call is then placed to
the dentition number.
The script works as the call is place, but I cannot hear or say anything.
Any one
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
2009 Oct 05
1
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