[OpenSIPS-Users] Presence on opensips 2.2 - Not seeing any NOTIFY messages generated

Jonathan Hunter hunterj91 at hotmail.com
Mon Sep 25 05:02:22 EDT 2017


Hi Răzvan!


Thank you very much for the reply!


I did set dialoginfo_set("AB"), however it didnt like it;



 ERROR:pua_dialoginfo:check_flag: Wrong format for dialoginfo_set() parameter. Accepted values: A or B


So I changed to dialoginfo_set()  and it now works great!


Thanks for the response and sorry for the noise!


thanks


Jon


________________________________
From: Users <users-bounces at lists.opensips.org> on behalf of Răzvan Crainea <razvan at opensips.org>
Sent: 25 September 2017 07:55
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Presence on opensips 2.2 - Not seeing any NOTIFY messages generated

Hi, Jonathan!

Are you seeing the PUBLISH methods generated when a call starts and you are doing dialoginfo_set("AB")? Are they sent to the right presence server?
Also, are you seeing the subscriptions in OpenSIPS memory? Check using the subs_phtable_list [1] MI command.

[1] http://www.opensips.org/html/docs/modules/2.3.x/presence.html#idp1843728
Presence Module - openSIPS<http://www.opensips.org/html/docs/modules/2.3.x/presence.html#idp1843728>
www.opensips.org
The database url. If set, the module is a fully operational presence server. Otherwise, it is used as a 'library', for its exported functions.




Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com<http://www.opensips-solutions.com>

Home — OpenSIPS Solutions<http://www.opensips-solutions.com/>
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities.


On 09/22/2017 12:50 PM, Jonathan Hunter wrote:
Hi Guys,

I am configuring opensips 2.2.5 for presence and I cant seem to get the server to generate NOTIFY messages to active watchers, who are sending subscribe messages to Event:dialog.

I have enabled presence,presence_dialoginfo,dialog,presence_xml,pua and pua_bla and pua_dialoginfo.

I have a Yealink T42G sending a SUBSCRIBE, which opensips sends a 200ok to and initial NOTIFY for the extension it wants to monitor.

However when the extension in question has an active call, I see no NOTIFY message sent to the watcher.

I am using configuration similar to https://www.opensips.org/Documentation/Tutorials-Presence-PuaDialoinfoConfig.
openSIPS | Documentation / Tutorials-Presence ...<https://www.opensips.org/Documentation/Tutorials-Presence-PuaDialoinfoConfig>
www.opensips.org
# # OpenSIPS 1.11.x configuration file # # Busy Lamp Field ( event:dialog ) # BLF + SIP Presence Server # # ----- global configuration parameters ...



And I am calling;

create_dialog();
# publish for both legs
dialoginfo_set("AB");

So I see dialog's in the DB and cache.

Am I missing something here or should I be troubleshooting somewhere in particular?

thanks

Jon




_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto: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/20170925/f129d13d/attachment.html>


More information about the Users mailing list