Chris Miller wrote:
I would tend to agree, but the context that holds these number is an
inbound context which includes additional logic that would fail normal
calls. Yes, I can add the DIDs to the outbound context, but the point
here is not to have a bloated dialplan with parallel data in multiple
contexts. If I must have parallel data, I'd rather do a lookup in an
external table using AstDB or an application similar to DUNDILookup() or
ENUMLookup().
Another route I tried was to setup a "local" SIP trunk to catch the
loops and send them down the inbound context. This fails because there
are no SIP headers and the unknown peer is effectively NULL and will
never match this trunk. As I said, they just get routed to
from-sip-external.
Put the DIDs in a context by themselves. include => that context in
both your incoming context and your phones context.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users