[Asterisk-Dev] Dialplan Loop Detection

Andreas Sikkema andreas.sikkema at bbned.nl
Tue Jan 17 02:48:38 MST 2006


> So i'd like to ask here, if there does already exist 
> something to detect
> such loops - or if i should sit down and write my own (and 
> share it with
> the asterisk community) application for it ?

You don't have to detect these situations but you can have 
the dialplan prevent this from happening.

On an "incoming" call do the DB lookup and stuff for the forward 
and then place a call to the destination and don't perform the 
same db magic on the destination. Only allow one forward for each 
call, otherwise some very strange scenario's can happen and billing 
some of them get's very nasty.

-- 
Andreas Sikkema



More information about the asterisk-dev mailing list