Externip port

Hi,

Im using astersk behind nat (asterisk 11.13). On my firewall i have to configure non-standard port for sip syngalling. Is there any way to set externip port number?

I tried to set it using:

tlsenable=yes
tlsbindaddr=192.168.1.5:7000
transport=tls

;
;----------------------- NAT -----------------------------------------
;

externip=X.X.X.X:7000
localnet=192.168.1.0/255.255.255.0

Im not sure why, but in Contact Tag Asterisk is sending standard port (5061):

Contact: sip:123@X.X.X.X:5061;transport=TLS

How to correct this?

Best regards, KB

The externtlsport option can be used in chan_sip to set the external TLS port. If not set it defaults to the RFC standard of 5061.

Worked ,

Thanks Joshua!