[asterisk-users] Call Screening Not Working
Mojo with Horan & Company, LLC
mojo at horanappraisals.com
Thu Jul 5 17:55:40 CDT 2007
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
More information about the asterisk-users
mailing list