I encountered a problem when using dmq and dmq_usrloc. When I used the save function to save to the location table in the database, the socket field was sometimes empty, which caused problems with my call.

xiongyiyang--- via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
My dmq configuration:
loadmodule "dmq_usrloc.so"
modparam("dmq_usrloc", "enable", 1)
modparam("dmq_usrloc", "sync", 1)
modparam("dmq_usrloc", "usrloc_domain", "location_shuidi_online_agent")
modparam("dmq_usrloc", "batch_size", 1000)


modparam("dialog", "enable_dmq", 1)

loadmodule "dmq.so"
# ----- dmq params -----
modparam("dmq", "server_address", DMQ_SIP_URL)
modparam("dmq", "server_socket", DMQ_UDP_URL)
#!ifexp POD_NAME == "kamailio-cti-xyy-0"
modparam("dmq", "notification_address", "sip:kamailio-cti-xyy-1.kamailio-cti-xyy-headless.devops.svc.bedin.bj3:5062")
#!endif
#!ifexp POD_NAME == "kamailio-cti-xyy-1"
modparam("dmq", "notification_address", "sip:kamailio-cti-xyy-0.kamailio-cti-xyy-headless.devops.svc.bedin.bj3:5062")
#!endif

modparam("dmq", "multi_notify", 1)
modparam("dmq", "num_workers", 4)
modparam("dmq", "ping_interval", 15)


Report an error:
NATMANAGE cline: c=IN IP4 10.21.24.151 
 1(11) WARNING: <core> [core/msg_translator.c:2904]: via_builder(): TCP/TLS connection (id: 0) for WebSocket could not be found
 1(11) ERROR: <core> [core/msg_translator.c:2044]: build_req_buf_from_sip_req(): could not create Via header
 1(11) ERROR: tm [t_fwd.c:482]: prepare_new_uac(): could not build request
 1(11) ERROR: tm [t_fwd.c:1759]: t_forward_nonack(): failure to add branches
 1(11) ERROR: sl [sl_funcs.c:415]: sl_reply_error(): stateless error reply used: Message processing error (2/SL)



I think the reason is that the socket field in the location database is copied to another kamailio node and then updated to the database, causing it to be overwritten and empty.

A part of location database table:
user_agent  socket  methods
SIP.js/0.21.2   5023
SIP.js/0.21.1   5023
SIP.js/0.21.2   5023
SIP.js/0.21.1   5023
SIP.js/0.21.2   5023

please help !!!
I really don't know how to prevent the socket field from being overwritten.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.