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.
> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Peder @ NetworkOblivion > Sent: Thursday, July 05, 2007 1:17 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] Call Screening Not Working > > 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. > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersStarting with 1.4, there is a built-in FollowMe application. You can find some docs on voip-info.org on how to use it. Hopefully that fixes your problem here. Bobby
Mojo with Horan & Company, LLC
2007-Jul-05 22:55 UTC
[asterisk-users] Call Screening Not Working
No idea if this is where your problems are coming from, but change: exten => s,n,Set(TIMEOUT(response=5)) to exten => s,n,Set(TIMEOUT(response)=5) (the parenthesis moved a bit) Peder @ NetworkOblivion wrote:> 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. > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users