View previous topic :: View next topic |
Author |
Message |
gallo at mctelefonia.com Guest
|
Posted: Mon Apr 27, 2009 9:19 am Post subject: [Freeswitch-users] dynamically change the presence status |
|
|
Hello, i'm a bit confused about how to port a special function i've on
some asterisk system to Freeswitch.
In my old asterisk scenario i've all the phones subscribe to extensions
<sip:999@PBXIP>
this exentions is configured not to monitor a device but a "DeviceState"
variable, i.e.:
999,hint,DS/faxserver
using dialplan i turn on the blinking status using
DevState(DS/FaxServer,${RINGING})
and i turn it off when the call is hanged down.
The same applies to other functions: queues, night service, etc.
Under freeswitch the solution is
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_presence ?
I tried but it didn't worked:
presence in|999@PBXIP|dnd|'Do not disturb.'
presence out|999@PBXIP|dnd|'Do not disturb.'
The LED on the phones (Grandstream GXP 2010 or Snom 320) does not turn
RED/ON.
Any suggestion?
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Apr 27, 2009 9:34 am Post subject: [Freeswitch-users] dynamically change the presence status |
|
|
<action application="set" data="presence_id=999@${domain}"/>
On Mon, Apr 27, 2009 at 8:48 AM, Antonio Gallo <gallo@mctelefonia.com (gallo@mctelefonia.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
gallo at mctelefonia.com Guest
|
Posted: Mon Apr 27, 2009 9:51 am Post subject: [Freeswitch-users] dynamically change the presence status |
|
|
Anthony Minessale ha scritto:
Quote: | <action application="set" data="presence_id=999@${domain}"/>
| Sorry its still not clean to me.
The phones are already subscribed to 999@${domain}. 999 in my idea is
not a SIP device but something like global variable that i should
change status using a script (that for instances run a SQL Query too) or
some stuffs like that.
Thanks, Antonio
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Apr 27, 2009 9:53 am Post subject: [Freeswitch-users] dynamically change the presence status |
|
|
He's saying if you just set the presense_id variable the core will take care of sending the presence messages for you!
On Apr 27, 2009, at 9:43 AM, Antonio Gallo wrote:
Quote: | Sorry its still not clean to me.
The phones are already subscribed to 999@${domain}. 999 in my idea is
not a SIP device but something like global variable that i should
change status using a script (that for instances run a SQL Query too) or
some stuffs like that.
Thanks, Antonio
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
gallo at mctelefonia.com Guest
|
|
Back to top |
|
|
|