On 8/11/14, 10:57 AM, David Wessell wrote:
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@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@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).
According to the above, the good call matches a different peer from the bad call. Look into that and you will find the cause.

Has anyone else run across anything similar?

Thanks
David
--

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

David Wessell / President
828-575-0030 x101/ [email protected] <mailto:[email protected]>

Ringfree Communications, Inc Office: 828-575-0030 / Fax: 888-243-7830
PO BOX 1994 Hendersonville, NC 28793
http://ringfree.biz <http://ringfree.biz/>

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.





--
Technical Support
http://www.cellroute.net

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to