Outbound calls not being generated from inbound calls
Posted: Thu Jan 24, 2008 10:38 am
Hello support, we found the last issue, and it is that after a congrats
audio is played the submit info is sent, and people usually hang up
before. That's why outbound calls were not being generated from inbound:
<form id="commitData">
<block>
<prompt bargein="true">
<audio
src="http://74.86.129.199/sound/mp3/dc/ClosePrompt.mp3">
Audio could not be fetched.
</audio>
</prompt>
<submit
next="http://74.86.129.199/bwwtest/phone2phone.php" namelist="yourname
friendsname timeglobal friendphonenumber character" method="post"
enctype="multipart/form-data"/>
</block>
</form>
So to avoid this issue we need to first submit the data, and secondly play the audio.
So since I read submitting data makes the application lose its flow, I
had to use a subdialog instead.
As you an see the ClosePrompt.mp3 audio is played and some users hang up. The submit is after the audio.
When I tried the subdialog first and the audio secondly I found out the audio was not playing. Reading your tag reference I found an argument called fetchaudio for the subdialog which seemed to play an audio while the data is submitted.
This fetchaudio argument played the audio for a second, submitted the data and hanged up. There was not argument to tell finish playing the audio even if the submitting finished.
What I tried to do is the following based on a code I found in the
forum which also did the same:
<form id="commitData">
<subdialog name="bye"
src="http://74.86.129.199/bwwtest/phone2phone.php"
namelist="yourname friendsname timeglobal friendphonenumber
character" method="post" enctype="multipart/form-data">
<filled>
<if cond="oResult.code">
<audio
src="http://74.86.129.199/sound/mp3/dc/ClosePrompt.mp3">Your message has
been succesfully delivered</audio>
</if>
</filled>
</subdialog>
</form>
I wrote this code based on one you have in the forum, but as soon the message is delivered plays a bit of audio and hang ups.
Thank you:
Pablo
audio is played the submit info is sent, and people usually hang up
before. That's why outbound calls were not being generated from inbound:
<form id="commitData">
<block>
<prompt bargein="true">
<audio
src="http://74.86.129.199/sound/mp3/dc/ClosePrompt.mp3">
Audio could not be fetched.
</audio>
</prompt>
<submit
next="http://74.86.129.199/bwwtest/phone2phone.php" namelist="yourname
friendsname timeglobal friendphonenumber character" method="post"
enctype="multipart/form-data"/>
</block>
</form>
So to avoid this issue we need to first submit the data, and secondly play the audio.
So since I read submitting data makes the application lose its flow, I
had to use a subdialog instead.
As you an see the ClosePrompt.mp3 audio is played and some users hang up. The submit is after the audio.
When I tried the subdialog first and the audio secondly I found out the audio was not playing. Reading your tag reference I found an argument called fetchaudio for the subdialog which seemed to play an audio while the data is submitted.
This fetchaudio argument played the audio for a second, submitted the data and hanged up. There was not argument to tell finish playing the audio even if the submitting finished.
What I tried to do is the following based on a code I found in the
forum which also did the same:
<form id="commitData">
<subdialog name="bye"
src="http://74.86.129.199/bwwtest/phone2phone.php"
namelist="yourname friendsname timeglobal friendphonenumber
character" method="post" enctype="multipart/form-data">
<filled>
<if cond="oResult.code">
<audio
src="http://74.86.129.199/sound/mp3/dc/ClosePrompt.mp3">Your message has
been succesfully delivered</audio>
</if>
</filled>
</subdialog>
</form>
I wrote this code based on one you have in the forum, but as soon the message is delivered plays a bit of audio and hang ups.
Thank you:
Pablo