[OpenSIPS-Users] DRouting Module and LCR Module

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat May 9 12:31:21 CEST 2009


Hi Mauro,

You should consider the dialplan module for this - you can pass as input 
the RURI ($ru), match the domain part of it via a regexp and do a subst 
to replace the domain with the IP of the SBC.

See: http://www.opensips.org/html/docs/modules/1.5.x/dialplan.html#id227206

Regards,
Bogdan

Mauro Davi' wrote:
>
> Hi All,
>
> I need to route a call based on domain name.
>
> For example I need to route a call to a SBC if the domain is equal to 
> ‘domain.es’.
>
> The DRouting module and the LCR module can route a call based on 
> username’s rules. There is a way to route a call on a rule based on 
> the domain part of the RURI??
>
> Thank in advance
>
> MD
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list