Koozali.org: home of the SME Server

HotDesking

Offline apmuthu

  • *
  • 244
  • +0/-0
HotDesking
« on: February 25, 2013, 12:12:24 PM »
Anyone tried hotdesking on SAIL v3.1.1-22?
The /opt/sark/cache/r1751hdapp file contains the sql to be executed on the sark.db
Does it get executed from the GUI in any way?

Code: [Select]
INSERT INTO "Appl" VALUES('hotdesk', 'default', 'hotdesk log-onoff', ';
; LOGIN
;
exten=>_*00XX.,1,PlayBack(silence/1)
exten=>_*00XX.,n,VMAuthenticate(${EXTEN:3}|j)
exten=>_*00XX.,n,System(/opt/sark/scripts/aelhdlon.pl login ${EXTEN:3} ${CALLERID(number)})
exten=>_*00XX.,n,Hangup

exten=>_*00XX.,101,Playtones(congestion)

;
; LOGOUT
;
exten=>_*01,1,PlayBack(silence/1)
;exten=>_*01,n,VMAuthenticate(${CALLERID(number)}|j)
exten=>_*01,n,System(/opt/sark/scripts/aelhdlon.pl logout ${CALLERID(number)})
exten=>_*01,n,Hangup

exten=>_*01,101,Playtones(congestion)

;
; LOGOUT FROM ANOTHER EXTENSION
;
exten=>_*02,1,PlayBack(silence/1)
exten=>_*02,n,Read(exten|extension|${EXTLEN}|2)
exten=>_*02,n,PlayBack(thankyou)
exten=>_*02,n,VMauthenticate(${exten}|j)
exten=>_*02,n,System(/opt/sark/scripts/aelhdlon.pl logout ${exten} )
exten=>_*02,n,PlayBack(agent-loggedoff)
exten=>_*02,n,Hangup

exten=>_*02,101,Playtones(congestion)

;
; SUPERVISOR LOGOUT
;
exten=>_*03,1,PlayBack(silence/1)
exten=>_*03,n,Authenticate(3243|j)
exten=>_*03,n,System(/opt/sark/scripts/aelhdlon.pl logout ${CALLERID(number)} )
exten=>_*03,n,Hangup

exten=>_*03,101,Playtones(congestion)

;
; SUPERVISOR LOGOUT FROM ANOTHER TERMINAL
;
exten=>_*04,1,PlayBack(silence/1)
exten=>_*04,n,Read(exten|extension|${EXTLEN}|2)
exten=>_*04,n,PlayBack(thankyou)
exten=>_*04,n,Authenticate(3243|j)
exten=>_*04,n,System(/opt/sark/scripts/aelhdlon.pl logout ${exten} )
exten=>_*04,n,PlayBack(agent-loggedoff)

exten=>_*04,101,Playtones(congestion)

;
; SUPERVISOR RESET A PHONE or VXT USER
;
exten=>_*05,1,PlayBack(silence/1)
exten=>_*05,n,Read(exten|extension|${EXTLEN}|2)
exten=>_*05,n,PlayBack(thankyou)
exten=>_*05,n,Authenticate(3243|j)
exten=>_*05,n,System(/opt/sark/scripts/aelhdlon.pl reset ${exten} )
exten=>_*05,n,PlayBack(agent-loggedoff)

exten=>_*05,101,Playtones(congestion)', NULL, 'Internal');



Offline apmuthu

  • *
  • 244
  • +0/-0
Re: HotDesking
« Reply #1 on: March 16, 2013, 05:23:51 AM »
Thanks Joe for the input on HotDesking.
Quote

hotdesking needs no binary but there is a custom app and a script module called /opt/sark/scripts/aelhdlon.pl which actually handles the clever bits. HD is very cool and works well.

Virtual Extension Concept in SARK:
Quote
In order to deploy hot-desk we define a set of new “VXT” terminal types to the
SARK PBX. VXT terminals behave in exactly the same way as regular
hardware terminals and they can have their own personal or group Voicemail
boxes, with voice-to-email if required. VXT terminals can be mapped and
remapped to different physical end-points via a set of feature codes in SARK.

There are two (2) new codes; a login function and a logout function.
Login (usually *0+VXT_Extension) will cause the automatic re-provisioning of the
hard phone to have the VXT extension's identity (this can include things like
MWI, BLF settings and speed-dials.

Logout (usually *01) will remove a previously assigned VXT identity and set the
underlying phone back to its default extension.

Hotdesking User Guide.

aelhdlon.pl patch and HD sql

« Last Edit: March 16, 2013, 05:39:05 AM by apmuthu »