Hello, I have this agi script that takes some time to finish proccessing and context created on extensions_custom is not waiting him to finish before move on to next instructions. est of my script which has quicker processing works just fine. *bellow my extemsions_custom.conf [OPT_BLOQUEADO] exten => s,1,Verbose(MACRO: OPT_BLOQUEADO);MOSTRA O INICIO DO MACRO NO DEBUG same => n,Answer(); same => n,Read(ID,"silence/1",18,,,25);READS ID same => n(dig1),Agi(bruno/libera-confianca-ssh.agi,${ID});CALLS...
Thank you, !/usr/bin/php-cgi -q Instead of ….. !/usr/bin/php -q it has worked for me...!!
How to use $agi->get_data with multiple audio files
Problem on asterisk 13 with DIALSTATUS
Hi does somemone replys or was that an environment Problem? Did You fix the Problem ???
i also use AsteriskManager, the SetVar function. if(!class_exists(‘AGI_AsteriskManager’)) { require_once(dirname(FILE) . DIRECTORY_SEPARATOR . ‘phpagi-asmanager.php’); } if(!class_exists(‘AGI’)) { require_once(dirname(FILE) . DIRECTORY_SEPARATOR . ‘phpagi.php’); } $asm = new AGI_AsteriskManager(); $agi = new AGI(); $channel = $agi->request[‘agi_channel’]; if($asm->connect()) { $asm->SetVar($channel,Volume(RX),4); } however, it's also no good. any advise? Thanks.
i also use AsteriskManager, the SetVar function. if(!class_exists(‘AGI_AsteriskManager’)) { require_once(dirname(FILE) . DIRECTORY_SEPARATOR . ‘phpagi-asmanager.php’); } if(!class_exists(‘AGI’)) { require_once(dirname(FILE) . DIRECTORY_SEPARATOR . ‘phpagi.php’); } $asm = new AGI_AsteriskManager(); $agi = new AGI(); $channel = $agi->request[‘agi_channel’]; if($asm->connect()) { $asm->SetVar($channel,Volume(RX),4); } however, it's also no good. any advise? Thanks.
Asterisk can set volume in dialplan but is there any way to set in phpagi? I tried agi->set(VOLUME(RX),4); but it seems not functioning. please share your thoughts. Thanks.
Show incoming call's CallerID in web page using PHP - Asterisk
Show incoming call's CallerID in web page using PHP using Asterisk
Show incoming call's CallerID in web page using PHP
HI. This is True: $dialstatus = $agi->get_variable('DIALSTATUS'); if($dialstatus['result']...
Is there a way for calling a given mobile number directly from phpagi. I have done...
Not able to get the Dialstatus
how i can set alarm during of dial with phpagi ?
hello, i develop a phpagi aplication, but, when te caller hangup the aplication still...
DIALSTATUS returning result as -1 and data field empty
im using asterisk with phpagi. im using get_data function to get DTMF tons from the...
Hi, I have two questions. a. Is there an installation manual for CentOS? b. The command...
Hi, I have two questions. 1. Is there an installation manual for CentOS? The command...
Hello all, I'm new on phpagi, I found below script form Openvox manual, I don't understand...
While the project seems quite with no changes from so long time, I am using it for...
Is it possible to open a new browser tab with an alert javascript with the caller...
Is it possible to open a new browser tab with an alert javascript with the caller...
Hi all, I am trying to get queue member list in .php using $agi->get_variable("QUEUE_MEMBER_LIST(washingtonflyer)");...
stream_file() isn't playing the first file. This example plays nothing: $agi->stream_file('filename','1');...
I'm having this same issue, but the above doesn't seem to fix it...
Hi, try with this one: $agi->stream_file('custom/Folder_With_Playable_Sounds/Sound','#');...
Hello. Sorry for my English. I can not capture the value of the variable in my agi....