Static Port Configuration for Outbound UDP Packets
Production Network Architectures and WebLogic SIP Server Configuration
• Layer 3 includes the destination IP address specified by the network channel( 10.1.1.10).
• Layer 4 contains the destination port number specified by the network channel( 5060).
For outgoing UDP datagrams, the OSI layer information contains the same information as with TCP transport. For incoming UDP datagrams, the OSI layer information is the same as TCP except in the case of incoming datagram Layer 4 information. For incoming UDP datagrams, Layer 4 contains either:
• The destination port number specified by the network channel( 5060), or
• The ephemeral port number previously allocated by WebLogic SIP Server.
By default WebLogic SIP Server allocates ports from the ephemeral port number range of the underlying operating system for outgoing UDP datagrams. WebLogic SIP Server allows external connections to use an ephemeral point as the destination port number, in addition to the port number configured in the network channel. In other words, WebLogic SIP Server automatically listens on all ephemeral ports that the server allocates. You can optionally disable WebLogic SIP Server’ s use of ephemeral port numbers by specifying the following option when starting the server:
-Dwlss. udp. listen. on. ephemeral = false
You can determine WebLogic SIP Server’ s use of a particular ephemeral port by examining the server log file:
< Nov 30, 2005 12:00:00 AM PDT > < Notice > < WebLogicServer > < BEA-000202 > < Thread“ SIP Message Processor( Transport UDP)” listening on port 35993.>
Static Port Configuration for Outbound UDP Packets
WebLogic SIP Server network channels provide a SourcePorts attribute that you can use to configure one or more static ports that a server uses for originating UDP packets.
WARNING: BEA does not recommend using the SourcePorts custom property in most configurations because it degrades performance. Configure the property only in cases where you must specify the exact ports that WebLogic SIP Server uses to originate UDP packets.
To configure the SourcePorts property, use a JMX client such as WLST or directly modify a network channel configuration in config. xml to include the custom property. SourcePorts defines an array of port numbers or port number ranges. Do not include spaces in the
SourcePorts definition- use only port numbers, hyphens(“-”) to designate ranges of ports, and commas(“,”) to separate ranges or individual ports. See Listing 2-1 for an example configuration.
2-4 Configuring Network Resources