[Asterisk-Users] RE: Autoattendant Configuration

John Blackman jblackman1 at nc.rr.com
Thu Aug 12 07:52:57 MST 2004


Leif,

Thanks for your response!!

I kept researching and I found a partial solution.  I ended up changing
my autoattendant section so it looks like this:

[mainmenu]
;include => default    (*btw: you probably shouldn't do this*)
exten => 5551212,1,Dial(SIP/6201,20)
exten => 5551213,1,Dial(SIP/6203,20)
exten => s,1,Answer
exten => s,2,Background(/var/lib/asterisk/sounds/initial_greeting)
exten => 5,1,Directory(default)
exten => fax,1,Dial(SIP/6204,20)
exten => t,1,Goto(mainmenu,s,1)
exten => i,1,Playback(invalid)

This causes calls that come in via IAX to get forwarded the way I want
them to, but it does not cause calls on the physical zap interfaces to
get forwarded to the SIP extensions (they still go to the
autoattendant).  I was looking on the wiki and it said check the debug
files to find out how many digits are passing from the phone company.  I
did an asterisk -vvvvvvr and I can't see the digits on any interface.  I
discovered how to make the IAX part work by just trying 4, 7, 10, and 11
digits until I figured out how it works.

The DID portion also works now, since I made changes based on your
response.  The only portion that is lacking is having the zap interfaces
work.  I have two phone lines at home, but I can't afford to have the
phone company upgrade them to a trunk group.  I would like to have my
wife's number go to her SIP phone and my number go to my SIP phone.

I believe I may need to make changes in zapata.conf to do what I want. 
I read the stuff on the wiki, but I can't understand it enough to figure
out how to configure zapata.conf.  I think I need to put my zap/3-1 and
zap/4-1 into separate contexts for inbound calls, but I also want to
leave them in g1 for outbound calls.  I see the mention of separate
contexts within zapata.conf, but I can't find an example anywhere.

I would just experiment to figure it out, but my wife screams if I take
her phone out of service and I expect this could take me days to figure
out.  :-)

Best Regards,


John






More information about the asterisk-users mailing list