Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We run an asterisk-based PBX, with FreePBX front end, configured in 'device and user mode' to support hot desking users. That is, a user arrives and sits at any desk, keys *11 into the phone (Cisco 7900 series) and logs in with their extension number and PIN. From that point, the user's calls arrive at that phone. When the user is done, they log off by keying *12 and their calls go to voicemail from that point.

What would be handy is if we could automate this login process, so that the users is automatically logged into a phone when they log into Windows. The PCs and phones are permanently assigned to desks, so I can work out which phone to use based on the PC thats being logged into. The user's extension number is stored in Active Directory and I always set the PIN the same as the extension number, so I have all the information necessary.

So what I need is some code that runs on windows, possibly in the login script, and connects the user to their phone.

Does anyone have anything like this?

share|improve this question

1 Answer 1

You can create desktop application to be runned at user's login.

In that aplication you can login user using astirisk AMI interface.

If application is too complex for you, you can create auto-expect script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.