[sr-dev] [tracker] Task opened: modules/usrloc: ul.dump RPC command doesn't dump the right q value (Attachment added)

sip-router bugtracker at sip-router.org
Thu May 2 17:01:03 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Víctor Seva (linuxmaniac) 

Attached to Project - sip-router
Summary - modules/usrloc: ul.dump RPC command doesn't dump the right q value 
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Before:

vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd ul.dump
{
        Domain: location
        Size: 512
        AoRs: {
        }
        Stats: {
                Records: 0
                Max-Slots: 0
        }
}
vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd  ul.add location foo at 1.example.com sip:192.168.1.1:5060 0 1.0 koko 1 2 3
vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd ul.dump
{
        Domain: location
        Size: 512
        AoRs: {
                AoR: foo
                HashID: 6992683
                Contacts: {
                        Contact: {
                                Address: sip:192.168.1.1:5060
                                Expires: permanent
                                Q: 0.000000
                                Call-ID: dfjrewr12386fd6-343 at kamailio.mi
                                CSeq: 1
                                User-Agent: SIP Router MI Server
                                Received: [not set]
                                Path: [not set]
                                State: CS_NEW
                                Flags: 1
                                CFlags: 2
                                Socket: [not set]
                                Methods: 3
                                Ruid: ulcx-518066f6-58d-1
                                Instance: [not set]
                                Reg-Id: 0
                                Last-Keepalive: 0
                                Last-Modified: 0
                        }
                }
        }
        Stats: {
                Records: 1
                Max-Slots: 1
        }
}

After:

vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd ul.dump
{
        Domain: location
        Size: 512
        AoRs: {
        }
        Stats: {
                Records: 0
                Max-Slots: 0
        }
}
vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd  ul.add location foo at 1.example.com sip:192.168.1.1:5060 0 1.0 koko 1 2 3
vseva at kamailiodev:~/kamailio$ ./utils/sercmd/kamcmd ul.dump
{
        Domain: location
        Size: 512
        AoRs: {
                AoR: foo
                HashID: 6992683
                Contacts: {
                        Contact: {
                                Address: sip:192.168.1.1:5060
                                Expires: permanent
                                Q: 1.000000
                                Call-ID: dfjrewr12386fd6-343 at kamailio.mi
                                CSeq: 1
                                User-Agent: SIP Router MI Server
                                Received: [not set]
                                Path: [not set]
                                State: CS_NEW
                                Flags: 1
                                CFlags: 2
                                Socket: [not set]
                                Methods: 3
                                Ruid: ulcx-518065e0-439-2
                                Instance: [not set]
                                Reg-Id: 0
                                Last-Keepalive: 0
                                Last-Modified: 0
                        }
                }
        }
        Stats: {
                Records: 1
                Max-Slots: 1
        }
}
vseva at kamailiodev:~/kamailio$ 


One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=291

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list