« Back to VXML-API

RE: Vxml dialog max time

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
Is it possible to set the time a vxml dialog may last? For instance, automatically disconnect the call after 1 minute.
 
Grant

Hi Grant,

There is no event timer in VXML API.

Thanks,
Anusha

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

RE: Vxml dialog max time
Answer
6/13/12 11:39 AM as a reply to Grant Bagdasarian.
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

RE: Vxml dialog max time
Answer
6/19/12 7:09 AM as a reply to Raghavendra Gutty Veeranagappa.
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