Invalid Credentials with Latest Update

Status
Not open for further replies.

qatech

Premier Customer
Joined
Feb 9, 2023
Messages
3
Reaction score
0
Our system automatically updated to the latest version (18.0.6.908). We're self-hosted on Azure (I'm not sure why, but it won't let me post a thread in that forum.)

We have a custom softphone that uses Zoiper's ZDK library to initiate our SIP connection. Previously, we were using the extension as the Auth ID, which worked perfectly. However, with the new update, adding new users requires us to change our Auth ID requirements (Auth ID should be at least 10 characters long with no spaces and contain a lowercase letter, an uppercase letter and a digit). It's the same deal for the password too.

When testing our softphone against the new requirements, we've found that our SIP server consistently returns 403 SIP with an "invalid credentials" error message. The following is from our Activity Log in the management console:
"Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings"

We're definitely using the correct id / password. I've tested a million times myself (using the new credentials, using our old credentials, using the old ID with the new password, using the new ID with the old password. I've also had a second developer attempt to test this, but we're both receiving the same 403 "invalid credentials" error.

Everything else is the same. We have other users that still have the old ID / passwords, and we're able to connect just fine with those. However, we can't add any new users at all because the SIP server doesn't recognize our new credentials.

Is there a potential configuration issue? We have absolutely no idea how this is possible.

Thanks in advance for any help at all!
 
Issue resolved. Use SipConfig.AuthUsername.
 
I have been looking around with the same issue. as i am using zopier on my end. Can you confirm the config you have setup on 3cx and zopier to get this working?

Thanks
 
I'm using Zoiper's SDK rather than the softphone. I was confusing the username and auth id when setting up the config. For the AccountConfig.UserName and AccountConfig.Password fields, use the extension and password, respectively. For the SIPConfig.AuthUsername field, use the auth id.
 
I understand that you need to use SIPauth username but what is different form the last update? what do I need to actually change/move
I tried updating to more secure user and pass and now have two users down. What do I need to change

#!version:1.0.0.1

### This file is the exported MAC-all.cfg.

### For security, the following parameters with password haven't been display in this file.
###account.1.password =
account.1.auth_name = Commander340
account.1.display_name = 340
account.1.enable = 1
account.1.label = Commander
account.1.sip_server.1.address = 10.13.71.250
account.1.user_name = Commander340
### Static Configuration ###
static.auto_provision.server.url = 10.13.71.250
static.auto_provision.server.username = 340
static.network.wifi.internet_port.type = 0
static.network.wifi.ip_address_mode = 0
static.network.wifi.ipv6_icmp_v6.enable = 1
static.network.wifi.ipv6_internet_port.type = 0
static.network.wifi.ipv6_prefix = 64
static.network.wifi.ipv6_static_dns_enable = 0
static.network.wifi.preference = 0
static.network.wifi.static_dns_enable = 0


Register fail
 
Ok I see I got it. You have to use Ext number under username inside phone! Then use auth username that you configured under their account in management console.This has to go on Register name

Then in username field under register name you must use ext number again NOT auth username like previous versions
 
  • Like
Reactions: Gianpiero Pi4you
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet