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

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 23 06:54:25 EST 2018


Hi Aqs,

Which OpenSIPS is acting as presence server for BLF ?

Also, to which OpenSIPS is user C sending its subscribe ( B BLF) ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Summit 2018
   http://www.opensips.org/events/Summit-2018Amsterdam

On 01/21/2018 09:17 PM, Aqs Younas 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:gW044631108@127.0.0.1/asterisk 
> <http://gw:gW044631108@127.0.0.1/asterisk>")
> modparam("presence", "server_address", "sip:35.197.160.205:5060 
> <http://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 
> <http://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 
> <http://sip:sa@10.152.0.6:5060>")
> modparam("pua_dialoginfo", "publish_on_trying", 1)
>
> modparam("pua_usrloc", "default_domain", "cloud-pbx-02.net 
> <http://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> 
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180123/dd32ab55/attachment.html>


More information about the Users mailing list