PRESENCE IN event example

From FreeSWITCH Wiki
Jump to: navigation, search

The following events can be sent over the Event Socket to make BLF lights do things. Tested with a snom 360.

Flash the lamp:

sendevent PRESENCE_IN
proto: sip
from: 801@example.com
login: 801@example.com
event_type: presence
alt_event_type: dialog
Presence-Call-Direction: outbound
answer-state: early

Turn the lamp on:

sendevent PRESENCE_IN
proto: sip
from: 801@example.com
login: 801@example.com
event_type: presence
alt_event_type: dialog
Presence-Call-Direction: outbound
answer-state: confirmed

Turn the lamp off:

sendevent PRESENCE_IN
proto: sip
from: 801@example.com
login: 801@example.com
event_type: presence
Presence-Call-Direction: outbound
alt_event_type: dialog
answer-state: terminated


Prior to Polycom SIP 3.1: SoundPoint IP Phones flash for state early and confirmed.

With SIP 3.1 or greater: SoundPoint IP Phones are solid with a busy graphic for early and confirmed.