Multiple auto attendant

Hi guys

Any tips on how to setup Asterisk to have multiple auto attendant? as we are trying to use asterisk for a call center environment where the callers will get their company’s auto attendant menus and hold music


easy. put different attendants in different contexts, just change the sip.conf entries… for one company go to one context, another company goes to another.

If you have trunk lines ie PRI, you can also use some dialplan logic and the DNID to do that, use GotoIf. (if the dnid = (something), goto company1,s,1. If dnid = (somethingelse), goto company2,s,1)

Iron Helix,

can you post a sample config file for me?


what you need to do is set up your incoming routing rules to use different IVR’s…it’s really not hard at all.

let’s say you have two ‘divisions’, one at 555-555-5555 and the other at 666-666-6666. if you were receiving the full 10-digit ANI, you’d have extensions.conf set up like this:

[code]exten => 5555555555,1,Goto(COMPANY1-IVR,s,1)
exten => 6666666666,1,Goto(COMPANY2-IVR,s,1)

exten => s,1,Background(company1-greeting)
exten => 1,1,Queue(COMPANY1-QUEUE)
exten => 2,1,Goto(COMPANY1-SALES,s,1)
exten => 3,1,Directory

exten => s,1,Background(company2-greeting)
exten => 101,1,Dial(SIP/101)…
exten => 102,1,Dial(IAX/102)…
exten => 0,1,Goto(COMPANY2-OPERATOR-MENU,s,1)[/code]

this is all made up stuff, but you can see how the two IVR menus are different - all you need to do is differentiate between the inbound numbers and route accordingly. this structure is very similar to what we use in our companies, and each company has two divisions that we separate in much the same way. if you break apart your internal extension routings into various contexts, you can include certain contexts in the IVR context to allow direct dialing of certain individuals only…

hopefully this helps.