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 -- 
sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to