Hi All,<br><br>I am trying to call an IVR remotely over the event socket port. I am testing using telnet. I call originate (similar to the following):<br><br>api originate {origination_caller_id_number=8885551111,ignore_early_media=true}sofia/gateway/teliax/18885552222 &ivr(demo_ivr)<br>
<br>This works fine (places the call, runs the IVR, accepts DTMF tones to move between menus).<br><br>My problem is that I would like the remote app to send a PIN as part of the originate call, then have the callie enter the PIN via DTMF and indicate whether there was a match or not back to the calling app (which is a remote web program). We are trying to keep it simple and have the remote app just call the IVR and get the result, without having to control the IVR through asynchronous events.<br>
<br>Is there any way for the IVR to check for a match, then somehow send info back over the port to the calling app?<br><br>By the way, I tried using menu-exec-api inside ivr.conf.xml (to see if I might be able to use the echo api call or something similar), but I got the following error:<br>
<br> 2010-01-19 01:22:55.796658 [WARNING] switch_ivr_menu.c:704 Invalid Action [menu-exec-api]<br><br>Thanks.<br><br>