How to create agent ID to login to queue

Hi All,

i would like to ask how we create agent login id and login into queue. my environment dont have call centre module and want to make it agent free seating. agent allow to seat any extension and force them login with their own agent ID, so that we can track it by agent ID with reporting. hope you all can advise.

That’s going to require User/Device mode which is not supported really by FreePBX. You can use it but nothing is really designed for it.

You can use *45 (se wiki) every login/off is being logged in the queue log located in /var/log/asterisk/

I has been configure device and user mode. after press *11 then will ask me enter extension and press pound. after I entered the extension, it response to me my extension is not valid. below is the log file.

– Executing [*11@from-internal:1] Macro (" SIP/8888-0000000d ", " user-logon, ") in new stack

– Executing [s@macro-user-logon:1] Set (" SIP/8888-0000000d ", " DEVICETYPE=adhoc ") in new stack

– Executing [s@macro-user-logon:2] Answer (" SIP/8888-0000000d ", “”) in new stack

– Executing [s@macro-user-logon:3] Wait (" SIP/8888-0000000d ", " 1 ") in new stack

> 0x7f465c032120 – Strict RTP switching source address to 192.168.0.158:8000

== Manager ‘admin’ logged on from 127.0.0.1

== Manager ‘admin’ logged off from 127.0.0.1

> 0x7f465c032120 – Strict RTP learning complete - Locking on source address 192.168.0.158:8000

– Executing [s@macro-user-logon:4] GotoIf (" SIP/8888-0000000d ", " 0?s-FIXED,1 ") in new stack

– Executing [s@macro-user-logon:5] Set (" SIP/8888-0000000d ", " AMPUSER= ") in new stack

– Executing [s@macro-user-logon:6] GotoIf (" SIP/8888-0000000d ", " 0?gotpass ") in new stack

– Executing [s@macro-user-logon:7] Read (" SIP/8888-0000000d ", " AMPUSER,please-enter-your-extension-then-press-pound,4 ") in new stack

– <SIP/8888-0000000d> Playing ‘please-enter-your-extension-then-press-pound.slin’ (language ‘en’)

== Manager ‘admin’ logged on from 127.0.0.1

== Manager ‘admin’ logged off from 127.0.0.1

– User entered ‘5000’

– Executing [s@macro-user-logon:8] GotoIf (" SIP/8888-0000000d ", " 0?s-MAXATTEMPTS,1 ") in new stack

– Executing [s@macro-user-logon:9] GotoIf (" SIP/8888-0000000d ", " 1?s-NOUSER,1 ") in new stack

– Goto (macro-user-logon,s-NOUSER,1)

– Executing [s-NOUSER@macro-user-logon:1] NoOp (" SIP/8888-0000000d ", " Invalid extension 5000 entered ") in new stack

– Executing [s-NOUSER@macro-user-logon:2] Playback (" SIP/8888-0000000d ", " pbx-invalid ") in new stack

– <SIP/8888-0000000d> Playing ‘pbx-invalid.gsm’ (language ‘en’)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.