On Wednesday 13 Jan 2016, waqas.mehmood90 wrote:
> How to get user extention no in agi php scrip from which he's calling on
> ivr i am using cid and able to get his name but not his extention no
> please help me
Within the dialplan, what you are looking for would be ${CALLERID(num)} . So
you could just pass this as a parameter to your AGI script. BUT, it may well
be already there as an environment variable within the script.
Try writing a "dummy" AGI script that simply dumps the environment array to a
temporary file and then returns to the dialplan.
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- 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