From: John M. <jo...@in...> - 2001-08-27 17:04:16
|
On Monday 27 August 2001 01:11, Walter Leemput (ETM) wrote: > Hi John, > > I ve a small question concerning your IVR sw. > When recording a message, how do you manage to stop the recording when = the > caller hangup? Do you check busy signal (caller has hang up) or do you > record a fixed length message (for example 30 sec) and stop recording. = I > ask this because with my voice modem im not able to receive the busy si= gnal > (code b), when the modem is in record mode. Only when the modem is in > playmode then the modem provides a busy sugnal (code b) when caller han= gup. > Mabe you have some suggestions? > Thanks in advance. My modem doesn't generate the busy code, either. I tell the modem to lis= ten for silence (#VSD=3D1), and set the sensitivity to the middle setting (#V= SS=3D1). The modem then generates quiet and silence codes during recording (\x10q= and \x10s) for each 2 seconds of quiet or silence detected. (The difference between quiet and silence is essentially that if the modem hasn't heard a= ny sound at all, it generates silence, but if there was sound and now there isn't, it generates quiet). Through trial and error, I came up with this formula which works for my phone: If I get 8 seconds of quiet in a row, or a total of 30 seconds of quiet, then it hangs up. It's kind of arbitrary... I haven't set a time limit on calls, although that's probably a great ide= a for an option! -- John Martin jm...@mi... "Love to eat them mousies / Mousie's what I love to eat. / Bite they little heads off / Nibble on they tiny feet." -- B. Kliban |