[asterisk-users] Call Screening Not Working

Peder @ NetworkOblivion peder at networkoblivion.com
Thu Jul 5 13:17:01 CDT 2007


I am using the Find-me/Follow-me example below with screening:

http://www.voip-info.org/wiki/view/Asterisk+tips+findme

Here is my actual config:

[macro-screen]
exten => s,1,Wait(1)
exten => s,n,Background(press-1-to-be-connected-to-the-caller)
exten => s,n,Set(TIMEOUT(response=5))
exten => 1,1,NoOp(Caller accepted)
exten => i,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=CONTINUE)

[default]
exten => office,1,Dial(SIP/609,30,M(screen))
exten => office,2,Hangup

exten => mobile,1,Dial(SIP/608,30,M(screen))
exten => mobile,2,Hangup

exten => 6084,1,NoOp
exten => 6084,2,SetMusicOnHold(default)
exten => 6084,3,Dial(LOCAL/office&LOCAL/mobile,40,m)




I am running 1.4.5.  When I call the number, it rings the phones and 
plays the message, but no matter what I do, the call gets bridged.  If I 
hit 2, or nothing, or it times out, the call gets bridged to whoever 
picks it up.  The script should continue with the other called numbers 
until the timeout, but it doesn't seem to work that way.  Any ideas what 
is wrong?  My guess is that something changed in 1.4 to make this fail, 
but I don't really know what.




More information about the asterisk-users mailing list