[asterisk-users] 401 Unathorized

David Wessell david at ringfree.biz
Mon Aug 11 10:57:06 CDT 2014

I have an asterisk 1.8.x box that intermittently returns a 401. Calls come
through the same peer all the time, from the same carrier. However
intermittently the asterisk box returns a 401.

Below is the output of a failed call (1st) and a successful call (2nd). I
can't see any difference until we get to these lines.

Bad call:

--- (17 headers 14 lines) ---
Sending to carrierIP:5060 (no NAT)
Using INVITE request as basis request - 41597440-0-320116780 at carrierIP
Found peer 'phonenumber' for 'phonenumber' from carrierIP:5060

<--- Reliably Transmitting (NAT) to carrierIP:5060 --->
SIP/2.0 401 Unauthorized

Good call

--- (17 headers 14 lines) ---
Sending to carrierIP:5060 (no NAT)
Using INVITE request as basis request - 41604639-0-321360830 at carrierIP
Found peer 'carrierIP' for 'phonenumber' from carrierIP:5060
<--- Transmitting (no NAT) to carrierIP:5060 --->
Call proceeds here.


It's all coming from the same carrier IP and the same SIP trunk. All are
set via static IP (No registrations). And nat is set to no (Everything is
on a public IP).

Has anyone else run across anything similar?


[image: Ringfree Communications, Inc] <http://ringfree.biz/>

David Wessell / President
828-575-0030 x101/ david at ringfree.biz

Ringfree Communications, Inc Office: 828-575-0030 / Fax: 888-243-7830
PO BOX 1994 Hendersonville, NC 28793

This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Company Name is
not responsible for errors or omissions in this message and denies any
responsibility for any damage arising from the use of e-mail. Any opinion
and other statement contained in this message and any attachment are solely
those of the author and do not necessarily represent those of the company.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140811/1042921e/attachment.html>

More information about the asterisk-users mailing list