INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Asterisk 13 CLI - Call routing to Queue or IVR

Asterisk 13 CLI - Call routing to Queue or IVR

(OP)
Hi,

Can someone tell me the context to routing inbound calls from a trunk/DDI to a call queue (assign a Queue or IVR a DDI to call basically).

My call queue is setup in queues.conf and works, it has an internal number of 6400 (which works if I dial it) however I have tried mapping a DDI in extensions.conf to the 6400 number and it fails.
I get results such as: "Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)" or "Dial argument takes format (technology/resource)".

This makes sense as there is nothing to dial, or my dialplan entry is incorrect I have added the extension in SIP.conf also to try and bypass.

Could someone help me understand what needs to be done here - it could be queue or IVR whichever suits best. I am finding the online documentation un-helpful.

Thanks,

RE: Asterisk 13 CLI - Call routing to Queue or IVR

eddy123,

I can help with this. Did you ever figure it out?

I'll assume that the telco is giving you say 4 digits for your DID. I'll further assume that those 4 digits are 1234 just for example sake. I'll also assume that the context in which you have the working queue at an extension of 6400 is called something like [queue]. One final assumption, the incoming DID has it's context set to [incoming]. Obviously change those values to whatever your system is actually set to in order for this to work.

CODE -->

[incoming]

exten => 1234,1,Goto(queue,6400,1) 

That's all there is to it. You can, go much further than that but I think that fixes the problem you're asking about as simply as possible. Let me know if this helps and if you'd like some more examples of how you could do this.
-Drew

RE: Asterisk 13 CLI - Call routing to Queue or IVR

(OP)
Hi Drew,

Thanks for responding and yes I achieved this with (I have x'd out my DID for obvious reasons):

[from-trunk]
exten=>xxxxxxxxxxx,1,Answer
exten=>xxxxxxxxxxx,n,Goto(digitalreceptionist,s,1)
exten=>xxxxxxxxxxx,n,Hangup

Digital receptionist being:

[digitalreceptionist]
exten => s,1,Answer()
exten => s,n,Background(asteriskIVR2)
exten => s,n,WaitExten(5)
exten => s,n,Hangup()

If there are any additional points you would like to add please feel free.

Thanks.

RE: Asterisk 13 CLI - Call routing to Queue or IVR

Good deal. Glad you were able to make it work. I will say that I don't see a queue in there anywhere or for that matter anything that dials a phone. I'm assuming it's just not been added to the example. Sorry for the late response, the site normally tells me when something I've commented on was replied to but I didn't get anything.

www.ghtrout.net

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close