I would appreciate any ideas of what I'm doing wrong on this.   My
dialplan calls an AGI which records a file.  That works, but I'm trying
to find a way to determine whether the caller pressed # to stop a
recording before the maxtime expired, or if the recording ended due to
reaching the max timeout.  The $fx variable in the below agi excerpt
always returns 0.

 

$res = $agi->exec('Record', "$filename.gsm||$maxtime");

$fx = $res['result'];

 

Thanks,

 

Jeff 

 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to