Queue module - Login/Logoff quickfix

rygelski
Posts: 1
Member Since:
2007-01-12

I have had nothing but trouble integrating queue member login and logoff with the Queue module "feature codes" *11 and *12 always rejecting my call with "Phone XXX is currently unavailable. Goodbye." And I'm aware that I can call the queue number followed by * or ** to control things that way, but some of my phones don't like that dialplan change. Therefore, I've written a quickfix change that I am hoping will be integrated into the Queue module on the next update as this, to me and my employees, seems to be the fastest and best method.

To login: dial *51+queue number
To logoff: dial *50+queue number

Now you can setup speed dial keys on the phone sets for these shortcuts. Probably could expand with prompting if only enter *50 or *51 without following digits, but I didn't feel like adding all that. Could we now please agree to fix the Queues module with something this simplistic instead of whatever *11 and *12 are now failing to do??

; fix for queue login problem, add this to extensions_custom.conf
exten => *50,1,Playback(that-is-not-rec-phn-num)
exten => *50,n,Playback(please-try-again)
exten => *50,n,SayDigits(${EXTEN})
exten => *50,n,Hangup
exten => _*50.,1,Wait(1)
exten => _*50.,2,RemoveQueueMember(${EXTEN:3})
exten => _*50.,n,SayDigits(${CALLERID(number)})
exten => _*50.,n,Playback(agent-loggedoff)
exten => _*50.,n,SayDigits(${EXTEN:3})
exten => _*50.,n,Hangup
exten => _*50.,103,Playback(num-not-in-db)
exten => _*50.,n,SayDigits(${EXTEN:3})
exten => _*50.,n,Playback(please-try-again)
exten => _*50.,n,Hangup
exten => *51,1,Playback(that-is-not-rec-phn-num)
exten => *51,n,Playback(please-try-again)
exten => *51,n,SayDigits(${EXTEN})
exten => *51,n,Hangup
exten => _*51.,1,Wait(1)
exten => _*51.,2,AddQueueMember(${EXTEN:3})
exten => _*51.,n,SayDigits(${CALLERID(number)})
exten => _*51.,n,Playback(agent-loginok)
exten => _*51.,n,SayDigits(${EXTEN:3})
exten => _*51.,n,Hangup
exten => _*51.,103,Playback(warning)
exten => _*51.,n,SayDigits(${CALLERID(number)})
exten => _*51.,n,Playback(is-currently)
exten => _*51.,n,Playback(in-the-queue)
exten => _*51.,n,SayDigits(${EXTEN:3})
exten => _*51.,n,Playback(please-try-again)
exten => _*51.,n,Hangup



bdis
Posts: 95
Member Since:
2007-01-04
I like this allot!

I like this allot!



Yondaime
Posts: 24
Member Since:
2007-05-31
You'll need to enable user

You'll need to enable user logins on FreePBX to use the *11 and *12 feature codes. Find this line on /etc/amportal.conf:

AMPEXTENSIONS=extensions

And change it to this:

AMPEXTENSIONS=deviceanduser

Restart Asterisk, and you should be able to see the Devices and Users links in lieu of Extensions. Create your users, and then your devices. Set Device Type = Adhoc to all the devices which needs a user login.

--

Erol M. Fornoles



trixboxing
Posts: 19
Member Since:
2007-08-16
Did that - didn't work

Erol,

I changed AMPEXTENSIONS as you suggested and set device type to Adhoc and still *11 and *12 did not work. Is there another step?

Cliff



Nate
Posts: 21
Member Since:
2007-08-31
I am also very interested in

I am also very interested in the solution to this problem. I would like for users to join/leave the queues at the ends of their shifts. Any suggestions for Trixbox CE users?

--

Nate
Charlotte, NC



billetkontoret
Posts: 70
Member Since:
2007-03-24
Problem with this script

Hi!
I am using this script for all my users (60) in my company. It is working great, but sometimes errors happen.
This interface: 'Local/*513030@from-internal' sometimes becomes a member of the queue 3030. *513030 is coded as speeddial on all the phones. Maybe the error occures when several people login at the same time?
Please advise.

Thanks

--

Thanks

/Soren



cwingfield
Posts: 13
Member Since:
2008-03-05
Bump? I am having the same

Bump? I am having the same issue and cannot get it to work as well.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.