Askozia Forums
May 21, 2012, 06:53:37 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: phpAGI delimiter bug?  (Read 443 times)
rayden
Newbie
*

Karma: 0
Posts: 3


View Profile
« on: September 05, 2011, 10:12:50 pm »

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?? Smiley
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=12397

If 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
Logged
rayden
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #1 on: September 08, 2011, 03:10:59 pm »

bump? nobody?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 18 queries.