I have FreeSWITCH setup to answer calls on port 5080. If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port? What port is the audio going over? 5080? A different port for each call? Thanks. Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harrison> MVP Microsoft Communications Server GotSpeech Consulting LLC <http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net * <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205 <http://www.microsoft.com/mvp> Description: Microsoft MVP Program
You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP. On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harrison> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
I know that. I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me. FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server. So does FS then open that same port with the originator of the call or does it negotiate a different port? Marshall Harrison marshall@gotspeech.net | 904.342.6205 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP. On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It depends on FS configuration. If bypass_media is enabled, FS will set direct audio path between MSS and SIP client, if not (default case), FS will open 2 RTP ports to proxy/transcode audio packets. On Friday 13 August 2010, Marshall Harrison wrote:
I know that.
I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me.
FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server.
So does FS then open that same port with the originator of the call or does it negotiate a different port?
Marshall Harrison marshall@gotspeech.net | 904.342.6205
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion
You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP.
On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What is FreeSWITCH running on? Linux? 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. There will be two separate connections for a call: 1. Signalling 2. Media 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's just no way for it to piggyback on the SIP. 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're going from/to. 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). -Steve On 13 August 2010 20:12, Marshall Harrison <marshall@gotspeech.net> wrote:
I know that.
I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me.
FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server.
So does FS then open that same port with the originator of the call or does it negotiate a different port?
Marshall Harrison marshall@gotspeech.net | 904.342.6205
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion
You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP.
On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Running on Windows. Do you know what the port range is that FS uses for RTP? The only trace I have has the SDP showing audio on port 16700 which falls within the 1024 - 65535 that I had them open Marshall Harrison * <mailto:marshall@gotspeech.net> marshall@gotspeech.net | ( 904.342.6205 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Friday, August 13, 2010 3:49 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion What is FreeSWITCH running on? Linux? 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. There will be two separate connections for a call: 1. Signalling 2. Media 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's just no way for it to piggyback on the SIP. 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're going from/to. 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). -Steve On 13 August 2010 20:12, Marshall Harrison <marshall@gotspeech.net> wrote: I know that. I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me. FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server. So does FS then open that same port with the originator of the call or does it negotiate a different port? Marshall Harrison marshall@gotspeech.net | 904.342.6205 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP. On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Just to check, how does he determine only 5080 is open? Does he mean it is the only port open in the firewall or does he just mean it's the only listening port? -Steve On 13 August 2010 20:12, Marshall Harrison <marshall@gotspeech.net> wrote:
I know that.
I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me.
FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server.
So does FS then open that same port with the originator of the call or does it negotiate a different port?
Marshall Harrison marshall@gotspeech.net | 904.342.6205
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion
You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP.
On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
According to him 5080 is the only port open on the firewall for the IP of the server.. Things have progressed some. FS and MSS are running on the same box. Inbound calls, outbound calls, blind transfers and supervised (whisper) transfers were working outside the firewall. Now he has moved it inside the firewall and calls work but no audio. I've had him open ports 1024 - 65535 which are what MSS requires but still no audio. I'll have him check bypass_media setting. Could be that their NAT is screwing things up. Marshall Harrison * <mailto:marshall@gotspeech.net> marshall@gotspeech.net | ( 904.342.6205 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Friday, August 13, 2010 3:50 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion Just to check, how does he determine only 5080 is open? Does he mean it is the only port open in the firewall or does he just mean it's the only listening port? -Steve On 13 August 2010 20:12, Marshall Harrison <marshall@gotspeech.net> wrote: I know that. I'm trying to determine how a client's serve which he claims only has port 5080 open is working. If what he is saying is true then I don't see how the calls are working. I can't get into the system so I am having to debug based on what he is telling me. FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker opens a port for RTP with the SIP Peer that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server. So does FS then open that same port with the originator of the call or does it negotiate a different port? Marshall Harrison marshall@gotspeech.net | 904.342.6205 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Okhapkin Sent: Friday, August 13, 2010 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion You need to learn the basics of SIP. SIP does signaling only, audio parameters are passed in SDP. On Friday 13 August 2010, Marshall Harrison wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harri son> MVP Microsoft Communications Server GotSpeech Consulting LLC
<http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net
* <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205
<http://www.microsoft.com/mvp> Description: Microsoft MVP Program
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you're on windows the on board nat stuff will poke holes for you with uPNP ... /b On Aug 13, 2010, at 3:05 PM, Marshall Harrison wrote:
According to him 5080 is the only port open on the firewall for the IP of the server..
Things have progressed some.
FS and MSS are running on the same box. Inbound calls, outbound calls, blind transfers and supervised (whisper) transfers were working outside the firewall.
Now he has moved it inside the firewall and calls work but no audio. I’ve had him open ports 1024 – 65535 which are what MSS requires but still no audio.
I’ll have him check bypass_media setting.
Could be that their NAT is screwing things up.
5080 is the SIP signaling port (call setup / teardown). Media will be on whatever port is negociated with the endpoint. On Fri, Aug 13, 2010 at 2:33 PM, Marshall Harrison <marshall@gotspeech.net>wrote:
I have FreeSWITCH setup to answer calls on port 5080.
If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port?
What port is the audio going over? 5080? A different port for each call?
Thanks.
*Marshall Harrison, **MVP Microsoft Communications Server*<https://mvp.support.microsoft.com/default.aspx/profile/marshall.harrison> *GotSpeech Consulting LLC*
www.GotSpeech.Net <http://gotspeech.net/> | www.GotUC.Net<http://gotuc.net/>
* marshall@gotspeech.net |* marshall@gotuc.net |( 904.342.6205
[image: Description: Microsoft MVP Program] <http://www.microsoft.com/mvp>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK. FreeSWITCH is front ending a Microsoft Speech Server and is a trusted SIP Peer. When a call comes in SesWorker (MSS) opens a port for RTP with the SIP Peer 9FS) that can be anything from 1024 - 65535. That RTP channel is between FreeSWITCH and Speech Server. So does FS then open that same port with the originator of the call or does it negotiate a different port? Marshall Harrison * <mailto:marshall@gotspeech.net> marshall@gotspeech.net | ( 904.342.6205 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Phillip Jones Sent: Friday, August 13, 2010 2:48 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Audio quesion 5080 is the SIP signaling port (call setup / teardown). Media will be on whatever port is negociated with the endpoint. On Fri, Aug 13, 2010 at 2:33 PM, Marshall Harrison <marshall@gotspeech.net> wrote: I have FreeSWITCH setup to answer calls on port 5080. If I have 2 simultaneous calls are both going over port 5080 or is that just listening port and the calls get routed to a different port? What port is the audio going over? 5080? A different port for each call? Thanks. Marshall Harrison, <https://mvp.support.microsoft.com/default.aspx/profile/marshall.harrison> MVP Microsoft Communications Server GotSpeech Consulting LLC <http://gotspeech.net/> www.GotSpeech.Net | <http://gotuc.net/> www.GotUC.Net * <mailto:marshall@gotspeech.net> marshall@gotspeech.net |* <mailto:marshall@gotuc.net> marshall@gotuc.net |( 904.342.6205 <http://www.microsoft.com/mvp> Description: Microsoft MVP Program _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
5080 is just sip signaling. RTP will be negociated between endpoints out of a port range. http://wiki.freeswitch.org/wiki/Firewall covers it in a bit more detail to give you a general overview of what ports are used by FreeSWITCH and for what. -- W
participants (6)
-
Brian West
-
Marshall Harrison
-
Phillip Jones
-
Sergey Okhapkin
-
Steven Ayre
-
William Suffill