Author Topic: How to create IVR timeout when any key not pressed (no action) PHP  (Read 11382 times)

jonathanv@rokk3rlabs.com

  • Newbie
  • *
  • Posts: 5
    • View Profile
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

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: How to create IVR timeout when any key not pressed (no action) PHP
« Reply #1 on: March 05, 2015, 02:50:09 AM »
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.