Yate server > Yate IVR

How to create IVR timeout when any key not pressed (no action) PHP

(1/1)

jonathanv@rokk3rlabs.com:
We use the following method to detect this event:
OnUnhandled

we have been guided according to the following documentation:
http://sourcecodebrowser.com/yate/2.1.0-1~dfsg/class_i_v_r.html#aa82401c24af3ed6ab0ead1c5cd04eaa6

but it not works, please we need your help.. Thanks!

Monica Tepelus:
Hi,

You can use RecStop() method with a maxlen(octets - not time). When that amount of data is transfered you will get a chan.notify.

Navigation

[0] Message Index

Go to full version