C. Hatton Humphrey
2005-Sep-15 09:04 UTC
[Asterisk-Users] Seperate Incoming calls on TDM02?
I have a TDM02B to bring in two POTS lines for my incoming calls; I need to point each line to a different IVR... is there somewhere that can I can look to get this setup working? Basically, each line is for a different business. I know that for a DID the routing is simple but I'm not seeing where I can match up a DID with a Zap channel. I'm currently looking into the zapata.conf file to do this as it is my understanding that the control can be taken care of there. My system is running A@H 1.5. Help! Hatton
On Thu, Sep 15, 2005 at 12:04:41PM -0400, C. Hatton Humphrey wrote:> I have a TDM02B to bring in two POTS lines for my incoming calls; I > need to point each line to a different IVR... is there somewhere that > can I can look to get this setup working? > > Basically, each line is for a different business. I know that for a > DID the routing is simple but I'm not seeing where I can match up a > DID with a Zap channel. > > I'm currently looking into the zapata.conf file to do this as it is my > understanding that the control can be taken care of there. My system > is running A@H 1.5.Yeah, in your zapata.conf just give each channel a different context setting. -- Matthew Fredrickson
There may be a better way, but you can use the incoming call settings in asterisk to point the first line at the first IVR. Then, if you search the archives, you will find a post by me regarding custom incoming routing and AMP, which describes how I did it. Be sure to read the whole thread, because my initial post had some errors in it. Tom On Sep 15, 2005, at 12:04 PM, C. Hatton Humphrey wrote:> I have a TDM02B to bring in two POTS lines for my incoming calls; I > need to point each line to a different IVR... is there somewhere that > can I can look to get this setup working? > > Basically, each line is for a different business. I know that for a > DID the routing is simple but I'm not seeing where I can match up a > DID with a Zap channel. > > I'm currently looking into the zapata.conf file to do this as it is my > understanding that the control can be taken care of there. My system > is running A@H 1.5. > > Help! > Hatton > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
C. Hatton Humphrey
2005-Sep-16 17:37 UTC
Fwd: [Asterisk-Users] Seperate Incoming calls on TDM02?
> I have 4 FXO ports, 2 on one number and 2 on another and want to have > different incoming rules\IVR depending upon channel called. > Is it as simple as changing the contexts in the zapata.conf or is there more > to it.Here is what my experience was. Understand when reading it that I am running Asterisk@Home version 1.5. I have 6 VoIP DIDs, two point to one auto attendant (aa_1 in my dialplan as created by AAH), two point to a second IVR (aa_2 in my dialplan as created by AAH) and the last two point to a direct extension. The "From PSTN" rules point all incoming calls to aa_1. AAH includes a "context=" in the main zapata.conf file. The rules for zapata are odd, basically you define a set of parameters and load it into a channel. If you don't redefine them and create another channel the parameters already set are included in the second channel. Therefore you can set the main setting parameters once and then change things as needed. The other thing that gets created by AAH is a file called zapata-auto.conf; this file is created by the "genzaptel" script and automatically sets your Zaptel channels up. If you open this script you'll see each of your incoming ports with a parameter setting of "context=from_pstn". What I did (against the suggestion of the file) was change the context in the zapata-auto.conf file to point to the correct IVR. The point that I missed originally that I figured out was that the reload command in asterisk does NOT redefine the channels. You have to execute a "restart" command, either "restart now" or "restart when convenient". That will reread the zapata.conf file and redefine the zaptel channels. Hope this helps, Hatton