Hello,
I am trying to setup a stateless proxy where certain requests are forwarded to another sip server that will handle those requests specifically. I have the request message forwarding to the other sip server but the reply is being sent back to the original sip server then to the client. When I look at the SIP request and reply, I see a new "Via" header line with the IP address of the original sip proxy server. What I am trying to setup is a stateless proxy which just forwards the original request to another sip server and then this second sip server will handle everything from there. Basically offloading the traffic to other servers. Currently i am rewriting the ruri host and port as done in the sample config and issuing the forward() function. I have tried t_relay() as also in the sample config but I get the same results. Is there something else that I need to do before forwarding to the other sip server? How can I get rid of the new "Via" line? I believe this is from record_route() but I am not issue this before I perform the relay.
I have Kamailio 3.2.3 loaded and used the sample config as my base config.
Thanks
Nathaniel