[asterisk-users] Call Forwarding Lopp Prevention

2008-07-04 Thread Paradise Dove
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

when both extensions are Busy a large number of stale calls will be
made in the system!
how can i prevent this mess in my system?

___
-- 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


Re: [asterisk-users] Call Forwarding Lopp Prevention

2008-07-04 Thread Doug Lytle
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([EMAIL PROTECTED]|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