We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

VXML Record

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
BrianDigitalPharm
Posts: 2
Joined: Wed Jun 19, 2019 3:05 pm

VXML Record

Post by BrianDigitalPharm »

Hi,

We are building our IVR on PlumDev and Python (Flask; requests library).

One of our IVR tree's branches is a simple voicemail option which will submit the voice recording back to our app's route /record/upload.

Here is the VXML form for this piece:

Code: Select all

<vxml xmlns="http://www.w3.org/2001/vxml" application="/root.vxml" version="2.0">
    <form id="fetch_record_menu">
        <block>
            <prompt>
                At the tone, please record your message. When you have finished, press the pound key.
            </prompt>
        </block>
        <record name="voicemail" type="audio/x-wav" beep="true" maxtime="120s" finalsilence="4000ms" dtmfterm="true"/>
        <block>
            <submit namelist="dnis ani session_id voicemail" next="/record/upload" enctype="multipart/form-data" method="post"/>
        </block>
    </form>
</vxml>
When our app receives the POST request, it is not getting the full namelist as the docs indicate:
https://www.plumvoice.com/docs/dev/voicexml:tags:record
https://www.plumvoice.com/docs/dev/voicexml:tags:submit
https://www.plumvoice.com/docs/dev/deve ... taexchange

I also noticed our app gets HTTP EXPECT 100-Continue which appears to be something that we need to handle; no mention of this in Flask docs or help on StackOverflow. From what I have found this behavior is undocumented. We have been unable to find solutions to work with/around this because without the values in the namelist our app will not have context of which call any particular voicemail recording maps back to.

Hoping someone can chime in and help us out. Thanks,
-B

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: VXML Record

Post by support »

Hi Brian!

We noticed your request come in through our regular support channel as opposed to the forum. We certainly want to make sure you get the assistance that you need. We will continue our correspondence through that other channel. As always, if you do have additional questions or concerns, please don't hesitate to reach out to us.

Regards,

Plum Voice Support

Post Reply