Hi Henning
Thank you so much, I have inherited the platform so do not know anything about the service, I will take a snapshot of the servers and upgrade them to 6.0, seems that would at least help the situation. Re 3cx, it was operating fine until
very recently, so believe the issue may actually sit within 3CX and not us, as we do send all the correct authentication info .
Kind regards
Tony
From:
Henning Westerholt <hw@gilawa.com>
Date: Wednesday, 26 February 2025 at 08:23
To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org>
Cc: Anthony Ford <tony.ford@apalo.co.uk>
Subject: RE: Issue with registrations
Hello,
a general note, you should switch to a proper release and not use a “dev” version if you want to use it in production.
If you are upgrading, I would recommend picking one of the maintained versions, e.g. the latest 5.8.x or 6.0.x.
Regarding the Expires: 0 – this just indicates a de-registration. The 407 is returned from the other party because it requires a proper authentication.
Does the second REGISTER contain authentication information? It is accepted from the trace below.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
From: Anthony Ford via sr-users <sr-users@lists.kamailio.org>
Sent: Montag, 24. Februar 2025 12:00
To: sr-users@lists.kamailio.org
Cc: Anthony Ford <tony.ford@apalo.co.uk>
Subject: [SR-Users] Issue with registrations
Hi
Version = 5.6.0-dev0
We are seeking help to resolve an issue with registering devices to 3CX (All 3CX servers, have tried 8 different ones) . all the auth info including passwords etc are identical on the 3cx servers.
We use Kamailio to register mobile sim cards to 3rd party sip servers i.e. 3CX.
We send the normal Username, server addresses and auth details but are experiencing failures with 3CX rejecting the registration and return Proxy Auth failure 407. We have noticed in the pcaps from both sides that the expire value is changing
from 180 as an example to 0.
As an example In the uac reg_dump the values are :
l_uuid: +447529135850
l_username: +447529135850
l_domain: sbc-mt.asim.apalo.io;transport=udp
r_username: 1001
r_domain: egte.3cx.uk
realm: <null string>
auth_username: FdlHDC1IvA
auth_password: extracted
auth_ha1: none
auth_proxy: sip:egte.3cx.uk:5060
expires: 60
flags: 0
diff_expires: -1738853736
timer_expires: 0
reg_init: 1738850836
reg_delay: 0
contact_addr: k01.asim.apalo.io;transport=tcp
socket: <null string>
Looking forward to hearing from you.
Many thanks
Tony Ford