elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

Caller to enter a PIN before connection to queue

Problems and announcements related to Asterisk

Caller to enter a PIN before connection to queue

Postby flubit » Fri Jun 29, 2012 5:53 am

Hello all,

I just wanted to know if there was a way a caller can enter PIN number before the call was connected to a queue/ringgroup.

I'm afraid I don't know anything about behinds the scenes in Asterisk - I know there will be a way of using the Misc Destinations option, but wouldn't know where to start.

Is this something anyway has done or can help me in anyway?

Thanks!
flubit
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 10, 2012 10:34 am
Karma: 0

Re:Caller to enter a PIN before connection to queue

Postby jgutierrez » Wed Jul 04, 2012 5:27 pm

Before going into the queue, does the call comes from an IVR?
Do you need more help? A fast response?
Try our Official Elastix Paid Support Service(English/Español):

http://elx.ec/support
http://elx.ec/supportes

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
User avatar
jgutierrez
Administrator
Administrator
 
Posts: 5291
Joined: Thu Feb 28, 2008 1:37 am
Location: Santiago de Guayaquil - Ecuador
Karma: 230

Re:Caller to enter a PIN before connection to queue

Postby flubit » Thu Jul 05, 2012 4:13 am

Hello,

Thanks for your reply - yes it is coming from an IVR first.

Basically, an incoming call hits an IVR, then after pressing one, I want it to ask for a code before connecting onto a ring group or queue.

Thanks!
flubit
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 10, 2012 10:34 am
Karma: 0

Re:Caller to enter a PIN before connection to queue

Postby jgutierrez » Thu Jul 05, 2012 2:57 pm

What I would do is the following:

1) Create a misc destination, and set on the dial box the following: *001#

2) Go to my IVR, and for option 1, instead of choosing the queue, I would choose the previous created misc destination

3) Edit /etc/asterisk/extensions_custom.conf
[from-internal-custom]
exten => 1234,1,Playback(demo-congrats) ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => agentlogin
include => conferences
include => calendar-event
include => weather-wakeup
exten => *001#,1,Authenticate(007)
exten => *001#,n,Goto(ext-queues,503,1)


4) Execute:
asterisk -rx "module reload"

Where 007 will be the password, and 503 represents the queue number
Do you need more help? A fast response?
Try our Official Elastix Paid Support Service(English/Español):

http://elx.ec/support
http://elx.ec/supportes

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
User avatar
jgutierrez
Administrator
Administrator
 
Posts: 5291
Joined: Thu Feb 28, 2008 1:37 am
Location: Santiago de Guayaquil - Ecuador
Karma: 230

Re:Caller to enter a PIN before connection to queue

Postby flubit » Wed Jul 11, 2012 9:58 am

jgutierrez,

Thank you very much! I will give this a try and report back :)
flubit
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 10, 2012 10:34 am
Karma: 0

Re:Caller to enter a PIN before connection to queue

Postby flubit » Wed Jul 11, 2012 10:57 am

This works perfectly! Thank you very much!

My next question is, can I have more than one code for the same queue? Not an issue if not, just be very handy.

Thanks so much once again!
flubit
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 10, 2012 10:34 am
Karma: 0


Return to Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest