Determine number called / session variables? [message #891573] |
Mon, 25 June 2012 09:28 |
Kevin Smith 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 ). 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
|
|
|
Powered by
FUDForum. Page generated in 0.02745 seconds