[OpenSIPS-Users] NOFITY not being generated against dialog event

Aqs Younas aqsyounas at gmail.com
Sun Jan 21 14:17:34 EST 2018


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:gW044631108 at 127.0.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:gW044631108@127.0.0.1/asterisk")

# ----- pua_dialoginfo params -----
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "presence_server", "sip:sa at 10.152.0.6: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>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180122/3d094b2a/attachment.html>


More information about the Users mailing list