Howto:What Ports are used for Signaling and Voice Traffic in SIP and H.323?: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Line 228: Line 228:


* [[Reference9:IP4/General/Settings]]
* [[Reference9:IP4/General/Settings]]
* [[Howto:Upgrade_Issues_V5_to_V6#Firewall_and_Network_issues]] - Information about Ports in V5
* [[Howto:Upgrade_Issues_V5_to_V6#Firewall_and_Network_issues]] - Information about Ports in V5
 
* [[Howto:Innovaphones_public_services]]
[[Category:Howto|{{PAGENAME}}]]
[[Category:Howto|{{PAGENAME}}]]




<!-- Keywords ports h323 sip firewall signalling port security-->
<!-- Keywords ports h323 sip firewall signalling port security-->

Revision as of 11:22, 16 December 2020

Applies To

This information applies to

  • All innovaphone products

Build V9

More Information

Here is described what TCP and UDP ports are used for signalling and voice traffic on innovaphone devices. This information is applicable for firewalls, network devices, traffic shaping and third party product settings.

Signalling

SIP

PortList
From To Protocol source port destination port purpose comment
Phone/GW(Reg. as EP/GW) PBX UDP dynamic 5060 SIP
PBX Phone/GW(Reg. as EP/GW) UDP 5060 dynamic SIP
GW(without Reg.) GW(without Reg.) UDP 5060 5060 SIP

TSIP

PortList
From To Protocol source port destination port purpose comment
Phone/GW(Reg. as EP/GW) PBX TCP dynamic 5060 TSIP
PBX Phone/GW(Reg. as EP/GW) TCP dynamic* dynamic TSIP *in contrast to SIP/SIPS request cannot be sent from port 5060/5061
GW(without Reg.) GW(without Reg.) TCP 5060 5060 TSIP

SIPS

PortList
From To Protocol source port destination port purpose comment
Phone/GW(Reg. as EP/GW) PBX TCP dynamic 5061 SIPS
PBX Phone/GW(Reg. as EP/GW) TCP 5061 dynamic SIPS
GW(without Reg.) GW(without Reg.) TCP 5061 5061 SIPS

H.323

PortList
From To Protocol source port destination port purpose comment
Phone/GW(Reg. as EP/GW, H.323) PBX UDP dynamic 1718 RAS GK discovery
Phone/GW(Reg. as EP/GW, H.323) PBX UDP dynamic 1719 RAS signalling
Phone/GW(Reg. as EP/GW, H.323) PBX TCP dynamic dynamic* H.225 signalling * close to baseport(2048)
PBX Phone TCP dynamic 1720 for Registration/User 1, Registration/User 2-5 dynamic H.225
PBX GW(Reg. as EP/GW) TCP dynamic dynamic H.225
GW(without Reg.) GW(without Reg.) TCP dynamic 1720 H.225
  • general port range for dynamic ports: 2048 - 59999
  • by default innovaphone devices use H.245 Tunnelling. This means that H.245 signalling is send via the H.225 connection. If this is disabled or if you use a 3rd party H.323 device, additional ports will be used for H.245 messages
  • the source H.225 signalling port(TCP) of Gateway Interfaces in Mode Register as Endpoint or Register as Gateway can be configured using the Local Port option in the Gateway Interface menu.
  • graphical representation of the H.323 port list
  • We can configure alternate RAS Port to prevent issues related to NAT Routers that affect the RAS signalling on the default 1719 port - Alternate RAS Port

H.323 over TCP/TLS (H.460.17)

PortList
From To Protocol source port destination port purpose comment
Phone/GW(Reg. as EP/GW, H.323/TLS) PBX TCP dynamic 1300 H.323 over TLS (H.460.17) Registration protocol RAS is tunnelled through the TCP signalling connection (H.225)
Phone/GW(Reg. as EP/GW, H.323/TCP) PBX TCP dynamic 1720 H.323 over TCP (H.460.17) Registration protocol RAS is tunnelled through the TCP signalling connection (H.225)
  • The Port 1300 can be changed with the command:
!config add H323 /sig-port-tls xxxx

Voice Traffic (RTP)

PortList
From To Protocol source port destination port purpose comment
Phone Phone/PBX/Gateway UDP dynamic** same as source port RTP ** configurable range, default 16384/32767
Phone Phone/PBX/Gateway UDP RTP port + 1 RTP port + 1 RTCP
Gateway PBX/Gateway UDP RTP port + 2 RTP port + 2 T.38

For one voice connection there is only one RTP port in use and one RTCP port. So every call takes 2 ports, that’s any free UDP-ports that are chosen in the RTP port range. The RTP port range is per default from 16384 to 32767. This UDP-RTP port range can be configured under IP4/General/Settings (and is used then for H.323 and SIP calls).

Enter the first UDP - port and the number of ports (Smallest range to be configured is 128):

Ports used

RTP Ports used by myPBX

The myPBX launcher uses 8 RTP/RTCP ports. These are dynamically chosen from the range 50000 to 50100. As these ports usually are free, the standard usage is 50000 RTP, 50001 RTCP, 50002 RTP, 50003 RTCP, ....

Application sharing also uses 8 ports in the range 60000 to 60100.

myPBX itself does not use audio RTP. However, a software phone could run on the same PC and use ports as described in the previous chapter (it behaves like a Phone). Also, the browser could create audio RTP endpoints for WebRTC. The ports used are browser-dependant then.

RTP Ports used by innovaphone Softwarephone for Windows

Different from IP-Phone/Gateway. Default RTP-Port range used by softwarephone application is 2050-16000. From V12r2 and higher range can be edited via Web GUI, for previous versions adjustment can be done via command line ("config change").

RTP Ports used by innovaphone SoftphoneApp (embedded in myApps)

Since V13 a new SoftphoneApp is part of the myApps client. Used ports are different from the IP Phone/Gateways, default RTP-Port range used by SoftphoneApp is 50000 - 50099.

Video Traffic (RTP)

PortList
From To Protocol source port destination port purpose comment
myPBX any video endpoint UDP 50000 (+ 2 if already in use) same as source port RTP H264 Payload
myApps any video endpoint UDP 50100 - 50199 same as source port RTP


Application Sharing (RTP)

PortList
From To Protocol source port destination port purpose comment
myPBX myPBX UDP 60000 (+ 2 if already in use) same as source port RTP H264 Payload with private extensions
myApps myApps UDP 50200 - 50299 same as source port RTP

Additional Data Ports

LDAP

  • Innovaphone devices working as LDAP Server use the port: 389 or 636 if TLS used.

SNMP

  • Innovaphone uses for SNMP services the listenning port 161 UDP.

Kerberos

  • Innovaphone working as Kerberos Server uses fixed port 88 UDP. Also for administration usage (join realm) we use port 464 UDP.
  • Innovaphone working as Kerberos Client can choose destination port for each realm/domain and source port it's dinamyc.

Syslog

  • Innovaphone uses for Syslog services UDP port 514.

SOAP

  • SOAP uses HTTP Layer so any application that uses SOAP must use the port defined on the Gateway under Services->HTTP (defaults ports are 80 for HTTP and 443 for HTTPS connection).

Note: Applications like innovaphone Operator and iQM use SOAP so they will connect to the HTTP port defined on the Gateway as said before.

myPBX

  • myPBX communications with PBX are made via HTTP Requests. So the port defined on the Gateway under Services->HTTP (defaults ports are 80 for HTTP and 443 for HTTPS connection) it will be the ones used.
  • myPBX communications with innovaphone IPxxx Phones for Video signalling are made via HTTP Websocket Requests. So the port defined on the Telephone under Services->HTTP (defaults ports are 80 for HTTP and 443 for HTTPS connection) are used.
  • myPBX communications with innovaphone Reporting for call lists and are made via HTTP Requests. So the port is fixed on the Gateway under PBX->MyPBX on call list services (defaults ports are 80 for HTTP and 443 for HTTPS connection).


Note: myPBX source port will be defined by the browser used and this could be random. Two TCP connections are establish with the Gateway/PBX but both have the same destination port 80 if the default is used.

  • the myPBX launcher applications holds the video stream RTP/RTCP ports. 4 connections (with 2 ports, one RTP, one RTCP) with 8 ports are pre-allocated. As of v10sr1, the port range used for the video ports is hard-defined 50000 to 50100 and can not be configured. This may change.

Here is an overview of the various IP data flows active when myPBX is used:

myPBX Communication Overview

myApps

  • The internal webserver uses 10008/10009 als default ports
  • myApps uses following ports for media traffic:
    • Audio 50000 - 50099
    • Video 50100 - 50199
    • AppSharing 50200 - 50299

innovaphone Application Platform Apps

PortList
From To Protocol source port destination port purpose comment
PBX/Gateway CDRx innovaphone Reporting TCP dynamic 80/443 HTTP Ports are fixed, HTTP or HTTPS.
innovaphone Reporting Mail Server TCP dynamic 25 SMTP Ports can be configured, also POP3 and IMAP can be used.
innovaphone Exchange Calendar connector PBX TCP dynamic 80/443 SOAP Ports can be configured, HTTP or HTTPS.
innovaphone Exchange Calendar connector Exchange Server 2010 TCP dynamic 80 SOAP Ports are fixed.
Exchange Server 2010 innovaphone Exchange Calendar connector TCP dynamic 80 SOAP Ports are fixed.
innovaphone Fax Server PBX TCP dynamic 80/443 SOAP Ports can be configured, HTTP or HTTPS.
PBX innovaphone Fax Server TCP dynamic 80/443 Webdav Ports are fixed.
innovaphone Fax Server Mail Server TCP dynamic 25 SMTP Ports can be configured, also POP3 and IMAP can be used.
innovaphone Platform + Apps PBX as Alarm/Server TCP dynamic 80/443 HTTP Ports can be configured, HTTP or HTTPS.

Setting TOS/DSCP Values for windows applications

For windows applications such as the SoftwarePhone and the myPBX launcher, the IP QoS Settings must be set using Windows policies.

See also

Related Articels