Re: [asterisk-users] Call Forwarding Lopp Prevention

Top Page

Reply to this message
Author: Doug Lytle
Date:  
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Call Forwarding Lopp Prevention
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@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."


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --


AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users