Hi again,

Yes Vitaliy, that's exactly where I started except it was the page for Kamailio 4.0. 
Following modules are loaded:

loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_reginfo"
loadmodule "pua.so"
loadmodule "pua_dialoginfo.so"
loadmodule "pua_usrloc.so"
loadmodule "pua_reginfo"

With following params:

modparam("presence", "db_url", DBURL)
modparam("presence", "server_address", "sip:A.A.A.A:5060" )
modparam("presence", "send_fast_notify", 0)
modparam("presence", "db_update_period", 20)

# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "integrated_xcap_server", 1)
modparam("presence_dialoginfo", "force_single_dialog", 1)
modparam("pua", "db_url", DBURL)

modparam("pua_usrloc", "default_domain", "myvoipdomain.com")
modparam("pua_usrloc", "branch_flag", 9)

modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_reginfo", "server_address", "sip:reginfo@A.A.A.A:5060")
modparam("pua_reginfo", "default_domain", "myvoipdomain.com")
#!endif

I'll try SCA module with these as well in a short while.

I appreciate your help guys.

--
Sammy




On Fri, May 31, 2013 at 2:28 AM, Vitaliy Aleksandrov <vitalik.voip@gmail.com> wrote:
Have you checked presence_dialoginfo documentation ?
http://kamailio.org/docs/modules/devel/modules/presence_dialoginfo.html

The link above has a description of the way BLF can be implemented on kamailio and I think it has all the details you need to make it work.
I haven't used this scheme and know about it only from the mentioned paper, so I can't explain it in more detail.

Yes, As OEJ mentioned there were no Dialogs created so had to put the dlg_manage(); in the cfg and now in kamcmd the dlg.list command displays call data. 
How can I add presence stuff now.
Vitaliy, please explain further how can I add the PUA component. 

Thanks,
Sammy





On Thu, May 30, 2013 at 6:17 PM, Olle E. Johansson <oej@edvina.net> wrote:

30 maj 2013 kl. 13:07 skrev SamyGo <govoiper@gmail.com>:

Hi again,

I doubt SCA module will work for me but let me get this a shot tonight and get back with a sipgrep trace. Meanwhile I was just thinking if the 'skype like service' blog at Asipto might work straight away. I really don;t see any difference in my PRESENCE route but maybe I've missed anything.

Let me get back with more working on this.
Start with making sure that the Dialog module works as expected for you. Check with kamcmd that you have active dialogs when you have active calls.
When that works, start with adding presence.

Cheers,
/O


Thanks for the reply.

Sammy Go.



On Wed, May 29, 2013 at 1:35 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

just to say that SCA module might be an alternative, not sure it works for blf, could be only for bla/sla, but worth checking the email.

Also, if you post ngrep output (sip traffic as sip), could be easier to review the traces from a device that is not yet capable of installing tcpdump/ngrep/etc ... tools, like tablets, smartphones ... increasing your chance to get more people to an answer.

Cheers,
Daniel


On 5/28/13 11:41 PM, SamyGo wrote:
Yeah, I'm getting your point. 

So now, here are my loaded modules.

#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "presence_dialoginfo.so"
loadmodule "pua.so"
loadmodule "pua_dialoginfo.so"
loadmodule "pua_usrloc.so"
#!endif

And of course:

loadmodule "dialog.so"

Attached are the relevant sip traces.


On Wed, May 29, 2013 at 2:32 AM, SamyGo <govoiper@gmail.com> wrote:
Yeah, I'm getting your point. 

So now, here are my loaded modules.

#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "presence_dialoginfo.so"
loadmodule "pua.so"
loadmodule "pua_dialoginfo.so"
loadmodule "pua_usrloc.so"
#!endif

And of course:

loadmodule "dialog.so"

Attached are the relevant sip traces.




On Wed, May 29, 2013 at 1:00 AM, Vitaliy Aleksandrov <vitalik.voip@gmail.com> wrote:
You didn't receive any NOTIFY requests because you didn't have a PUA client. rfc3903 describes what a PUA client is.

To make BLF work you can try to use the next modules:
1. dialog - to enable dialog awareness
2. pua + pua_dialoginfo - to enable a PUA client based on active dialogs information provided by the "dialog" module
3. presence + presence_dialoginfo - to handle subscriptions and send notifications to phones

Hi list,

I've been trying to make my Yealink phone to give BLF indications but I haven't been able to achieve this successfully yet so I need some expert advise here.
My Yealink phone, as soon as it registers to Asterisk, gives me BLF lights. The same phone registering to Kamailio sends SUBSCRIBE and nothing happens.

The Presence Handling is enabled in configurations and yet no dialog-info+xml NOTIFY is received.

Please help.

Best Regards,
Sammy Go.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * http://asipto.com/u/katu *

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users