diff --git a/sippy/headers/sip_call_id.go b/sippy/headers/sip_call_id.go index 48283b7..f205e3e 100644 --- a/sippy/headers/sip_call_id.go +++ b/sippy/headers/sip_call_id.go @@ -53,7 +53,7 @@ func CreateSipCallId(body string) []SipHeader { func (self *SipCallId) genCallId(config sippy_conf.Config) { buf := make([]byte, 16) rand.Read(buf) - self.CallId = hex.EncodeToString(buf) + "@" + config.GetMyAddress().String() + self.CallId = hex.EncodeToString(buf) } func NewSipCallIdFromString(call_id string) *SipCallId {