Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Help me please i am facing much trouble


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
waqas.mehmood90 at yah...
Guest





PostPosted: Fri Jan 15, 2016 2:06 pm    Post subject: [asterisk-users] Help me please i am facing much trouble Reply with quote

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



Sent from my Samsung Galaxy smartphone.
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Fri Jan 15, 2016 2:27 pm    Post subject: [asterisk-users] Help me please i am facing much trouble Reply with quote

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

Quote:
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 sedwards@sedwards.com 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services