Hi Is it possible to use BLF to show something from either dialplan or LUA? (For example i have a dialplan-code to enable or disable the pickup from the phone. By dialing *9150 i enable or disable the possibility of pickup my ringing calls from another phone. *91 is the code of the setting and 50 is the phone's number. I store the setting in db, and it works fine. But i would like to show the user his/her actual setting by green or red lamp.) Is this possible now with some trick? Or is it possible to make a feature for this? I tried it with http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_presence but with no success. (Or am i the unskilful?) I got two idea: - sub to dp+ext where ext is the extent you want to monitor - use the new mapping feature to map it to a proto. But i can not find any informations about these. Thanks Robert
On Mon, 2011-11-07 at 05:34 +0100, Tóth Róbert wrote:
I got two idea: - sub to dp+ext where ext is the extent you want to monitor - use the new mapping feature to map it to a proto.
A really cool feature would be to have some type of "presenceplan" (like dialplan or chatplan) called upon SUBSCRIBE. It would allow to setup mappings to local extensions/queues/..., given any type of condition on the origin and destination, refuse the subscription given ACLs, send a status fetched from ODBC, or why not even call an external program to fetch a status every time we send a NOTIFY. More or less, "The Ultimate Presence Server"... I would note that the new mapping feature also seems quite powerful and fun! François.
you can sit in ESL and listen for PRESENCE_PROBE events and respond with PRESENCE_IN all you want FYI On Mon, Nov 7, 2011 at 3:17 AM, François Delawarde < fdelawarde@wirelessmundi.com> wrote:
On Mon, 2011-11-07 at 05:34 +0100, Tóth Róbert wrote:
I got two idea: - sub to dp+ext where ext is the extent you want to monitor - use the new mapping feature to map it to a proto.
A really cool feature would be to have some type of "presenceplan" (like dialplan or chatplan) called upon SUBSCRIBE.
It would allow to setup mappings to local extensions/queues/..., given any type of condition on the origin and destination, refuse the subscription given ACLs, send a status fetched from ODBC, or why not even call an external program to fetch a status every time we send a NOTIFY.
More or less, "The Ultimate Presence Server"...
I would note that the new mapping feature also seems quite powerful and fun!
François.
FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Of course! The same thing could be done for chat, but the chatplan is still a really great thing to have. I hope one day soon I'll be able to remove my crappy XMPP server and do everything with SIP (voice, video, chat, and presence) using FS and FSComm. Thanks BTW! François. On Mon, 2011-11-07 at 13:19 -0600, Anthony Minessale wrote:
you can sit in ESL and listen for PRESENCE_PROBE events and respond with PRESENCE_IN all you want FYI
On Mon, Nov 7, 2011 at 3:17 AM, François Delawarde <fdelawarde@wirelessmundi.com> wrote: On Mon, 2011-11-07 at 05:34 +0100, Tóth Róbert wrote: > I got two idea: > - sub to dp+ext where ext is the extent you want to monitor > - use the new mapping feature to map it to a proto.
A really cool feature would be to have some type of "presenceplan" (like dialplan or chatplan) called upon SUBSCRIBE.
It would allow to setup mappings to local extensions/queues/..., given any type of condition on the origin and destination, refuse the subscription given ACLs, send a status fetched from ODBC, or why not even call an external program to fetch a status every time we send a NOTIFY.
More or less, "The Ultimate Presence Server"...
I would note that the new mapping feature also seems quite powerful and fun!
François.
FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
François Delawarde
-
Tóth Róbert