[sr-dev] unREGISTER not working on recent master (built Saturday evening) when usrloc db_mode = 3

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon May 20 16:15:11 CEST 2013


This un-REGISTER:

    REGISTER sip:...domain... SIP/2.0
    Via: SIP/2.0/TCP 10.244.155.159:5080;branch=z9hG4bKc449.b2edda67c9b4a8c76a60a96e2855f29f.0
    Via: SIP/2.0/WSS 18vku8fabcfq.invalid;rport=50434;received=90.152.0.102;branch=z9hG4bK5064405
    Max-Forwards: 16
    To: <sip:...user... at ...domain...>
    From: <sip:...user... at ...domain...>;tag=ksmq223j0u
    Call-ID: pv465kef31j1l3qagh2bu7
    CSeq: 84 REGISTER
    Contact: <sip:pufj2a59 at 18vku8fabcfq.invalid;transport=ws>;reg-id=1;+sip.instance="<urn:uuid:d098383b-5d6d-4816-9c6e-f1aa00b7cef5>";expires=0
    Supported: path, outbound, gruu
    Content-Length: 0
    Path: <sip:7n4oJa+O7yfY4QYK9JufAbtamABmxQI=@10.244.155.159:5080;transport=tcp;lr;ob>

Results in this 200 OK (with 0 bindings):

    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.244.155.159:5080;branch=z9hG4bKc449.b2edda67c9b4a8c76a60a96e2855f29f.0
    Via: SIP/2.0/WSS 18vku8fabcfq.invalid;rport=50434;received=90.152.0.102;branch=z9hG4bK5064405
    To: <sip:...user... at ...domain...>;tag=8ab1eb0246bb313f703b656487ebc696.9519
    From: <sip:...user... at ...domain...>;tag=ksmq223j0u
    Call-ID: pv465kef31j1l3qagh2bu7
    CSeq: 84 REGISTER
    Path: <sip:7n4oJa+O7yfY4QYK9JufAbtamABmxQI=@10.244.155.159:5080;transport=tcp;lr;ob>
    Supported: outbound
    Require: outbound
    Content-Length: 0

But with usrloc db_mode set to 3 the corresponding record remains in the 
database.

When I set usrloc db_mode to 0 I can use "mi ul_dump" with kamcmd and 
see that the records are removed from the hash-table.

It looks like some recent change to the way usrloc interacts with the 
database has broken something.

Regards,

Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130520/5d5bf77d/attachment.html>


More information about the sr-dev mailing list