[SIPForum-discussion] Port numbers problem

Mudugere, Satish satish.mudugere at intel.com
Tue Mar 8 18:08:41 UTC 2011


Your understanding is correct. In SDP, devices share their receiving ports (sent port can be anything). What ever is mentioned in media line is to be the target media port.

-S

-----Original Message-----
From: andre heller [mailto:andre.heller1 at gmx.de] 
Sent: Tuesday, March 08, 2011 2:24 AM
To: Mudugere, Satish; discussion at sipforum.org
Subject: Re: RE: [SIPForum-discussion] Port numbers problem

Hi Sathish,
you mean to say that it is absolutely fine to send RTP packets using 5060 as local port, to the remote port number which I have received from remote party's SDP. And when I need to listen for RTP then I should be listening on the port number which I have sent in my INVITE/SDP to the remote party.

Finally I can understand it does not really matter from which port I send my RTP.

Correct me if I am wrong.

Regards

-------- Original-Nachricht --------
> Datum: Mon, 7 Mar 2011 19:08:07 -0700
> Von: "Mudugere, Satish" <satish.mudugere at intel.com>
> An: andre heller <andre.heller1 at gmx.de>, "discussion at sipforum.org" <discussion at sipforum.org>
> Betreff: RE: [SIPForum-discussion] Port numbers problem

> While socket binding local port (sending RTP packets from local to remote)
> can be anything, but the remote port must be the one received in media
> line of SDP. In your example it is 18990.
> 
> -S
> 
> -----Original Message-----
> From: discussion-bounces at sipforum.org
> [mailto:discussion-bounces at sipforum.org] On Behalf Of andre heller
> Sent: Monday, March 07, 2011 10:47 AM
> To: discussion at sipforum.org
> Subject: [SIPForum-discussion] Port numbers problem
> 
> Hi,
> I need some clarification regarding binding port numbers when sending RTP
> packets.
> 
> I am using network sockets in developing my SIP Client. When I send my RTP
> packets to the SIP Server which port should I locally bind to i.e my
> client should be binded to which port number, should it be the SIP Port = 5060,
> or the port number which I have sent with my INVITE which is m=audio 18990
> RTP/AVP.
> 
> Can somebody give more information regarding this.
> 
> Regards
> -- 
> NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone




More information about the discussion mailing list