Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » Determine number called / session variables?
Determine number called / session variables? [message #891573] Mon, 25 June 2012 09:28
Kevin Smith is currently offline Kevin SmithFriend
Messages: 7
Registered: May 2012
Junior Member
Hi,

We have a requirement in our project to provide different authentication options based on the number used to dial into the application. However, I can't seem to find a way to capture this. I have been looking at the Variables.InitialParameters object but the parameters don't appear to be set at all (unless I am doing something silly Smile ). Specifically, this code...

for (var entry in Variables.InitialParameters) {
  Log.info(entry);
  Log.info(Variables.InitialParameters[entry]);
}


...outputs the identifier of all attributes in the object but no value is output for any attribute.

Am I doing something wrong or is there some other way to get this info? How does this get populated from the IVR?

Edit: Solved, this was also a problem with our IVR provider. For future people reading this (hi from 2012!), the above code is indeed the correct way to read in GET parameters added to the URL of your application.

[Updated on: Tue, 17 July 2012 09:12]

Report message to a moderator

Previous Topic:Set caller id within application?
Next Topic:'fetchtimeout' and other W3C 2.1 properties
Goto Forum:
  


Current Time: Wed Nov 26 18:53:50 GMT 2014

Powered by FUDForum. Page generated in 0.01755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software