5 posts / 0 new
Last post
antme's picture
Joined: 2016/04/22
Points: 10

In the user portal if one extension forwards calls to another extension. And that other extension forwards calls back to the original extension. This causes an infinite loop with eventually causes the whole asterisk system to crash and drop calls. Is there any way in preventing this?

This also happens if the users dial *72.

I have set limitations on # of Outbound Calls and also Call Limits per extension but this doesn't seem to help as the loop in "server sided."

Please is there any way we can prevent this, I can't have one customer crash the whole system for every customer.

mattdarnell's picture
Joined: 2007/10/25
Points: 40

Does that happen a lot?
Does the call limit per extension stop it?

matthewmalk248's picture
Joined: 2015/08/09
Points: 30

I actually just had this happen a few days ago, total panic mode!

mattdarnell's picture
Joined: 2007/10/25
Points: 40

Did you have a call limit per extension set? I would think that every forwarded call is a new call to Asterisk.

eeman's picture
Joined: 2007/11/06
Points: 290

correct, if you use dialplan to forward a call you are using a different channel driver (chan_local) which is unaware of this condition. If the phone was sending a forward via temporarily moved to another device that pointed back to this one, it would detect a loop. There is no way to code around this because no matter how hard we try to look for it, someone always manages to screw it up by adding another layer. Instead of 2 devices forwarding to each other they instead make it a round robin of 3, then 4, etc. Its like they do this on purpose. I told one customer if it continued they would be forced to purchase single tenant so they're only screwing their own system up, and would get charged a bill to correct.

Erik Smith
Thirdlane/Asterisk Support available