[SR-Users] Problem with replicating dialogs using DMQ

Jan Hazenberg jenus321 at gmail.com
Thu Sep 27 12:47:52 CEST 2018


Daniel,

It indeed sends duplicate DMQ messages, one to the ip of the other node and
one to the hostname of the other node.

Unknown request: KDMQ sip:dialog at sip04.voip.domain.acc:5060 |
(application/json)
Unknown request: KDMQ sip:dialog at 10.10.10.12:5060 |  (application/json)

Is there any way to disable this?

Thanks,

Jan


On Thu, Sep 27, 2018 at 11:50 AM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Hello,
>
> the log message says that the dialog was already added to the timer. Do
> you see retransmissions of the DMQ requests on the network with
> ngrep/wireshark/...?
> Cheers,
> Daniel
>
> On 27.09.18 10:40, Jan Hazenberg wrote:
>
> Hello,
>
> I'm trying to replicate active dialogs using the DMQ module. I see the
> dialogs on the other nodes but it generates a error message in the logs on
> all the nodes:
>
> Sep 27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog
> [dlg_timer.c:130]: insert_dlg_timer(): Trying to insert a bogus dlg
> tl=0x7efdca1bebf8 tl->next=0x7efdca14cb80 tl->prev=0x7efdca14cb80
> Sep 27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog
> [dlg_dmq.c:309]: dlg_dmq_handle_msg(): Unable to insert dlg timer
> 0x7efdca1beb98 [2643:3725]
>
> Even with the timeout_avp option disabled i still see the error messages.
> I tested this on kamailio 5.0.3 and 5.1.3 with the same results.
>
> With debug enabled i see the correct data is replicated to the other nodes:
>
> dlg_dmq_replicate_action(): sending serialized data
> {"action":2,"h_entry":1328,"h_id":409,"state":4,"start_ts":1538036606,"lifetime":7200,"tag1":"1635359980","tag2":"as2d80799c","cseq1":"21","cseq2":"0","route_set1":"","route_set2":"","contact1":
> "sip:sipuser at 10.10.10.10:1057;alias=10.10.10.10~1055~1","contact2":"
> sip:+31101234567 at 10.10.10.10:5060"}
>
> "lifetime":7200 is in the serialized data, and when i check on the other
> node with "kamcmd dlg.list" i see that the lifetime data is not updated.
>
>
> Thanks,
>
> Jan
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference -- www.kamailioworld.com
> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180927/fe343657/attachment.html>


More information about the sr-users mailing list