[asterisk-dev] Detection of Answering Machine

Matt Riddell (IT) matt.riddell at sineapps.com
Wed Jan 25 20:08:54 MST 2006


exten => s,3,MachineDetect(700,2,2200)
exten => s,4,GotoIf($[${MACHINE} = 1]?machine1|s|15)
exten => s,5,Dial(SIP/5551234 at 192.168.0.1)

Looks for two 700 millisecond silences or 2200ms of continuous sound.

Goto extension s priority 15 in machine1 context if a machine is connected.

Dial 5551234 on 192.168.0.1 if a human is detected.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-dev mailing list