Page 1 of 1

Problem with subdialog

Posted: Wed Jul 09, 2008 7:31 am
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.

Clarification needed by IVR developers

Posted: Wed Jul 09, 2008 9:40 am
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