Ringing/auth issues

Hello there!

I have a fairly simple setup, one desk phone (a d65 from sangoma) and a softphone (Bria Mobile) up until recently, everything worked fine.

When I woke up this morning, both phones failed to dial out. I seemed to fix that, but have no idea what I did. Now on the desktop phone, it won’t let me open any REST apps (gives me a 401) or change my presence at all. Additionally, it won’t ring when my work phone (softphone) is powered off, and I have a feeling that is because of the 401.

Any ideas on where I should start? The ext is still active. Here’s some debug outputs

pjsip show contacts:

shrimppbx*CLI> pjsip show contacts

  Contact:  <Aor/ContactUri..............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================

  Contact:  100/sip:100@<ip>:5060;ob             936dd4b39c Avail         9.162
  Contact:  Main_Trunk/sip:[email protected] 5e0093d080 Avail        45.152

Objects found: 2

Sometimes this behaivor is intermittent. Any ideas?

Have you double checked the secret in both phones? 401 Unauthorized strongly indicates incorrect secret

401 is not an error.

If the login stalls at 401, it doesn’t indicate an incorrect, secret, but rather either that the requestor has no knowledge of any secret, or that the requestee failed to identify the requestor correctly, when it should have known they had no secret to give.

A wrong secret would produce 403 or 603.

1 Like