Share This Post:

Missing object notification

Having trouble getting responces from gateway. in 30% of successful calls gateway does the call to the site. please find vxml file example attached.


<form name="dialer">
...
<field name="am_pm" cond="time == '*'">
<prompt timeout="30s">
<block>Please select one for AM or two for PM.$lt;/block>
</prompt>
<dtmf>1 | 2</dtmf>
</field>

<block name="confirmation">
Thank you...
</block>

<object classid="http://12.12.34.34/ls004ke2tmv.aspx?id=1234">
<param name="price" expr="price" />
<param name="time" expr="time" />
<param name="am_pm" expr="am_pm" />
</object>
</form>


Can you advise what is the cause of the absence of callbacks.

When the execution is done with the confirmation section, it will execute the object section, and the call will finish. Looks like the call is disconnected sooner than there is a chance to execute the object section. This will happen when the caller hears the “thank you”, but not the rest of the message, and hangs up the phone.

So the fix is easy, just move the object section above the confirmation section. So when the customer heres the confirmation, the object section should be executed already.

I have moved the object before confirmation, now it end the call before confirmation but issue with responces seems resolved. Can I get both responce and confirmation message?

Please make sure the return of: “http://12.12.34.34/ls004ke2tmv.aspx?id=1234″ is of java Properties format. Otherwise, the system assumes the object call is not successful and stops the rest of the dialog. You can find the format in the load() method of the java.util.Properties class. Basically a list of name value pairs:

name1=value1
name2=value2

Ok, thanks alot, but what parameters should i return to voicent gataway? Should i just open responce stream, send parameters there and then close it?

It does not matter. It can be any list of name value pairs. You can access these name value pairs from the return variable of the object tag. For details, please see the IVR Studio document.

Yes, you can send the name value pairs and then close the response stream.

Share This Post:

This entry was posted in IVR General. Bookmark the permalink.