Asterisk Call Variables

jessie

Joined
Sep 17, 2008
Messages
124
Likes
0
Points
0
#1
Hi Guys,

I am not sure if this is the right place for these thread.

I need your help about my ongoing project integration. I setup ADM (Asterisk Desktop Manager from http://adm.hamnett.org). The purpose is to pop-up a certain URL on a listening channel, like for example:

DID incoming call to 1000 - URL to popup: http://www.yahoo.com
DID incoming call to 1001 - URL to popup: http://www.google.com
and so on...

My program listen to the variable string forwarded from the manager.conf by the following string:

name=%name% - Name tag from the calling party
caller_ID=%numbe% - Number that appeared from the calling party

This are all showing from the debug.

But here is my problem. What is the variable string for the called party. For example, the DID 888-1999 ring to destination 1000. What is the variable string for me to get the extension 1000?

Here is the actual URL pop-up configured in the ADM:

http://192.168.1.1/crm.php?name=%name%&caller_ID=%number%&called_ID=%destination number%

The variable string name and caller_ID is working, but what is the correct string for destination number?


Your help is very much appreciated.


Regards to all,

Jessie
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top