What is FreeSWITCH running on? Linux?<br><br>Iptables has a module which recognises RTP packets attached to a SIP session and will mark them as RELATED. If his firewall is state based then it may be automatically opening the RTP ports for the call even if they are normally blocked.<br>
<br>There will be two separate connections for a call:<br>1. Signalling<br>2. Media<br><br>Signalling will be between port 5080 and a random port on the client. It can be UDP or TCP (normally UDP). Media is a separate protocol (RDP), it will always be a separate connection never to port 5080. There&#39;s just no way for it to piggyback on the SIP.<br>
<br>SIP contains SDP, this contains the information on where to send media to. On a call to the server, the INVITE will contain SDP from the client which will contain the IP and port on the client which will receive media (one end of the connection). When the server starts sending media it will send a SIP 180/183/200 with SDP. This will contain the IP and port at the server end for the client to send media to. If you collect a packet trace of the call, you will be able to see the IPs and ports that media will be using. Or by capturing the RTP packets to see where they&#39;re going from/to.<br>
<br>Media can either go via the server (which would require the port to be open, or a state based firewall) or bypass it (bypass media mode, where the client IPs are in the SDP not the server so the connection is opened directly between the clients, therefore no open port is required on the server).<br>
<br>-Steve<br><br><br><br><div class="gmail_quote">On 13 August 2010 20:12, Marshall Harrison <span dir="ltr">&lt;<a href="mailto:marshall@gotspeech.net">marshall@gotspeech.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I know that.<br>
<br>
I&#39;m trying to determine how a client&#39;s serve which he claims only has port<br>
5080 open is working. If what he is saying is true then I don&#39;t see how the<br>
calls are working. I can&#39;t get into the system so I am having to debug based<br>
on what he is telling me.<br>
<br>
FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP<br>
Peer. When a call comes in SesWorker  opens a port for RTP with the SIP Peer<br>
that can be anything from 1024 - 65535.  That RTP channel is between<br>
FreeSWITCH and Speech Server.<br>
<br>
So does FS then open that same port with the originator of the call or does<br>
it negotiate a different port?<br>
<font color="#888888"><br>
Marshall Harrison<br>
<a href="mailto:marshall@gotspeech.net">marshall@gotspeech.net</a> |    904.342.6205<br>
</font><div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Sergey<br>
Okhapkin<br>
Sent: Friday, August 13, 2010 2:45 PM<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] Audio quesion<br>
<br>
You need to learn the basics of SIP. SIP does signaling only, audio<br>
parameters are passed in SDP.<br>
<br>
On Friday 13 August 2010, Marshall Harrison wrote:<br>
&gt; I have FreeSWITCH setup to answer calls on port 5080.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; If I have 2 simultaneous calls are both going over port 5080 or is<br>
&gt; that  just listening port and the calls get routed to a different port?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; What port is the audio going over? 5080? A different port for each call?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Marshall Harrison,<br>
&gt; &lt;<a href="https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri" target="_blank">https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri</a><br>
&gt; son&gt;<br>
&gt; MVP Microsoft Communications Server<br>
&gt; GotSpeech Consulting LLC<br>
&gt;<br>
&gt;  &lt;<a href="http://gotspeech.net/" target="_blank">http://gotspeech.net/</a>&gt; <a href="http://www.GotSpeech.Net" target="_blank">www.GotSpeech.Net</a> |  &lt;<a href="http://gotuc.net/" target="_blank">http://gotuc.net/</a>&gt;<br>

&gt; <a href="http://www.GotUC.Net" target="_blank">www.GotUC.Net</a><br>
&gt;<br>
&gt; *  &lt;mailto:<a href="mailto:marshall@gotspeech.net">marshall@gotspeech.net</a>&gt; <a href="mailto:marshall@gotspeech.net">marshall@gotspeech.net</a> |*<br>
&gt; &lt;mailto:<a href="mailto:marshall@gotuc.net">marshall@gotuc.net</a>&gt; <a href="mailto:marshall@gotuc.net">marshall@gotuc.net</a> |(  904.342.6205<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;  &lt;<a href="http://www.microsoft.com/mvp" target="_blank">http://www.microsoft.com/mvp</a>&gt; Description: Microsoft MVP Program<br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>