[asterisk-users] how many UDP ports is required for 1 call

Kevin P. Fleming kpfleming at digium.com
Wed Feb 22 18:04:38 CST 2012


On 02/22/2012 05:59 PM, Bruce B wrote:
>     <virbhati at gmail.com <mailto:virbhati at gmail.com>> wrote:
>      >how many UDP ports is required for 1 call. and why .
>
>     If you mean a voice call, it appears that each host must open three
>     UDP sockets:
>
>     - One to send/receive SIP commands
>     - Two to receive sound (one for RTP, one for RTCP; The first port is
>     even, the other is odd)
>
>
> This is I think the best answer provided to you so far. The simplest and
> most relevant I should say. Just to add to that, first port is TCP port
> and the other two are UDP ports assuming you are using SIP protocol.

This is the only answer that didn't require the original poster to have 
to know/learn anything, and thus while it is the 'best' answer, it also 
doesn't lead to any increased understanding on his part.

SIP is most commonly transported over UDP, not TCP.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list