On Sat, 16 Jan 2016, waqas.mehmood90 wrote:

How to get user extension number in agi php scrip from which he's calling on ivr i am using cid and able to get his name but not his extension no please help me thanx in advance

You can use the 'agi set debug on' CLI command to enable AGI debugging. This will show you the AGI variables passed to your script.

You can use the 'dumpchan()' application to display the available channel variables.

There are also CLI commands to interrogate the Asterisk database.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST

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