Forums Read-only archive

Unregister from BSS

9 posts · Brekeke SIP Server Forum

xdgning Original post
1. Brekeke Product Name and version:

2. Java version:

3. OS type and the version:

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

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

6. Your problem:

UA sents Request REGISTER sip: 192.168.1.157 (Remove all bindings)
BSS returns
Status 100 Trying (0 bindings)
Status 200 OK (1 bindings)
UA does not unregister from BSS.

It was working before I re-installed BSS.
Does anybody know the reason for this?

Thanks.
xdgning
I just remembered that I used the version 2.1 today. It was an earlier version when it worked. How come the newer version, the less thing workings.....

Help please!!!
redroof
which client are you using?
which version of SIP server were you using previously?
xdgning
The previous version used was v2.0.7.2.
We're designing a new VoIP board ourselves. Now I'm testing to see how it works with BSS.
xdgning
No. Time Source Destination Protocol Info
3 0.000361 192.168.1.7 192.168.1.157 SIP Request: REGISTER sip:192.168.1.157 (remove all bindings)

Frame 3 (450 bytes on wire, 450 bytes captured)
Ethernet II, Src: 38:c7:44:71:59:07 (38:c7:44:71:59:07), Dst: Dell_00:0b:98 (00:12:3f:00:0b:98)
Internet Protocol, Src: 192.168.1.7 (192.168.1.7), Dst: 192.168.1.157 (192.168.1.157)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
Request-Line: REGISTER sip:192.168.1.157 SIP/2.0
Method: REGISTER
Resent Packet: False
Message Header
Via: SIP/2.0/UDP 192.168.1.7:5060;branch=z9hG4bK995952279;rport
To: <sip:702@192.168.1.157>
SIP to address: sip:702@192.168.1.157
From: <sip:702@192.168.1.157>;tag=57-651728350
SIP from address: sip:702@192.168.1.157
SIP tag: 57-651728350
Call-ID: 32503680331836391970@192.168.1.7
User-Agent: Encore UserAgent/2
CSeq: 3 REGISTER
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, NOTIFY
Max-Forwards: 10
Contact: *
Expires: 0
Supported: gruu
Content-Length: 0
xdgning
No. Time Source Destination Protocol Info
4 0.002961 192.168.1.157 192.168.1.7 SIP Status: 100 Trying (0 bindings)

Frame 4 (327 bytes on wire, 327 bytes captured)
Ethernet II, Src: Dell_00:0b:98 (00:12:3f:00:0b:98), Dst: 38:c7:44:71:59:07 (38:c7:44:71:59:07)
Internet Protocol, Src: 192.168.1.157 (192.168.1.157), Dst: 192.168.1.7 (192.168.1.7)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 100 Trying
Status-Code: 100
Resent Packet: False
Message Header
Via: SIP/2.0/UDP 192.168.1.7:5060;branch=z9hG4bK995952279;rport=5060
From: <sip:702@192.168.1.157>;tag=57-651728350
SIP from address: sip:702@192.168.1.157
SIP tag: 57-651728350
To: <sip:702@192.168.1.157>
SIP to address: sip:702@192.168.1.157
Call-ID: 32503680331836391970@192.168.1.7
CSeq: 3 REGISTER
Server: Brekeke SIP Server rev.239
Content-Length: 0
xdgning
No. Time Source Destination Protocol Info
5 0.004095 192.168.1.157 192.168.1.7 SIP Status: 200 OK (1 bindings)

Frame 5 (408 bytes on wire, 408 bytes captured)
Ethernet II, Src: Dell_00:0b:98 (00:12:3f:00:0b:98), Dst: 38:c7:44:71:59:07 (38:c7:44:71:59:07)
Internet Protocol, Src: 192.168.1.157 (192.168.1.157), Dst: 192.168.1.7 (192.168.1.7)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK
Status-Code: 200
Resent Packet: False
Message Header
Via: SIP/2.0/UDP 192.168.1.7:5060;branch=z9hG4bK995952279;rport=5060
From: <sip:702@192.168.1.157>;tag=57-651728350
SIP from address: sip:702@192.168.1.157
SIP tag: 57-651728350
To: <sip:702@192.168.1.157>;tag=b8b8e95a8s
SIP to address: sip:702@192.168.1.157
SIP tag: b8b8e95a8s
Call-ID: 32503680331836391970@192.168.1.7
CSeq: 3 REGISTER
Contact: <sip:702@192.168.1.7:5060;transport=udp>;expires=2664;q=1.0
Contact Binding: <sip:702@192.168.1.7:5060;transport=udp>;expires=2664;q=1.0
URI: <sip:702@192.168.1.7:5060;transport=udp>
SIP contact address: sip:702@192.168.1.7:5060
Server: Brekeke SIP Server rev.239
Content-Length: 0
xdgning
Where does "expires=2664" come from in the last packet?
xdgning
This is how it should be for 200 OK: (When using v.2.0.7.2)
It seems like it should not send the contact information after CSeq: REGISTER
Anything I can set on BSS to make it function correctly?

No. Time Source Destination Protocol Info
3 0.003343 192.168.1.157 192.168.1.7 SIP Status: 200 OK (0 bindings)

Frame 3 (363 bytes on wire, 363 bytes captured)
Ethernet II, Src: Dell_01:d2:71 (00:12:3f:01:d2:71), Dst: 38:c7:44:71:59:07 (38:c7:44:71:59:07)
Internet Protocol, Src: 192.168.1.157 (192.168.1.157), Dst: 192.168.1.7 (192.168.1.7)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Source port: 5060 (5060)
Destination port: 5060 (5060)
Length: 329
Checksum: 0xca5f [correct]
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK
Status-Code: 200
Resent Packet: False
Message Header
Via: SIP/2.0/UDP 192.168.1.7:5060;branch=z9hG4bK211875396;rport=5060
From: <sip:702@192.168.1.157>;tag=57-321449923
SIP from address: sip:702@192.168.1.157
SIP tag: 57-321449923
To: <sip:702@192.168.1.157>;tag=1197670319734-214207798
SIP to address: sip:702@192.168.1.157
SIP tag: 1197670319734-214207798
Call-ID: 3250368636919442212@192.168.1.7
CSeq: 10 REGISTER
Server: Brekeke SIP Server rev.217
Expires: 0
Content-Length: 0