diff --git a/src/mod_sip.erl b/src/mod_sip.erl index 3a5249887..8ed4ed8cf 100644 --- a/src/mod_sip.erl +++ b/src/mod_sip.erl @@ -212,7 +212,6 @@ action(#sip{method = Method, hdrs = Hdrs, type = request} = Req, SIPSock) -> check_auth(#sip{method = <<"CANCEL">>}, _, _SIPSock) -> true; check_auth(#sip{method = Method, hdrs = Hdrs, body = Body}, AuthHdr, _SIPSock) -> - Issuer = case AuthHdr of 'authorization' -> to;