Hello guys,
Im little confused, what delimiter uses Asterisk 1.8, but the askozia is throwing out the
error (before it was comma, then pipe, now i guess comma again??
Sep 5 23:37:49 asterisk[1467]: WARNING[1776]: pbx.c:1402 in pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Goto(10000|1))
I saw this link on freepbx, so i guess comma is right thing now. It would be wise to change
it asap as half of phpagi functions are broken right now:
http://www.freepbx.org/v2/browser/freepbx/branches/2.9/amp_conf/agi-bin/phpagi.php?rev=12397If I missed something, please correct me.
Another question. I`m having problems with application which checks caller id from DB and then
redirects caller to what ever extension is responsible for client. How do you correctly use Goto to
transfer call from phpAGI?
$agi = new AGI();
$agi->answer();
$cid = $agi->request['agi_callerid'];
$name = rand(1000000,9999990);
$context = $agi->request['agi_context'];
$agi->set_callerid('"Example '.$name.'"<'.$cid.'>');
$agi->exec_goto($context,"10000","1");
It doesnt work, do i have to remove $context?
Thanks for great software, and keep up the good work,
Best reagrds