Cleaned up version of my own resolution to posting in help section of forum.
Clean 2.6 install
Updates and FreePBX Modules Installed
From the CLI navigate to the following location /etc/asterisk
With your prefered editor ( i like vi ) open amportal.conf and find the following:
# AMPEXTENSIONS: the type of view for extensions admin
# If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices.
# If set to 'extensions' Devices and Users will me administered in a single screen.
AMPEXTENSIONS=extensions
Change the value from extensions to deviceanduser like so:
AMPEXTENSIONS=deviceanduser
Save and exit.
Now we need to restart asterisk and amportal.
From CLI i use the following command
amportal restart
Now login to the webui, and create a user
Complete the form to your needs
Be sure that you supply a password in the User Password field.
Now that we have a user, submit the changes.
Now we need to create a device.
Under Device Options:
Provide a password
Under Device Info
Supply a device ID and Description
For device type, select Adhoc
For default user select none
Now that we have a device, submit the changes and reload.
Tada! the user and device has been created. Now, onto the queue.
For creation of the Queue, please refer here http://freepbx.org/support/documentation/module-documentation/que...
Back already or already know how to make a queue? Cool you rock! Let's continue.
Now, place the ID of the USER into the static agents field.
Now that we have a queue, submit the changes and reload.
Now, lets try it out!
On the Device, place a call to *11, when prompted, enter your USER Extension, next it will ask for a password, enter the USER password.
Voila! Your User is now an Agent in the Queue.
To logout, simply dial *12
So, with this configuration you should have a device that a user can login or out of at will.
---------------------------------------------------------------------------------------------
Awesome Factor:4 out of 5. Why?
You can assign a dynamic agent to more that one queue. Try it!
Hot desking: This allows a single user to have multiple devices with the same phone number. It also allows a single device to be used by multiple users in a hot desk style environment, where a user logs into the device resulting in it becoming their phone.
Tip:
Don't create the user extension and device id in the same range of numbers, it could confuse the simple minded folk :)
---------------------------------------------------------------------------------------------
References:
http://www.freepbx.org/support/documentation/module-documentation...
http://freepbx.org/support/documentation/module-documentation/que...