[asterisk-users] route based from source
Steven J. Douglas
stevend at moij.biz
Wed Jan 28 04:03:48 CST 2009
Use different context for both users in sip.conf. In the context for
user 100300, include the context sip-trunk-100. For user 101300, include
the context sip-trunk-101.
Regards,
Steve
Nhadie wrote:
> Hi,
>
> Is it possible to detect where the call came from and route it out to
> different sip trunks.
>
> e.g.
>
> i have user 100300 when that user calls outbound i will make him use of
> [sip-trunk-100]
>
> another user, 101300 when that users calls outbound i will make him use
> of [sip-trunk-101]
>
> actually the 100 and 101 at the beginning of the username is the
> accountcode i used for cdr.
>
> hope my question was clear enough. thanks in advanced
>
> regards,
> nhadie
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list