On 20.01.2010 12:06, Medakkar, Sachin (Sachin) wrote:

Hi Raphael --

Firstly, thank you for your quick response.

Could you tell me whether I could use SER to have the response from SEMS sent back to the expected port my application server is listening on, or whether it too behaves in a similar way to SEMS?


I am not 100% sure at this place. If I were you, I would try it.
Actually, all the UAs I have tried so far were working like a charm... Are you trying to do something special by sending the request from another ip/port as were you which to get the reply? Maybe there is another much simpler solution?

Another thought was whether SEMS can use TCP?

unfortunately not. And it is not on the agenda, as SER can be used that purpose. It can translate between UDP and TCP back and forth.


Regards,
Raphael.

Regards,

Sachin

------------------------------------------------------------------------

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Raphael Coeffic
*Sent:* 20 January 2010 10:40
*To:* [email protected]
*Subject:* Re: [Sems] Help using SEMS

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