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.
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.
Log in to post a comment.
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.
i also use AsteriskManager, the SetVar function.
however, it's also no good. any advise? Thanks.
i also use AsteriskManager, the SetVar function.
however, it's also no good. any advise? Thanks.