Skip to content

Commit 0019e79

Browse files
CopilotAmygos
andauthored
Fix inaccurate comment describing socket configuration in kamailio.cfg (#132)
* Initial plan * Update comment to accurately reflect socket configuration Co-authored-by: Amygos <510232+Amygos@users.noreply.github.com> * Add port number to INTERNAL_NETWORK comment for consistency Co-authored-by: Amygos <510232+Amygos@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Amygos <510232+Amygos@users.noreply.github.com>
1 parent 8df01ee commit 0019e79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/kamailio/config/kamailio.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ route[HANDLE_ALIAS] {
10571057
# -----------------------------------------------------------------------------
10581058
# route[SET_SOCKET]
10591059
# this route sets the from socket according to LOCALNETWORKS and INTERNAL_NETWORK
1060-
# - LOCALNETWORKS: uses PRIVATE_IP for advertised address
1061-
# - INTERNAL_NETWORK: forces socket to SERVICE_IP for traffic to Asterisk
1060+
# - LOCALNETWORKS: sets the socket to PRIVATE_IP:6060 (specific IP:port)
1061+
# - INTERNAL_NETWORK: forces socket to SERVICE_IP:5060 (specific IP:port) for traffic to Asterisk
10621062
# -----------------------------------------------------------------------------
10631063
route[SET_SOCKET] {
10641064
if( $shv(debug) == 1) xlog('L_WARN', "[DEV] - $ci $rm-$cs - in SET_SOCKET route \n");

0 commit comments

Comments
 (0)