Skip to content

Commit

Permalink
Non local ips
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Nov 1, 2024
1 parent 2ffeab8 commit 6e2baf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sip/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,8 @@ func (c *sipInbound) generateViaHeader(req *sip.Request) *sip.ViaHeader {
ProtocolName: "SIP",
ProtocolVersion: "2.0",
Transport: req.Transport(),
Host: c.s.sconf.SignalingIPLocal.String(), // This can be rewritten by transport layer
Port: c.s.conf.SIPPortListen, // This can be rewritten by transport layer
Host: c.s.sconf.SignalingIP.String(), // This can be rewritten by transport layer
Port: c.s.conf.SIPPort, // This can be rewritten by transport layer
Params: sip.NewParams(),
}
// NOTE: Consider lenght of branch configurable
Expand Down

0 comments on commit 6e2baf9

Please sign in to comment.