> 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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to