[OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

James Lamanna jlamanna at gmail.com
Wed May 27 15:30:57 CEST 2009


On Wed, May 27, 2009 at 1:52 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 2009/5/27 James Lamanna <jlamanna at gmail.com>:
>> Hi,
>> Has anyone been able to get the BLF to work with a SPA-942 and the
>> OpenSIPS presence module?
>
> There are many types of "presence":
>
> - Presence SIMPLE (user status: online, offline, away, on-meeting...)
> => "Event: presence"
> - Presence BLF (RFC 4235): line status (calling, on-call, idle...) =>
> "Event: dialog"
>
> Asterisk supports **very poorly and wrongly** the BLF presence (but it
> does it VERY VERY wrongly, in a propietary way instead of following
> the RFC 4235. Linksys phones allos this painful "Asterisk BLF
> presence".
>
> OpenSIPS presence module is generic, it allows any kind of presence,
> but "somebody" must send the PUBLISH with the user or line status.
> Users implementing SIMPLE presence (X-Lite, Eyebeam, Twinkle,
> Ekiga...) send PUBLISH ("Event: presence") by themself, they arrive to
> the presence server (Opensips presence module) and it generates NOTIFY
> for subscribers.
>
> In case of BLF, "something" should send PUBLISH "Event: dialog" when a
> call occurs (in progress, established...). A phone couuld do it, but
> it's not very usual. However OpenSIPS has a module called
> "pua_dialoginfo" which generates PUBLISH "Event: dialog" when an
> INVITE occurs. I've tested it and didn't seem robust for me. Read the
> documentation about it.
>
>
>
>> There must be something different from the BLF responses from an
>> Asterisk server and from OpenSIPS,
>> because the BLF works great when the phone is monitoring the Asterisk
>> server directly.
>> I can see the SUBSCRIBE and the NOTIFY messages coming through, so
>> maybe the phone just doesn't
>> understand the NOTIFYs?
>
> Presence is more complex that what you suggest. There are different
> kinds of presence packages.

Thanks for the clarification! I'll play around with this more today to
see what I can get working.
The other thing that complicates this is that I would like to have the
presence BLF from the Asterisk
parking lot to work. Currently I can get this to work by forwarding
the SUBSCRIBE packets for the
parking lot extensions to Asterisk, however if I have to change the
"server type" on the phone to
something other than Asterisk, to get the presence BLF for extensions
registered with OpenSIPS
to work, this will most definitely break. Though in that case I could
probably do some transformations
to the NOTIFY reply from Asterisk to make it conform to RFC 4235?

>
> Regards.
>
>
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>

Thanks.

-- James



More information about the Users mailing list