[asterisk-users] Call Forwarding Lopp Prevention

Doug Lytle support at drdos.info
Fri Jul 4 09:20:14 CDT 2008


Paradise Dove wrote:
> i have two extensions which have call forwarding enabled when they are
> "busy" to forward the caller to each other.
>
> 11 ==on busy==> 12
> 12 ==on busy==> 11
>
>
>   

exten => 11,1,Set(GROUP()=Loop11_Detect)
exten => 11,n,NoOP(Loop Detect for Extension 11: 
${GROUP_COUNT(Loop11_Detect)})
exten => 11,n,GotoIf($[ ${GROUP_COUNT(Loop11_Detect)} > 2 ]?11,100)
exten => 11,n,Dial(SIP/12)

exten => 11,100,Voicemail(11 at sip|b)
exten => 11,101,Hangup(17)


Doug

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list