From 90a3119fb8faeeaff7fdbf388d9ad2b98aae6155 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Mon, 9 Feb 2026 20:48:07 -0600 Subject: [PATCH] fix variable name --- internal/module/sip-call-server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/module/sip-call-server.go b/internal/module/sip-call-server.go index 90e1f74..6dfc3d8 100644 --- a/internal/module/sip-call-server.go +++ b/internal/module/sip-call-server.go @@ -91,12 +91,12 @@ func init() { userAgent, ok := params["userAgent"] if ok { - specificTransportString, ok := userAgent.(string) + specificUserAgentString, ok := userAgent.(string) if !ok { return nil, errors.New("sip.call.server userAgent must be a string") } - userAgentString = specificTransportString + userAgentString = specificUserAgentString } return &SIPCallServer{config: config, IP: ipString, Port: int(portNum), Transport: transportString, UserAgent: userAgentString, logger: CreateLogger(config)}, nil