CH Sunrise SIP Trunk Registration

LCCH

Customer
Joined
Aug 29, 2024
Messages
2
Reaction score
0
Hello 3CX, we have a case with Swiss Sunrise SIP trunk with registration:

3CX v20 / Sunrise SIP trunk - overlapping deregistration and registration

OBSERVED SEQUENCE:
10195 17:28:46.453651 REGISTER Contact expires=0 (old binding)
10196 17:28:46.462439 401 Unauthorized for 10195
10199 17:28:46.562973 REGISTER Contact expires=0 (authenticated)
10200 17:28:46.563040 REGISTER Expires=180 (new binding and new Call-ID)
10201 17:28:46.568313 500 Server Internal Error for 10200
10202 17:28:46.572972 200 OK for 10199

10199 -> 10200: 67 microseconds.
10201 (500) arrives BEFORE 10202 (200 OK deregistration).
The new REGISTER starts before the previous deregistration has completed.

Is this normal? How we can set 3cx to first wait for de-registration ok, then register?
Thanks, D.
 
Last edited:
Hello @LCCH

Please note that what you are describing is the default behavior of 3CX when the registration is destroyed and re-established. There is no setting to change this. Also we do not get the this error with our test trunk. Are you sure this is what is causing the error? Have you contacted Sunrise regarding this?
 
Hello YiannisH_3CX, In the attached capture, 3CX sends a new REGISTER (Expires: 1800, packet 4) just 67 microseconds after sending a deregistration REGISTER (Contact: …;expires=0, packet 3). Sunrise returns 500 Server Internal Error to the new registration, followed by 200 OK to the deregistration.

Could you confirm whether 3CX can _wait_ for the deregistration transaction to complete before sending the new REGISTER, as described in RFC 3261 §10.2?

" UAs MUST NOT send a new registration (that is, containing new Contact
header field values, as opposed to a retransmission) until they have
received a final response from the registrar for the previous one or
the previous REGISTER request has timed out."
 

Forum statistics

Threads
112,606
Messages
593,697
Members
165,867
Latest member
Mellow-Island-2783