[asterisk-users] call forward all except the extension it is forwarded to

Vieri rentorbuy at yahoo.com
Wed Feb 11 06:16:08 CST 2009



--- On Wed, 2/11/09, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:

> > I would like to know if I can set Call Forwarding on
> an extension but allow direct calls from the extension it is
> forwarded to.
> > 
> > Example:
> > 
> > Extension 100 sets call forwarding (all) to extension
> 101.
> > 
> > All calls to 100 are immediately forwarded to 101 as
> expected.
> > 
> > However, if 101 tries to transfer a call to 100 or
> tries to call 100 directly, it sounds "busy"
> because it obviously goes into a loop where 101 tries to
> call itself.
> > 
> > How do I set an "exception" so that 101 can
> actually call 100 even if the latter is forwarded to 101?
> > 
> > I'm using * 1.4
> 
> Use the "if" statement.

Thanks. I thought it would be that simple but I guess I´ll have to check out the freepbx code and see where I can stick in an "if".



      



More information about the asterisk-users mailing list