Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] dynamically change the presence status


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gallo at mctelefonia.com
Guest





PostPosted: Mon Apr 27, 2009 9:19 am    Post subject: [Freeswitch-users] dynamically change the presence status Reply with quote

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





PostPosted: Mon Apr 27, 2009 9:34 am    Post subject: [Freeswitch-users] dynamically change the presence status Reply with quote

<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:
Quote:
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 (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/

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





PostPosted: Mon Apr 27, 2009 9:51 am    Post subject: [Freeswitch-users] dynamically change the presence status Reply with quote

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





PostPosted: Mon Apr 27, 2009 9:53 am    Post subject: [Freeswitch-users] dynamically change the presence status Reply with quote

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





PostPosted: Mon Apr 27, 2009 10:07 am    Post subject: [Freeswitch-users] dynamically change the presence status Reply with quote

Brian West ha scritto:
Quote:
He's saying if you just set the presense_id variable the core will
take care of sending the presence messages for you!

I understood this. That's not the problem i've. Smile

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services