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

Problem with subdialog

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
soso
Posts: 62
Joined: Tue Apr 22, 2008 8:11 am

Problem with subdialog

Post by soso »

Hi,

I've a problem with a subdialog.

I've this code:

Code: Select all

     
        <field name="phonenumber" type="digits?minlength=6;maxlength=10">
                
            <property name="inputmodes" value="dtmf" />

            <nomatch>
                <audio src="media/hello1.wav" />
            </nomatch>

...

</noinput>
        </field>
        
        <subdialog name="checkresults" src="check_number.aspx" namelist="phonenumber" />
        
        <filled mode="all" namelist="checkresults">
            <if cond="checkresults.succeed == 'true'">
                <audio src="media/hello2.wav" />
            <else />
                <audio src="media/hello3.wav" />            </if>            
        </filled>
That's works perfectly!

But, when I a no match input, that does'nt works because the /field is above the filled markup.

Can you help me?

How can I include the subdialog to works when a phonenumber is correct and not?

Thanks by advance.

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

Clarification needed by IVR developers

Post by support »

Hi,

When you say you have a <nomatch> input, do you mean to say that in your field, when you enter a number that's not between 6 and 10 digits, you don't hear the nomatch message?

Also, could you clarify what you mean by getting your <subdialog> to work when a phone number is correct or not? What exactly does your subdialog do?

This would help us better in figuring out your IVR code.

Regards,
Plum Support

Post Reply