[asterisk-users] Specifying DID for outbound calls

Joshua Colp jcolp at digium.com
Sun Dec 19 22:03:57 UTC 2010


----- Original Message -----
> >> First, when using multiple accounts from the same DID provider, is
> >> it
> >> ideal to use IP based routing using one context as I currently am
> >> or
> >> have a separate contexts for each account in the sip.conf?
> >
> > That's really the only way to do it presently.
> 
> So I should have multiple incoming and outgoing contexts? Vitelity
> will allow me to use IP routing or user/pass auth, the latter would
> allow me to specify the outgoing context, this would also guarantee
> the correct account is billed and not alone rely on caller-ID.

Let me clarify further. For calls FROM vitelity you are pretty much
limited to a single context in sip.conf doing IP based matching. Most
equipment will not authenticate to you, and chan_sip currently has no
additional method for separating the accounts into separate contexts.

For calls TO vitelity you should probably have separate contexts.
 
> Thanks for being responsive, I do not work with Asterisk much,
> actually I do not touch it unless I need to add more functionality
> outside of regular patching so my fu is not strong in this area ;-)


-- 
Joshua Colp
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-users mailing list