04-03-2012 03:24 AM - edited 03-16-2019 10:27 AM
I tried this:
sip-ua
sip-server ipv4:10.0.0.1:5070
voice register global
mode cme
source-address 10.0.0.1 port 5070
Also tried to change port for SCCP
telephony-service
ip source-address 10.0.0.1 port 2001
I can telnet to default ports, but not changed
04-08-2012 06:20 AM
You must use a different command:
To manually change the defined Session Initiation Protocol (SIP) listen port for UDP/TCP/TLS calls, use the listen-port command in SIP configuration mode. To reset the UDP/TCP/TLS port to the default value, use the no form of this command.
listen-port {secure | non-secure} port-number
no listen-port non-secure
secure | Specifies the TLS port value. |
non-secure | Specified the TCP/UDP port value. |
port-number | Port number. Range: 1 to 65535. The default for UDP/TCP is 5060; the default for TLS is 5061. |
The port number is set to the default value based on the transport layer protocol used.
SIP configuration mode (config-serv-sip)
Release | Modification |
---|---|
12.4(15)XY | This command was introduced. |
12.4(20)T | This command was integrated into Cisco IOS Release 12.4(20)T. |
The listen-port command is configurable on both incoming and outgoing SIP calls, and is applicable for both TDM-IP gateway and Cisco Unified Border Element (Cisco Unified BE) (previously known as IPIPGW). The Cisco UBE gateway port number defined in global configuration will be used for both In leg and Out leg. Before configuring the SIP listen port for TCP/UDP/TLS, SIP service should be shut down using the shutdown in SIP configuration mode. If SIP service is not shut down, the listen-port command flashes an error message saying "shutdown SIP service before changing SIP listen port". This ensures that there are no active calls when the SIP listen port is changed. The non-secure keyword is supported on non-Crypto images, and both the secure and non-secure keywords are supported on Crypto images.
The following restrictions apply:
•Configuring the SIP listen port on a dial-peer basis is not supported.
•Configuring same listening port for both UDP/TCP and TLS is not allowed.
•Configuring the SIP listen port to a port that is already in use is not supported and results in an error message.
•Changing SIP listen port when Transport services (TCP/UDP/TLS) are shut down, will not close or reopen the port. The result is that only the new port number is updated. The new port will be bound when Transport services (TCP/UDP/TLS) is enabled.
The following example shows the port number on a Crypto image being changed to port 2000:
Router(config-serv-sip)# listen-port secure 2000
The following example shows the port number being reset to the TLS default port:
Router(config-serv-sip)# no listen-port
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide