firedude@shorelinuxsolutions.com
2003-Jun-08 17:19 UTC
[Asterisk-Users] zapata.conf and zaptel.conf
Can anyone explain to me the difference in zaptel.conf and zapata.conf? I'm trying to get a real clear understanding of them but its getting a little murky in places. I will be setting up a PBX running asterisk with 2 T100P cards. I will be bringing a 23 channel PRI into one card and connecting the other card to a Nortell 24 channel FXS channel bank. As I understand it zapata.conf is how I configure my channels much like IAX.conf or SIP.conf. Where I'm a bit confused is I think I'm understanding it configures the PRI channels but the channel bank channels as well. Would this be correct? If this is the case how does zaptel.conf come in to play? If I'm understanding it correctly, zaptel.conf is used to configure the T100 cards? I'm a little bit lost here. What exactly would I be configuring here? Just telling it what type of cards they are? Sorry for such stupid questions but I'm a telephony newbie. Taking a big plunge here. I'm going straight from kindergarden to college. Again thanks all. AJ
You configure zaptel.conf since zaptel interface drives the boards. In general you can configure the hardware part (dchannels, clear channels - dchannel needs to be run in HDLC mode, circuit timing, framing, etc) Zapata.conf belongs to asterisk and you need to tell asterisk which channels to use and what signalling to configure it with. Your config will propably be: zaptel.conf span=1,1,0,esf,b8zs span=2,0,0,esf,b8zs bchan=1-23 dchan=24 fxoks=25-48 loadzone=us defaultzone=us zapata.conf [channels] signalling=pri_cpe switchtype=national group = 1 context = incoming channel => 1-23 signalling=fxo_ks group = 2 context = internal callerid = <1000> channel => 25-48 Notice that I skipped many other settings that you propably need to familiarise yourself with (look in zapata.conf.sample) regards Martin On Sun, 8 Jun 2003 firedude@shorelinuxsolutions.com wrote:> Can anyone explain to me the difference in zaptel.conf and zapata.conf? > I'm trying to get a real clear understanding of them but its getting a > little murky in places. I will be setting up a PBX running asterisk with > 2 T100P cards. I will be bringing a 23 channel PRI into one card and > connecting the other card to a Nortell 24 channel FXS channel bank. As I > understand it zapata.conf is how I configure my channels much like > IAX.conf or SIP.conf. Where I'm a bit confused is I think I'm > understanding it configures the PRI channels but the channel bank channels > as well. Would this be correct? If this is the case how does zaptel.conf > come in to play? If I'm understanding it correctly, zaptel.conf is used to > configure the T100 cards? I'm a little bit lost here. What exactly would > I be configuring here? Just telling it what type of cards they are? Sorry > for such stupid questions but I'm a telephony newbie. Taking a big plunge > here. I'm going straight from kindergarden to college. Again thanks all. > AJ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
zaptel.conf configures the kernel space driver zapata.conf configures the user space application (asterisk) that implements the kernel driver for a PRI a zaptel.conf could simply look like: bchan=1-23 dchan=24 Jeremy McNamara firedude@shorelinuxsolutions.com wrote:>Can anyone explain to me the difference in zaptel.conf and zapata.conf? >I'm trying to get a real clear understanding of them but its getting a >little murky in places. I will be setting up a PBX running asterisk with >2 T100P cards. I will be bringing a 23 channel PRI into one card and >connecting the other card to a Nortell 24 channel FXS channel bank. As I >understand it zapata.conf is how I configure my channels much like >IAX.conf or SIP.conf. Where I'm a bit confused is I think I'm >understanding it configures the PRI channels but the channel bank channels >as well. Would this be correct? If this is the case how does zaptel.conf >come in to play? If I'm understanding it correctly, zaptel.conf is used to >configure the T100 cards? I'm a little bit lost here. What exactly would >I be configuring here? Just telling it what type of cards they are? Sorry >for such stupid questions but I'm a telephony newbie. Taking a big plunge >here. I'm going straight from kindergarden to college. Again thanks all. >AJ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >