[Freeswitch-users] dynamically change the presence status

Antonio Gallo gallo at mctelefonia.com
Mon Apr 27 06:48:09 PDT 2009


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 at 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 at PBXIP|dnd|'Do not disturb.'
    presence out|999 at PBXIP|dnd|'Do not disturb.'

The LED on the phones (Grandstream GXP 2010 or Snom 320) does not turn 
RED/ON.

Any suggestion?





More information about the FreeSWITCH-users mailing list