Any clue, I can provide a detail trace and logs with database entries if this helps.
Thanks. On 22 January 2018 at 00:17, Aqs Younas <[email protected]> wrote: > Greetings list, > > I am unable to make BLF work on two opensips using a shared database with > opensips 2.3. Here is the scenario. > > Caller A is registered on opensips A. > Callee B is registered on opensips B. > User C is registered on opensips A and has subscribed dialog-info of > Callee B which is registered on opensips B. > > I see opensips B generating PUBLISH messages through pua but I did not see > NOTIFY being generated against that PUBLISH. > > Below is my configuration of opensips B. > > loadmodule "presence.so" > loadmodule "xcap.so" > loadmodule "presence_xml.so" > loadmodule "presence_dialoginfo.so" > loadmodule "pua.so" > loadmodule "pua_dialoginfo.so" > loadmodule "pua_usrloc.so" > > > # ----- presence params ----- > modparam("xcap|presence", "db_url", "mysql://gw:[email protected]. > 0.1/asterisk") > modparam("presence", "server_address", "sip:35.197.160.205:5060") > modparam("presence", "db_update_period", 1) > modparam("presence", "clean_period", 40) > modparam("presence", "fallback2db", 1) > > # ----- presence_xml params ----- > modparam("presence_xml", "force_active", 1) > > > # ----- presence_dialoginfo params ----- > modparam("presence_dialoginfo", "force_single_dialog", 1) > > # ----- pua params ----- > modparam("pua", "db_url", "mysql://gw:[email protected]/asterisk") > > # ----- pua_dialoginfo params ----- > modparam("pua_dialoginfo", "include_callid", 1) > modparam("pua_dialoginfo", "include_tags", 1) > modparam("pua_dialoginfo", "presence_server", "sip:[email protected]:5060") > modparam("pua_dialoginfo", "publish_on_trying", 1) > > modparam("pua_usrloc", "default_domain", "cloud-pbx-02.net") > > route{ > ...... > if (is_method("INVITE")) { > create_dialog(); > dialoginfo_set(); > } > .....} > > I see subscription state in active_watchers table against Caller B. > > P.S. Everything works fine if I just use one opensips, and things just go > awry when I use two opensips together. > > Sometimes, I see these errors in logs not sure if they are related or not. > > Jan 21 16:52:47 cloud-pbx-01 /sbin/opensips[15302]: > ERROR:pua:send_publish_int: New 'presence' PUBLISH and no body found - > invalid request > Jan 21 16:53:01 cloud-pbx-01 /sbin/opensips[15299]: > ERROR:presence:update_presentity: > No E_Tag match [a.1516396279.24224.2406.2580] > Jan 21 16:53:02 cloud-pbx-01 /sbin/opensips[15299]: > ERROR:presence:update_presentity: > No E_Tag match [a.1516396279.24223.1318.20] > Jan 21 16:53:03 cloud-pbx-01 /sbin/opensips[15300]: > ERROR:presence:update_presentity: > No E_Tag match [a.1516396279.24225.2338.1032] > > I am stuck here for few days, Any help/suggestion is much appreciated. > Thanks. > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > <#m_-1194415741906635718_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
