Hi All,
One question for you:
I have my script, it works fine (for the moment), but I am doing some script for get some value from callers. Ex.: I want to do an outbound call like that:
"Hello, You are Mr. Jonh and you are 32 years old. Press 1 for confirm that. Press 2 for reject this affirmation. Press 3 for end the call"
If 1: Tahnks Mr. Jonh [end call]
if 2: Sorry for this error. [end call]
if 3:nothing [end call]
I can doing this kind of script, I saw the documentation and that is not the problem. I find the problem when I need to know what it was the entry of caller [1,2 or 3]. Where can I find this information?
Where Can I read some documentation about this? Do you send this information in the url_result? where?
thanks.
Omar.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Get Value entry from Caller.
post the IVR script that you're using to collect those input
Can you please post the IVR script that you are using to collect those inputs? We can make some suggestions based on what your VXML looks like.
Thanks!
Thanks!
Last edited by support on Fri Jan 01, 2010 1:40 pm, edited 1 time in total.
-
- Posts: 34
- Joined: Tue Aug 08, 2006 10:00 am
put normal vxml script in start_url field of IVR outbound ca
It'd be helpful for starters to just post the IVR script that you mention is working fine below. All IVR outbound calls are based off of a normal vxml script anyway. So if you have something that's working, you would put its URL in the start_url field of the IVR outbound call request.
Last edited by support on Sat Feb 20, 2010 3:49 pm, edited 2 times in total.
-
- Posts: 34
- Joined: Tue Aug 08, 2006 10:00 am
Here is my simple message:
Now, I want to add one menu for confirm this message(message like you can see in my first post), I don't finish this script yet. I know how I can add a menu, I read the documentation, but I didn't find where my site can find the result. Where does the plum portal send me this information? in the result_url? I need only that documentation or example.
Thanks.
Omar.
Code: Select all
<vxml version="2.0">
<form>
<block>
<prompt>
Hello Jonh. Your name is Jonh and you are 23 years old.
</prompt>
</block>
</form>
</vxml>
Thanks.
Omar.
-
- Posts: 34
- Joined: Tue Aug 08, 2006 10:00 am
Hi all,
Here the message, now the same question, how my site (application) can get if the caller pressed "1", "2" or "3"?
Thanks for your patience.
Omar.
Here the message, now the same question, how my site (application) can get if the caller pressed "1", "2" or "3"?
Thanks for your patience.
Omar.
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
Hello Jonh. Your name is Jonh and you are 23 years old.
</prompt>
<goto next="#mainmenu"/>
</block>
</form>
<menu id="mainmenu">
<prompt>
For confirm that, press 1.
For reject that, press 2.
For cancel this call, press 3.
</prompt>
<choice dtmf="1" next="#confirm">
Confirm this message</choice>
<choice dtmf="2" next="#reject">
Reject this message</choice>
<choice dtmf="3" next="#cancel">
Cancel this message</choice>
</menu>
<form id="confirm">
<block>
Thanks for confirm this message.
</block>
</form>
<form id="reject">
<block>
Thanks for you time.
</block>
</form>
<form id="cancel">
<block>
Thanks for you time
</block>
</form>
</vxml>
write IVR script that collects and process data on outbound
Our recommendation is that you first learn how to write an IVR script that will collect and process data on an IVR inbound call before converting it into an IVR outbound call.
In the case of your IVR script below, you could add a <field> block to collect data which would then be posted back to your IVR application server with the <submit> tag. It could look something like this:
In the case of your IVR script below, you could add a <field> block to collect data which would then be posted back to your IVR application server with the <submit> tag. It could look something like this:
Code: Select all
<field name="caller_response">
<grammar>
1|2|3
</grammar>
<prompt>
Press 1 for confirm that.
Press 2 for reject this affirmation.
Press 3 for end the call.
</prompt>
<filled>
<submit next="your_app_server_script.pl" namelist="caller_response"/>
</filled>
</field>