How to stop Asterisk from repeating "SIP/2.0 401 Unauthorized" messages
<p>I am writing a small Node module to make a simple SIP call through Asterisk. I am not using any of the JS libraries for reasons not relevant to this question. When I send the INVITE message, as expected, it returns with a "SIP/2.0 401 Unauthorized" message and a nonce to be used to build a hash to be sent in the response. All that is fine. My problem is that this 401 message keeps repeating/retransmitting. How do I stop this so I get only one SIP/2.0 401 Unauthorized message and not multiple ones? Why does it keep repeating? </p>