[OpenSIPS-Users] How to route calls between SIP domains

SamyGo govoiper at gmail.com
Wed Jan 17 14:16:38 EST 2018


Hi,
I'm pretty sure you'll need to write domain-translation rules (custom
logic) in order to allow inter-domain calls. There can be many ways to do
that but lets stick to old-school-approach...prefixes. Use prefixes to
differentiate if user want to do inter-domain calling.

Prefix: Domain
1 : aaa.com
2 : bbb.com

I'm sure you can use some opensips' module to achieve that as well, like
regex, dialplan, alias_db.. possibly carrierroute!?(not sure myself)

I hope you get the idea.

Regards,
Sammy.

On Wed, Jan 17, 2018 at 7:02 AM, Jeffrey Zhao <chunyong.zhao at qq.com> wrote:

> Dear Sir/Madam
> We are using multiple SIP domains in one OpenSIPS instance, for example
> 1001 at aaa.com
> 2001 at bbb.com
> Both extensions register with the same OpenSIPS, if 1001 at aaa.com want to
> call 2001 at bbb.com, the SIP URI the phone sent out will be 2001 at aaa.com,
> how to configure in confit file to translate to 2001 at bbb.com?
> Thanks.
>
>
> Sent from my iPhone
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180117/c76a8423/attachment.html>


More information about the Users mailing list