[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/officeLOCAL/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
Re: [asterisk-users] Call Screening Not Working
-Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] 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/officeLOCAL/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 Starting 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 ___ --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
Re: [asterisk-users] Call Screening Not Working
I know there is FMFM in 1.4, but I want to know why the macro isn't working. I added a NoOp and Wait to the macro as lines 4 and 5 and neither gets executed. As soon as I hit any number such as 2, 3 or 4, I immediately get bridged to the call. I may be wrong, but I'm pretty sure that shouldn't happen. - Original Message - From: Bobby Crawford [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, July 5, 2007 2:27:05 PM (GMT-0600) America/Mexico_City Subject: Re: [asterisk-users] Call Screening Not Working -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] 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/officeLOCAL/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 Starting 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 ___ --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 ___ --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
Re: [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/officeLOCAL/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 ___ --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