On 19.01.2010 16:49, Medakkar, Sachin (Sachin) wrote:

Hi --

I've just downloaded and installed SEMS to try and use, but am having a little difficulty in receiving its responses. I have a SIP Servlet that is sending an INVITE to SEMS over UDP from a random socket it has opened (e.g. port 8111) and expecting to receive a response at port 5070 as defined in the topmost Via header it has added.

It seems to me that SEMS is sending responses to the same port that it the request was sent along (i.e 8111) instead of 5070.

Could you confirm whether SEMS sends its responses over UDP to the *address AND port* defined in the top most Via header?


No, it is sent to the IP/port the request has been received from, which is the most reliable method. Let's think of NATs and what the UAC thinks his address/port is... Doing that 100% rigth would require a STUN server to be hosted at the same ip/port as SEMS, so that the same outbound port is used on the NAT. Only this way, the UAC gets a chance to guess its real ip/port.

Regards,
Raphael.
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to