Skip to main content

401 Unauthorized

Posted by fuse3 on Thu, 11/08/2012

After any reload i have a period around 30 minutes where i cannot receive incoming calls.
All inbound calls are rejected by Asterisk with a 401 Unauthorized.
All outgoing calls are fine.

There is no NAT between the PBX and its peer.

With sip debug on in the cli i see this right after the incoming invite:
Found peer '1001-ISI' for '9164441234' from 11.11.11.11:5060

Where 9164441234 is my source telephone number dialing into the system.
The extension 1001-ISI is not even from the tenant with the destination telephone i am dialing.

Asterisk 1.8.11-cert8
TL MTE 6.1.1.12

sip.conf

[ACME-HA1]
qualify=yes
nat=no
;=description=Acme HA Pair 1
host=11.11.11.11
dtmfmode=rfc2833
context=from-outside
type=peer
insecure=port,invite
canreinvite=yes
disallow=all
allow=ulaw

Any ideas where to start?


Submitted by fuse3 on Wed, 11/14/2012 Permalink

I have reviewed all my other PBX's and found this was my only system on Asterisk 1.8.11-cert8 and it is my only system with issues. I downgraded to Asterisk 1.8.11-cert5 where i have 6 other servers running and the issue still occurs.

So in summary after a reload or restart all inbound calls are matched to a specific extension 1001-ISI.

“Found peer '1001-ISI' for '9164441234' from 11.11.11.11:5060”

And again waiting 15-30 minutes resolves the matter without any intervention.

Anyone have any ideas or comments?