QueueMetrics forum

QueueMetrics => QueueMetrics installation => Topic started by: adz on September 23, 2010, 00:25:07

Title: passing variables in the URL popup
Post by: adz on September 23, 2010, 00:25:07
Hello,

I am working on setting up a URL to get popped up when a call comes in. I am hoping to pass through some variables into the URL. Has this been done before.

I'm hoping to be able to pass the Caller ID name, number, agent number, sip extension.
Title: Re: passing variables in the URL popup
Post by: QueueMetrics on September 23, 2010, 10:45:51
Yes absolutely - see http://queuemetrics.com/manuals/QM_UserManual-chunked/ar01s08.html for a table of variables that can be passed.
Title: Re: passing variables in the URL popup
Post by: adz on September 23, 2010, 22:01:34
Thank you - So calling "[C]" gives me the callerID Name, is it possible to get the callerID number?
Title: Re: passing variables in the URL popup
Post by: QueueMetrics on September 27, 2010, 09:29:10
That's what gets published by Asterisk in the CallerID field - it may be either the name, the number or both.
Title: Re: passing variables in the URL popup - RESOLVED
Post by: adz on September 27, 2010, 21:05:29
Thank you - I Ended up renaming it to CallerID Name + CallerID Number:

exten => _XXXXXXXXXX,n,Set(CALLERID(name)=${CNAM} + ${CALLERID(number)})
exten => _XXXXXXXXXX,n,Set(CALLERID(number)=${CNAM} + ${CALLERID(number)})
Title: Re: passing variables in the URL popup
Post by: QueueMetrics on September 28, 2010, 14:45:03
Looks fine to me!  ;D