From d28a621f14c0d6b9ba14f047966530ae544ac39a Mon Sep 17 00:00:00 2001 From: jjLee Date: Tue, 2 Aug 2022 18:00:28 +0900 Subject: [PATCH] =?UTF-8?q?fmt.Print=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim/simprocnew/simprocnew.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim/simprocnew/simprocnew.go b/sim/simprocnew/simprocnew.go index 6c1ac1f..2805b1e 100644 --- a/sim/simprocnew/simprocnew.go +++ b/sim/simprocnew/simprocnew.go @@ -27,7 +27,7 @@ func NewSIPSignal(sipType string, sessionId int, id string, toid string, ra icsn l := icslog.GetIcsLog() if strings.ToUpper(sipType) == "REGI" { - fmt.Println("#### Received REGI ") + // fmt.Println("#### Received REGI ") p := simproc.NewSIPProc(buf[:rlen]) from := p.SIPHeader.From id = strings.Split(strings.Split(from, "@")[0], ":")[1] @@ -110,7 +110,7 @@ func NewReadSIP(sessionId int, callid string, ip string, rTPTxPort int, ra icsne localSIPUDP.Close() return nil, 0, siperr } else { - fmt.Printf("####### Receved SIP Packet > \r\n%s \r\n", buf[:rlen]) + // fmt.Printf("####### Receved SIP Packet > \r\n%s \r\n", buf[:rlen]) l.Printf(icslog.LOG_LEVEL_INFO, sessionId, "Recved SIP Packet [%s:%d]->[%s:%d]>\n%s\n===================", remAddr.IP.String(), remAddr.Port, rsaddr.IPv4String, rsaddr.Port, buf[:rlen]) } @@ -120,7 +120,7 @@ func NewReadSIP(sessionId int, callid string, ip string, rTPTxPort int, ra icsne func WriteSIP(sipType string, sessionId int, ra icsnet.IcsNetAddr, callid string, ip string, rTPTxPort int, laddr *icsnet.IcsNetAddr, rsaddr *icsnet.IcsNetAddr, lsaddr *icsnet.IcsNetAddr, sendMsg string, localSIPUDP *icsnet.IcsUDPNet) *icserror.IcsError { l := icslog.GetIcsLog() l.Printf(icslog.LOG_LEVEL_INFO, sessionId, "Call ID [%s]", callid) - fmt.Println("send msg", sendMsg) + // fmt.Println("send msg", sendMsg) _, werr := localSIPUDP.Write([]byte(sendMsg)) if werr != nil {