Skip to content
Snippets Groups Projects
Commit 1e12db06 authored by Joshua Colp's avatar Joshua Colp
Browse files

(closes issue #10565)

Reported by: tootai
Make sure the external IP address has the standard SIP port set for when the user does not specify the port in the externip setting.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 837ae96a
Branches
Tags
No related merge requests found
...@@ -17716,6 +17716,7 @@ static int reload_config(enum channelreloadreason reason) ...@@ -17716,6 +17716,7 @@ static int reload_config(enum channelreloadreason reason)
global_outboundproxy.ip.sin_port = htons(STANDARD_SIP_PORT); global_outboundproxy.ip.sin_port = htons(STANDARD_SIP_PORT);
global_outboundproxy.ip.sin_family = AF_INET; /* Type of address: IPv4 */ global_outboundproxy.ip.sin_family = AF_INET; /* Type of address: IPv4 */
bindaddr.sin_port = htons(STANDARD_SIP_PORT); bindaddr.sin_port = htons(STANDARD_SIP_PORT);
externip.sin_port = htons(STANDARD_SIP_PORT);
global_srvlookup = DEFAULT_SRVLOOKUP; global_srvlookup = DEFAULT_SRVLOOKUP;
global_tos_sip = DEFAULT_TOS_SIP; global_tos_sip = DEFAULT_TOS_SIP;
global_tos_audio = DEFAULT_TOS_AUDIO; global_tos_audio = DEFAULT_TOS_AUDIO;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment