Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
I mean part of RTP RFC? On Fri, Jan 14, 2011 at 2:41 PM, Bruce B bruceb...@gmail.com wrote: Hi Everyone, I am just tweaking a pfSense router and learning lots about NAT etcI noticed that each call uses four UDP port for RTP. Here is an example of port for a call I made: 10200 10201

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread David White
Discussion Subject: Re: [asterisk-users] Why are 4 ports used for a single call? I mean part of RTP RFC? On Fri, Jan 14, 2011 at 2:41 PM, Bruce B bruceb...@gmail.com wrote: Hi Everyone, I am just tweaking a pfSense router and learning lots about NAT etcI noticed that each call uses four

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Gary Allen
RTP always uses a random even numbered port, then RTCP will use the next port, which will always be odd numbered. Symmetric RTP only needs two ports, while asymmetric RTP uses four. http://www.armware.dk/RFC/rfc/rfc4961.html On Fri, Jan 14, 2011 at 12:44 PM, Bruce B bruceb...@gmail.com wrote:

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
Thanks guys. I am not sure whether that call was asymmetric or not but I saw 4 ports open. It could be that the other two ports were remnant of another channel even though I doubt it. Now, when I tried again, it is only 2 ports that is opened like you mentioned, even RTP port, and RTP port +1.

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Danny Nicholas
-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bruce B Sent: Friday, January 14, 2011 2:15 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Why are 4 ports used for a single call? Thanks guys. I am not sure

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Bruce B *Sent:* Friday, January 14, 2011 2:15 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] Why are 4 ports used for a single call? Thanks guys. I am not sure

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Bruce B *Sent:* Friday, January 14, 2011 2:15 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] Why are 4 ports used for a single call? Thanks guys. I am not sure whether that call

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Tilghman Lesher
On Friday 14 January 2011 15:12:29 Bruce B wrote: Off topic - what is top post? I am using gmail + chrome - no ugly Outlook. http://www.justfuckinggoogleit.com/search.pl?query=top+posting It's why most of the experts in here ignore your posts. If you haven't got the good sense to follow

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Tom Rymes
On 01/14/2011 4:19 PM, Bruce B wrote: Also, to get the SIP very well as well, SIP uses both TCP/UDP 5060 right? and why are there recommendations of opening 5000-5082 UDP for SIP along with 5060 TCP? Are there any niceties to that as well? maybe video transmission stuff? More likely, it's

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
So, simply pressing Reply and typing in the first line (using gmail webmail without any clients) is a sin here? How is that top posting??? probably your clients reading that way? On Fri, Jan 14, 2011 at 5:13 PM, Tilghman Lesher tilgh...@meg.abyt.eswrote: On Friday 14 January 2011 15:12:29

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Gilles
On Fri, 14 Jan 2011 17:29:26 -0500, Tom Rymes try...@rymes.com wrote: On 01/14/2011 4:19 PM, Bruce B wrote: Also, to get the SIP very well as well, SIP uses both TCP/UDP 5060 right? and why are there recommendations of opening 5000-5082 UDP for SIP along with 5060 TCP? Are there any niceties

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Tom Rymes
On Jan 14, 2011, at 5:24 PM, Bruce B wrote: So, simply pressing Reply and typing in the first line (using gmail webmail without any clients) is a sin here? How is that top posting??? probably your clients reading that way? It may be a sin here, but it is certainly impolite many places,

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
You really want to read the LONG LONG signature from some people before you read the actual latest message? I don't know about thatI guess it's a preference. Back to my other questions, now that UDP is clear for me, what ports does SIP require? TCP/UDP 5060 ? and why are there

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Tom Rymes
On Jan 14, 2011, at 6:45 PM, Bruce B wrote: You really want to read the LONG LONG signature from some people before you read the actual latest message? I don't know about thatI guess it's a preference. Suffice it to say, Bruce, this subject has been hashed over thousands, nay, hundreds

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Bruce B
On Fri, Jan 14, 2011 at 6:53 PM, Tom Rymes try...@rymes.com wrote: On Jan 14, 2011, at 6:45 PM, Bruce B wrote: You really want to read the LONG LONG signature from some people before you read the actual latest message? I don't know about thatI guess it's a preference. Suffice it to

Re: [asterisk-users] Why are 4 ports used for a single call?

2011-01-14 Thread Tom Rymes
On Jan 14, 2011, at 7:12 PM, Bruce B wrote: Thanks. That is in both TCP and UDP for SIP right? or simply UDP would do it as well? I am talking strictly in case of Asterisk. Asterisk 1.6 and newer support SIP over TCP. Older versions were UDP only, IIRC. Tom --