[asterisk-dev] Can't get WaitForSilence to work

John Vogel johnv at comcast.net
Tue Jan 31 21:20:41 MST 2006


I must be doing something wrong but can't tell what.

 

Using Asterisk-1.2.3 running on RedHat 4 and an X-Lite softphone, SIP,
running on Windows to talk to it. 

 

Asterisk is behaving very well for all kinds of things but WaitForSilence
and BackgroundDetect simply don't work.

 

Here's some code from extensions.conf (taken straight off the web):

 

Exten => 7001,1,WaitForSilence(200,7)
Exten => 7001,2,WaitForSilence(700,1)
Exten => 7001,3,Playback,outboundmsg
Exten => 7001,4,Hangup

 

No matter what I do it drops straight through to playing the message. It
doesn't wait at all.

 

Turned on "verbose" and "debug" in logging.conf. 

 

Jan 31 19:58:01 DEBUG[31589]: app_waitforsilence.c:135 do_waiting:
WAITSTATUS was set to TIMEOUT

 

Looked at the source code but that didn't tell me much because no errors
occurred. The code is happy.

 

Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060131/1a1e22a3/attachment.htm


More information about the asterisk-dev mailing list