[OpenSIPS-Users] mid_registrar cluster

volga629 at networklab.ca volga629 at networklab.ca
Mon Jul 23 22:33:24 EDT 2018

Hello Everyone,
I was wonder if mid registrar will support g flag for global lookup if 
AOR no belong to local cluster node
Also when I set mode 2 Contact header is not formated correctly.


#### USeR Location module
loadmodule "usrloc.so"
modparam("usrloc", "db_url", "")
modparam("usrloc", "use_domain", 1)
modparam("usrloc", "working_mode_preset", "federation-cachedb-cluster")
modparam("usrloc", "location_cluster", 1)
modparam("usrloc", "cachedb_url", "mongodb://")
modparam("usrloc", "restart_persistency", "sync-from-cluster")

#### REGISTRAR module
loadmodule "mid_registrar.so"
modparam("mid_registrar", "mode", 2)
modparam("mid_registrar", "received_avp", "$avp(RECEIVED)")
modparam("mid_registrar", "max_contacts", 10)
modparam("mid_registrar", "tcp_persistent_flag", 
modparam("mid_registrar", "outgoing_expires", 7200)
modparam("mid_registrar", "contact_id_param", "ctid")


Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: 
ERROR:core:parse_sip_msg_uri: bad uri 
<sip:221 at ait.austen-it.com@>
Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: 
ERROR:core:pv_get_ruri: failed to parse the R-URI
Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: looking up 
Jul 23 21:26:06 aitossbc01 /usr/sbin/opensips[28045]: 
WARNING:mid_registrar:mid_reg_lookup: unsupported flag g


More information about the Users mailing list