HI Ricardo,
the received address is set as outbound proxy(OBP) for the request. rewritehostport change the RURI. OBP has priority against RURI when is about routing.
so, use t_replay_to() like function (depends of your openser version) to forward via an OBP. Also you may replace rewritehostport() with setdsturi() to set a new OBP.
regards, bogdan
Ricardo Martinez wrote:
Why openser is routing the call to the "received" ip address insted of the ip address indicated in my route[8] by the rewritehostport("111.76.154.101:5060"); ??? Hope that someone can help me here Is there a way to avoid this ?