I'm using partysip/0.5.5.
I've got a question on REGISTER command.
To which ip does the partysip send the 200 OK response for a REGISTER command.
1. is it the ip:port in the Via header??
or
2. from where it recieved the request.
I'm working on symmetric NAT solution thru a TURN-like server fro my softphone. where all then communication from the partysip shud be routed thru a TURN-like server.
my scenario is
I have a client A who is behind NAT(ip is 202.122.122.20 )
TURN like server hosted at ..68.122.235.171
say my register req is sent directly to the partysip. lets assume its sent from ( 202.122.122.20:7000 )
my Via header conatins the user IP as 68.122.235.171:3000
The partysip is not using the IP address provideed in Via or the Contact headers but it is using the port no and the IP address of UDP source.
in my case, partysip sends the response 202.122.122.20:3000.
can somebody explain me why this behaviour is?? and what can i do to make the proxy use the IP provided in Via or Contact headers in REGISTER packet.
Thanks.
Howard