[Freeswitch-users] Persistence BLFs (or: Dear PBX please remember the BLF state)

Chris Burns chris at cloudtel.com
Tue Feb 1 01:42:30 MSK 2011


For calls, presence_id works perfectly and that is what I use. In the case
of my client, they were using BLFs to show additional information like which
desks have spanish or french speaking agents (because the agents switch
around desks daily). The call is just to an extension to add/remove the
phone from a fifo queue, which then has to trigger an auxilary BLF on/off.
The call to the extension will be over and the phone's own BLF will unlight,
but the auxilary BLF should remain lit ... showing them as a proud member of
the spanish speaking fifo queue to the managers who rely on blinking red
lights to do so. The end result of my ESL app is that nothing can change my
auxilary BLFs except my dialplan, and any phones that reboot or get plugged
in new get lit up properly.

Was there a way I could have used presence_id and skipped using mod_dptools?
I didnt see how to do it.


On Mon, Jan 31, 2011 at 5:16 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> bottom line is, if you use the presence_id how it was designed, it
> will report any presence you want throughout the call.
> If you reboot the phone, it will persist.  It's just a matter of doing
> it all properly.
>
>
> On Mon, Jan 31, 2011 at 3:20 PM, Chris Burns <chris at cloudtel.com> wrote:
> > Not sure the polycoms do it exactly how he would like. Rebooting phones
> can
> > trip up many versions of soundpoint firmware. In our case we had a big
> > opportunity with a client who was stuck on such a version of soundpoint,
> > with an integrated web app on their 650s. Patrick, if this code works for
> > you dont let it stop you from applying pressure on your vendor to make
> your
> > phones work the way they should. We all have to put the pressure on our
> > vendors when they make mistakes ... after all these folks are charging
> > money, as opposed to FreeSWITCH.
> >
> > Basically this program will store and repeat - on interval - any unique
> > PRESENCE_IN events it hears from the 'presence' app or api (mod_dptools).
> It
> > will also override events from outside the dialplan with stored events
> (eg.
> > from a misbehaving SIP phone). You need to build the php module for ESL
> to
> > run the code
> > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation
> >
> > WARNING: this code is just an example pulled from a larger presence
> > application. I tested it in my lab with polycoms, but I cant guarantee
> your
> > safety, molten lava, bat country, etc. This may not be a very smart way
> to
> > solve the problem, but this is what I came up with when backed into a
> corner
> > and you are welcome to it ...
> >
> > http://pastebin.freeswitch.org/15193
> >
> >
> > On Mon, Jan 31, 2011 at 3:04 PM, Anthony Minessale
> > <anthony.minessale at gmail.com> wrote:
> >>
> >> You are heading the wrong way down the ladder but its worth a try.
> >> Grandstream is notorious for not following specs =D
> >>
> >> I have engaged SNOM to again try to sync up for interop.  Stay tuned.
> >> I would really prefer to have them working.
> >>
> >> Meanwhile try firmware 7.1.35 on your snom as that was before things
> >> started to break.
> >>
> >> Also if you have polycom or linksys they have been known to work
> >> better with blf.
> >>
> >>
> >>
> >> On Mon, Jan 31, 2011 at 1:19 PM, Patrick Plattes
> >> <patrick.plattes at niemann-frey.info> wrote:
> >> > Hi :-)
> >> >
> >> > I think SNOM has a problem with the quality of the firmware. maybe
> >> > they should glp it, so we can fix it ;-)
> >> >
> >> > Tomorrow I will test it with an Grandstream GPX-2000 maybe it works
> >> > with this device. If it does I will also ask SNOM for a fix.
> >> >
> >> > Thanks,
> >> >  Patrick
> >> >
> >> > _______________________________________________
> >> > FreeSWITCH-users mailing list
> >> > FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> > http://www.freeswitch.org
> >> >
> >>
> >>
> >>
> >> --
> >> Anthony Minessale II
> >>
> >> FreeSWITCH http://www.freeswitch.org/
> >> ClueCon http://www.cluecon.com/
> >> Twitter: http://twitter.com/FreeSWITCH_wire
> >>
> >> AIM: anthm
> >> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> >> IRC: irc.freenode.net #freeswitch
> >>
> >> FreeSWITCH Developer Conference
> >> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> >> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >> pstn:+19193869900
> >>
> >> _______________________________________________
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110131/650e3b73/attachment-0001.html 


More information about the FreeSWITCH-users mailing list