<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi list,<div class="">I am trying to emulate the behavior of a traditional PBX where pressing a soft key on the phone will forward calls to Voicemail and turn on the lamp on that key for all phones in the group.</div><div class="">I am able to switch on and off the forwarding to Voicemail by using a DB entry that is updated when you call a certain extension, but I am struggling with the BLF.</div><div class="">What I am doing currently is to send an event to turn on the BLF, and &nbsp;one to turn off the BLF, as follows:</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">BLF on:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sendevent PRESENCE_IN</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">proto: sip</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">from: <a href="mailto:1001@domain.com" class="">1001@domain.com</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">login: <a href="mailto:1001@domain.com" class="">1001@domain.com</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">event_type: presence</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">alt_event_type: dialog</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Presence-Call-Direction: outbound</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">answer-state: confirmed</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">BLF Off:</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sendevent PRESENCE_IN</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">proto: sip</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">from: <a href="mailto:1001@domain.com" class="">1001@domain.com</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">login: <a href="mailto:1001@domain.com" class="">1001@domain.com</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">event_type: presence</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">alt_event_type: dialog</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Presence-Call-Direction: outbound</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">answer-state: terminated</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">On the phone, the soft key is programmed to monitor <a href="mailto:1001@domain.com" class="">1001@domain.com</a>.&nbsp;</span></div><div class=""><br class=""></div><div class=""><a href="mailto:1001@domain.com" class="">1001@domain.com</a> shows as unregistered until I run one of the events on it. However, it doesn’t matter which I run, I am not able to control the on / off behavior on the BLF. The light comes on, and stays on until it looks as if the extension was unregistered again.</div><div class=""><br class=""></div><div class="">What am I missing and how can I accomplish this?</div><div class=""><br class=""></div><div class="">Thanks a million,</div><div class="">Emrah</div></span></div></body></html>