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
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
2009/5/4 Mauro Davi' mauro.d...@acotel.com:
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??
Please, read the full description of load_gws([pvar]) in OpenSIPS: