[SR-Users] dmq_usrloc

Kelvin Chua kelchy at gmail.com
Thu Aug 13 11:23:56 CEST 2015


I don't know if this is related, this happens on 4.3.1 as well but usrloc
crashes once it gets a DMQ

#0  0x00007f2a82a5727c in get_urecord_by_ruid (_d=0x0, _aorhash=8118438,
_ruid=0x7ffe6028d5c0, _r=0x7ffe6028d568, _c=0x7ffe6028d578)
    at udomain.c:1153
#1  0x00007f2a8282029a in usrloc_get_all_ucontact (node=0x7f2a01790998) at
usrloc_sync.c:166
#2  0x00007f2a828240a7 in usrloc_dmq_handle_msg (msg=0x7f2a01790f78,
resp=0x7ffe6028d820, node=0x7f2a01790998) at usrloc_sync.c:363
#3  0x00007f2a83959e6f in worker_loop (id=1) at worker.c:105
#4  0x00007f2a8393e566 in child_init (rank=0) at dmq.c:293
#5  0x0000000000599658 in init_mod_child (m=0x7f2a86955c78, rank=0) at
sr_module.c:898
#6  0x0000000000599390 in init_mod_child (m=0x7f2a86956098, rank=0) at
sr_module.c:895
#7  0x0000000000599390 in init_mod_child (m=0x7f2a86956a78, rank=0) at
sr_module.c:895
#8  0x0000000000599390 in init_mod_child (m=0x7f2a86956e68, rank=0) at
sr_module.c:895
#9  0x0000000000599390 in init_mod_child (m=0x7f2a869570f8, rank=0) at
sr_module.c:895
#10 0x0000000000599390 in init_mod_child (m=0x7f2a86957498, rank=0) at
sr_module.c:895
#11 0x0000000000599390 in init_mod_child (m=0x7f2a86957838, rank=0) at
sr_module.c:895
#12 0x0000000000599390 in init_mod_child (m=0x7f2a86957db0, rank=0) at
sr_module.c:895
#13 0x0000000000599390 in init_mod_child (m=0x7f2a86958090, rank=0) at
sr_module.c:895
#14 0x0000000000599390 in init_mod_child (m=0x7f2a869582c0, rank=0) at
sr_module.c:895
#15 0x0000000000599390 in init_mod_child (m=0x7f2a869589b0, rank=0) at
sr_module.c:895
#16 0x0000000000599390 in init_mod_child (m=0x7f2a86958f88, rank=0) at
sr_module.c:895
#17 0x0000000000599390 in init_mod_child (m=0x7f2a869594d8, rank=0) at
sr_module.c:895
#18 0x000000000059996c in init_child (rank=0) at sr_module.c:924
#19 0x00000000004aa753 in main_loop () at main.c:1650
#20 0x00000000004b02b0 in main (argc=13, argv=0x7ffe6028e318) at main.c:2533


Kelvin Chua

On Sat, Aug 8, 2015 at 12:09 AM, Asgaroth <00asgaroth00 at gmail.com> wrote:

> Hi,
>
>
>
> Yes, I do see it replicating contacts to the other 2 servers on the dmq
> bus, however, I did come across a strange issue with the max contacts
> parameter, which the devs are looking at:
>
>
>
> https://github.com/kamailio/kamailio/issues/265
>
>
>
> Cheers
>
>
>
>
>
> *From:* sr-users [mailto:sr-users-bounces at lists.sip-router.org] *On
> Behalf Of *Kelvin Chua
> *Sent:* Friday 7 August 2015 14:56
> *To:* Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org>
> *Subject:* Re: [SR-Users] dmq_usrloc
>
>
>
> have you seen your usrloc actually populate data from another server?
>
> i can verify my dmq is working properly. just usrloc not populating.
>
>
> Kelvin Chua
>
>
>
> On Fri, Aug 7, 2015 at 6:22 PM, Asgaroth <00asgaroth00 at gmail.com> wrote:
>
> Hi,
>
>
>
> I’m a new user to the dmq subsystem in kamailio, but, once I had a
> properly configured dmq environment and loaded dmq_usrloc after dmq, all I
> had to do was add the following to the module paramters:
>
>
>
> modparam("dmq_usrloc", "enable", 1)
>
>
>
> Then in the routing logic of the registrar’s you just need to add the
> appropriate dmq message handling blocks.
>
>
>
> Hope this helps in some way.
>
>
>
>
>
>
>
> *From:* sr-users [mailto:sr-users-bounces at lists.sip-router.org] *On
> Behalf Of *Kelvin Chua
> *Sent:* Thursday 6 August 2015 07:29
> *To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> Users Mailing List <sr-users at lists.sip-router.org>
> *Subject:* [SR-Users] dmq_usrloc
>
>
>
> is there any function to trigger replication?
>
>
>
> i enabled the module and dmq is working for my htables
>
> but usrloc is not replicating.
>
>
>
> "kamctl ul show" does not show anything
>
>
>
> i used ngrep to trace the KDMQ packets, i can see the frequent exchanges
> but nothing related to usrloc. am i doing something wrong?
>
>
> Kelvin Chua
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150813/c42c3464/attachment.html>


More information about the sr-users mailing list