Displaying 2 results from an estimated 2 matches for "ask_db".
Did you mean:
all_db
2005 Jan 21
0
Manager API on gives the DIALSTATUS of the first picked up channel?
...anyone know a work around?
I'm running Asterisk CVS-v1-0-12/20/04. I'm using PHP with Manager API
Here is the code:
####################################################################
# Make call
####################################################################
$socket = fsockopen($ask_db,"5038", $errno, $errstr, $timeout);
if (!$socket) {
echo "$errstr ($errno)<br /\n";
} else {
fputs($socket, "Action: Login\r\n");
fputs($socket, "UserName: $ask_us\r\n");
fputs($socket, "Secret: $ask_pd\r\n\r\n");
fputs($socket, "Action: Or...
2005 Jan 21
0
Help DIALSTATUS gives ANSWER when line is BUSY?
I'm running Asterisk CVS-v1-0-12/20/04.
I'm using PHP with Manager API Here is the code:
####################################################################
# Make call
####################################################################
$socket = fsockopen($ask_db,"5038", $errno, $errstr, $timeout);
if (!$socket) {
echo "$errstr ($errno)<br /\n";
} else {
fputs($socket, "Action: Login\r\n");
fputs($socket, "UserName: $ask_us\r\n");
fputs($socket, "Secret: $ask_pd\r\n\r\n");
fputs($socket, "Action: Or...