Forums Read-only archive

(Un)REGISTER with a contact field of "*" fails

3 posts · Brekeke SIP Server Forum

markf Original post
1. Brekeke Product Name and version: SIP Server 2.1.6.2/239

2. Java version: 1.6.0_03

3. OS type and the version: XP SP 2 (5.1)

4. UA (phone), gateway or other hardware/software involved: Aculab SIP stack

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : Pattern1

6. Your problem:

I can successfully register with the Brekeke SIP Server as follows (output from our own SIP-stack trace):
15/02/08 12:12:25 TX -> 10.202.205.55:7070 UDP
REGISTER sip:10.202.205.55:7070 SIP/2.0
From: <sip:149@10.202.205.55>;tag=ACU-5b6c-9a3c12a4
To: sip:149@10.202.205.55
Contact: sip:149@10.202.205.55:5060
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 857 REGISTER
Content-Length: 0
Expires: 3600
Via: SIP/2.0/UDP 10.202.205.55:5060;rport;branch=z9hG4bK449b7a6f-dbbf-11dc-abe4-eda4b29128d1
Max-Forwards: 70



15/02/08 12:12:25 RX <- 10.202.205.55:7070 UDP
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK449b7a6f-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-5b6c-9a3c12a4
To: sip:149@10.202.205.55
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 857 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0


15/02/08 12:12:25 RX <- 10.202.205.55:7070 UDP
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK449b7a6f-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-5b6c-9a3c12a4
To: sip:149@10.202.205.55;tag=b4050616es
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 857 REGISTER
Contact: <sip:149@10.202.205.55:5060>;expires=3600;q=1.0
Server: Brekeke SIP Server rev.239
Expires: 3600
Content-Length: 0
This works fine, when I come to (un)REGISTER our SIP stack issues a number of REGISTER requests (one per second until we see a response); after a little while we start to see Trying's coming back and a final ok. The problem is, the alias has not been unregistered in the SIP Server. Dump as follows:
15/02/08 12:12:40 TX -> 10.202.205.55:7070 UDP
REGISTER sip:10.202.205.55:7070 SIP/2.0
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Contact: *
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Content-Length: 0
Expires: 0
Via: SIP/2.0/UDP 10.202.205.55:5060;rport;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
Max-Forwards: 70


15/02/08 12:12:40 TX -> 10.202.205.55:7070 UDP
REGISTER sip:10.202.205.55:7070 SIP/2.0
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Contact: *
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Content-Length: 0
Expires: 0
Via: SIP/2.0/UDP 10.202.205.55:5060;rport;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
Max-Forwards: 70

15/02/08 12:12:41 TX -> 10.202.205.55:7070 UDP
REGISTER sip:10.202.205.55:7070 SIP/2.0
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Contact: *
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Content-Length: 0
Expires: 0
Via: SIP/2.0/UDP 10.202.205.55:5060;rport;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
Max-Forwards: 70


15/02/08 12:12:43 TX -> 10.202.205.55:7070 UDP
REGISTER sip:10.202.205.55:7070 SIP/2.0
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Contact: *
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Content-Length: 0
Expires: 0
Via: SIP/2.0/UDP 10.202.205.55:5060;rport;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
Max-Forwards: 70

15/02/08 12:12:45 RX <- 10.202.205.55:7070 UDP
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0


15/02/08 12:12:45 RX <- 10.202.205.55:7070 UDP
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0


15/02/08 12:12:45 RX <- 10.202.205.55:7070 UDP
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0


15/02/08 12:12:45 RX <- 10.202.205.55:7070 UDP
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0


15/02/08 12:12:45 RX <- 10.202.205.55:7070 UDP
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.202.205.55:5060;rport=5060;branch=z9hG4bK4dbbd884-dbbf-11dc-abe4-eda4b29128d1
From: <sip:149@10.202.205.55>;tag=ACU-536b-9b25b5a6
To: sip:149@10.202.205.55;tag=bc7e3d0d7s
Call-ID: 005C1A20-47B581A9@10.202.205.55
CSeq: 860 REGISTER
Contact: <sip:149@10.202.205.55:5060>;expires=3580;q=1.0
Server: Brekeke SIP Server rev.239
Content-Length: 0
At this point the SIP Server is still indicating the alias is registered and I have to manually remove it.

Two things seem interesting: 1. There is a delay in processing (hence the multiple outbound requests to the server) and more importantly 2. The expiry time on the final OK - I would have expected this to be 0?

Any thoughts on what could be causing this (un)REGISTER to fail? Many thanks for any assistance.

Cheers

Mark
lakeview
Hi

Brekeke released the modified version yesterday.
http://www.brekeke.com/download/download_sip_2_0.php
markf
Fantastic, we will try this first thing, many thanks for the update.

Cheers

Mark