[SR-Users] How to make BLF work
SamyGo
govoiper at gmail.com
Fri May 31 18:41:07 CEST 2013
Hi again,
Adding SCA doesn't help much here. Please see the ngrep traces attached.
However I've seen these logs showing up now:
INFO: pua_dialoginfo [dialog_publish.c:386]: CALLING dialog_publish for URI
sip:4155 at wistle.myvoipdomain.com:5060
INFO: pua_dialoginfo [dialog_publish.c:386]: CALLING dialog_publish for URI
sip:4144 at wistle.myvoipdomain.com:5060
Unfortunately I still don't see any lights blinking on my phones.
Any help here will be much appreciated.
BR,
Sammy
On Fri, May 31, 2013 at 11:10 AM, SamyGo <govoiper at gmail.com> wrote:
> 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 at 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 at 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 at edvina.net>wrote:
>>
>>>
>>> 30 maj 2013 kl. 13:07 skrev SamyGo <govoiper at 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<http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour>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 at 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 at 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 at 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 listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>>>>> list
>>>>>> sr-users at 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 listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>> --
>>>> Daniel-Constantin Mierla - http://www.asipto.comhttp://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 at 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 at 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 at 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 listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130531/54a2b3b8/attachment-0001.html>
More information about the sr-users
mailing list