[SR-Users] Kamailio Presence help required.

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 6 08:22:35 CET 2017


Hello,

from your description, I don't see a problem from the specs point of
view, but more like something that you would like to have.

If UA subscribers only for dialog event, then it gets NOTIFY requests
only for dialog states (new call, ..., termintated call). When it
subscribers for presence, then it gets UA availability states.

And I think this is what you also get based on description. Am I wright?

Mixing the states of presence for dialog notifications is not possible,
not in the specs, but eventually you can write a module yourself and map
as you want/need presence states over dialog states.

Cheers,
Daniel

On 03/03/2017 19:13, SamyGo wrote:
> Hi,
> I'm in need of making/tweak an existing Kamailio Presence setup which
> is giving some tough time.
>
> _Whats already working:_
> BLF dialog states changes are already sent across the users. SCA is
> working as well.
>
> _What isn't working:_
> When a User comes online then it sends SUBSCRIBE with *Event: dialog*
> and don't get notified of its subscribers state right then unless the
> monitored extensions make a call (BLF works)
>
> _Why is it not working:
>
> _
> As evident from wireshark traces, the user IP phones (Test sets:
> Polycoms, Yealink, CISCO, Grandstream) don't send our *Event:
> presence* rather only *Event:dialog* and Kamailio do not send NOTIFY
> out to everyone. Though yes there is an internally generated PUBLISH
> seen and handled properly upon registration state changes.
>
> Jitsi has been tested and Kamailio send out these registration state
> change info to jitsi, somce jitsi sends *Event:presence *in SUBSCRIBE.
>
> I need dialog based NOTIFY to be sent out on registration state-change.
>
> Need pointers and help on the topic, looking forward to some feedback.
>
> Regards,
> Sammy
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170306/c4bb5e7b/attachment.html>


More information about the sr-users mailing list