Vxml dialog max time

Version 1
    This document was generated from CDN thread

    Created by: Grant Bagdasarian on 24-05-2012 02:17:25 AM
    Hello,
     
    Is it possible to set the time a vxml dialog may last? For instance, automatically disconnect the call after 1 minute.
     
    Grant

    Subject: RE: Vxml dialog max time
    Replied by: Anusha Kannappan on 05-06-2012 06:17:00 AM
    Hi Grant,

    There is no event timer in VXML API.

    Thanks,
    Anusha

    Subject: RE: Vxml dialog max time
    Replied by: Grant Bagdasarian on 11-06-2012 09:42:51 AM
    Hello Anusha,

    That's too bad.

    It there perhaps another way to control this? I could transform the VXML to TCL to control it, but I rather not.

    Regards,

    Grant

    Subject: RE: Vxml dialog max time
    Replied by: Raghavendra Gutty Veeranagappa on 13-06-2012 06:39:49 AM
    Hi Grant,

    did you try using maxtime attribute in transfer to limit the call duration.

    <transfer name="mycall" destexpr="'tel: '+ phone_num" bridge="true" connecttimeout="150s" maxtime="180s" cisco-longpound ="true" >

    Thanks,
    Raghavendra

    Subject: RE: Vxml dialog max time
    Replied by: Grant Bagdasarian on 19-06-2012 02:09:34 AM
    Hello Raghavendra,

    Sorry for my late reply.

    It needs to be the max-time for the whole VXML dialog. I'm simply playing an audio file to the end-user, but they're able to repeat it infinite times.

    I guess I'll just limit the maximum of repeats to a limited number and disconnect when that number has been reached.

    What I'm concerned for is that the end-user doesn't disconnect for some reason and the call stays open. A max-time attribute on the whole vxml would have prevented this and the call would just get disconnected after a certain period of time.


    Thanks,

    Grant