Thanks for your last post, I just found out together with a friend that the wiki syntax 'f******' your script due to the missing '
I changed the returning value to 1 being positive and 0 for being negative. Just seemed more logical to me.
As for the script functinality itself... It simply works beautifully!!
I have created a 'HotDesk' dialplan, where there are no (visible device-extensions numbers, but just user numbers. User number are mapped to the device onto wich the user logges on to.
Simply put, walk to a phone, login and that phone is your extension, including voicemail and all other goodies. No need to inform anybody where 'you are at'. Walk to anohter phone and login, you will be automagically logged out of the other device. Logoff ll together and all goes to VM until the next time you login on a device.
Thanks for you great script, it was my missing puzzle piece!