How to configure non Default Port

Hello,
How to configure non Default Port for Asterisk 16. As we know in asterisk call are routing using default port 5060. If I want to route the call by using both the port port 5061 and 5060 , then how do I perform this.

Please advice.

define multiple transports each with a different port listener in pjsip.conf

[system-udp]
type=transport
protocol=udp
bind=0.0.0.0

[system-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061

Hello,
Can this be done at sip.conf files?

yes. you can add the bind address and port in the general section of sip.conf

[general]

udpbindaddr=0.0.0.0:xxxx

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.