Mersi mult Daniel! It worked but unfortunately it didn't fix the issue.
As I mentioned previously the original setup is like this:
Asterisk -> Kamailio gateway -> carrier. All calls go through just fine
The new setup we are trying is:
Asterisk -> Kamailio load balancer ( dispatch module ) -> K
Let me also explain a bit what I'm trying to fix through this method.
We have an Asterisk box that forwards call through kamailio to one of
our carriers. That works great. The calls are being forwarded with a
To of: 5551112...@kamail1.domain.com towards our carrier
We also added another ka
Sorry if I repeat myself - I just subscribed properly to the list:
if you don't need to change it back for replies and next requests, try:
$td = "xyz.com";
IIRC, that is available on 3.2.x. If not, either you upgrade or use
replace functions from textops.
Cheers,
Daniel
Thank you for rep
Hello,
As it happens we run Kamailio 3.2.0 on Debian Lenny which for some
reason does not support uac_replace_to()!
Anyhoo, we are trying to change the domain part in the To URI. What is
the best way to do it ?
Thank you!
___
SIP Express Rout
I'm using Kamailio 3.1
I have a custom routing statement called MYROUTE which is placed like
this:
route { ... route (MYROUTE); route (RELAY);}
Inside MYROUTE I do some custom SQL checking that basically selects
the least cost provider for the ongoing call. The MYROUTE routine sets
the $rU, $rd
I'm using Kamailio 3.1
I have a custom routing statement called MYROUTE which is placed like
this:
route { ... route (MYROUTE); route (RELAY);}
Inside MYROUTE I do some custom SQL checking that basically selects
the least cost provider for the ongoing call. The MYROUTE routine sets
the $rU, $rd