diff --git a/pkg/sip/inbound.go b/pkg/sip/inbound.go index 805bc0b..d27c47a 100644 --- a/pkg/sip/inbound.go +++ b/pkg/sip/inbound.go @@ -885,11 +885,11 @@ func (c *inboundCall) transferCall(ctx context.Context, transferTo string, dialt err = c.cc.TransferCall(ctx, transferTo) if err != nil { - c.log.Infow("inbound call failed to transfer", "error", err, "transferTo", transferTo) + c.log.Warnw("inbound call failed to transfer", err, "transferTo", transferTo) return err } - c.log.Infow("inbound call tranferred", "transferTo", transferTo) + c.log.Infow("inbound call transferred", "transferTo", transferTo) // Give time for the peer to hang up first, but hang up ourselves if this doesn't happen within 1 second time.AfterFunc(referByeTimeout, func() { c.Close() }) diff --git a/pkg/sip/outbound.go b/pkg/sip/outbound.go index c0f946a..39e69ae 100644 --- a/pkg/sip/outbound.go +++ b/pkg/sip/outbound.go @@ -505,11 +505,11 @@ func (c *outboundCall) transferCall(ctx context.Context, transferTo string, dial err = c.cc.transferCall(ctx, transferTo) if err != nil { - c.log.Infow("outound call failed to transfer", "error", err, "transferTo", transferTo) + c.log.Warnw("outbound call failed to transfer", err, "transferTo", transferTo) return err } - c.log.Infow("outbound call tranferred", "transferTo", transferTo) + c.log.Infow("outbound call transferred", "transferTo", transferTo) // Give time for the peer to hang up first, but hang up ourselves if this doesn't happen within 1 second time.AfterFunc(referByeTimeout, func() { c.CloseWithReason(CallHangup, "call transferred", livekit.DisconnectReason_CLIENT_INITIATED) })