Hello Uri,


Did you get any sort of response from the list…or were you able to figure this out ?

Regards,

Abdul Hakeem

From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Uri Shacked
Sent: Tuesday, October 25, 2011 1:28 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
Subject: [SR-Users] carrierroute issue with rewrite host

 

Hi,

 

I am using kamailio (only one) as routing engine. I have 2 gateways. Both of them sending calls to kamailio.

When i use the carrierroute module i need to change (and succeed) the user ($rU). But, i need to send the call (the invite) back to the gateway that sent me the call from the beginning (it can be either one of those 2). So, my problem is that i don’t want to rewrite the host in carrierroute, just the user. If i leave the rewrite_host field empty, it is considered to be "black list" and drops the call. If i rewrite the host, i can send the call to the second gateway that was not the one that sent the call, and the call drops as well.

 

any ideas how to use carrierroute for changing user only and send the invite back to the gateway that originally sent the call?

 

Thanks,

Uri