Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] 401 Unathorized


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
david at ringfree.biz
Guest





PostPosted: Mon Aug 11, 2014 10:57 am    Post subject: [asterisk-users] 401 Unathorized Reply with quote

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).


Has anyone else run across anything similar?


Thanks
David
--

[/url]
David Wessell / President
828-575-0030 x101/ david@ringfree.biz (
david@ringfree.biz)
Ringfree Communications, Inc Office: 828-575-0030 / Fax: 888-243-7830 
PO BOX 1994 Hendersonville, NC 28793
[url=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.
Back to top
andres at telesip.net
Guest





PostPosted: Mon Aug 11, 2014 11:25 am    Post subject: [asterisk-users] 401 Unathorized Reply with quote

On 8/11/14, 10:57 AM, David Wessell wrote:

Quote:
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.
Quote:


Has anyone else run across anything similar?


Thanks
David
--

[/url]
David Wessell / President
828-575-0030 x101/
david@ringfree.biz (david@ringfree.biz)
Ringfree Communications, Inc Office: 828-575-0030 / Fax: 888-243-7830
PO BOX 1994 Hendersonville, NC 28793
[url=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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services