On 2 Mar 2012, at 11:35, Kamlesh Kumar wrote:
> $agi = new AGI();
> $agi-> exec('Background','press_one0&press_two0&press_zero0');
> $agi-> exec('Read','NUMBER,,1,3');
> $agi-> verbose ("You have entered".$NUMBER);

You need to use AGI to read the Asterisk variable.. Asterisk variables don't 
magically become PHP ones.. Or you get Asterisk to process it instead using 
${NUMBER}.

S
--
_____________________________________________________________________
-- 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