You can transfer the call to an extension (using the transfer app in the dialplan) which is controlled by your java application using Java ESL in outbound mode. Once you have control of the call, you can check all the call variables by looking at the call headers.
Here’s the flow:
dialplan (ivr) -> user’s select option -> save option in variable -> transfer to extension 1234 -> java app
I recommend you to use the Java ESL client (http://wiki.freeswitch.org/wiki/Java_ESL_Client), check the test examples and go from there.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nitin Tomer
Sent: Monday, September 03, 2012 1:13 AM
To: 'FreeSWITCH Users Help'
Subject: [Freeswitch-users] Query about Valet Parking
Hi,
I am building an application, in which callers will call a designated number, will be presented with an IVR menu and then their call will be parked at an extension. I need to call a Java API after that and pass on Customer’s IVR selection to that API. How can I do that? Any pointers?
Thanks
Nitin