David
2005-Jun-30 09:48 UTC
[Asterisk-Users] Trying to do very simple Zaptel Config. NO LUCK!
Hi, I am trying to do the world's most simple install. I have a Wildcard TDM400P with 3 ports: 1 FXS on port 1 and 2 FXOs on ports 3 and 4. (i'm not using port 3 for now, put want it for expansion purposes) I simply (to start with) am looking to have the FXS phone ring when an FX0 port is dialed. I would also like to be able to place outgoing calls on the FXS through the FXO. Right now, I'm not interested in SIP or IAX... thats for me to handle later! I have the following *3* files: ***/etc/zaptel.conf*** # Zaptel conf fxoks=1 fxsks=3-4 loadzone=us defaultzone=us ***/etc/asterisk/extensions.conf*** [globals] RECEPTIONIST=Zap/1 LOCALTRUNK=Zap/4 [incoming] exten => s,1,Answer() exten => s,2,Dial($(RECEPTIONIST)) [internal] [outgoing] ignorepat => 9 exten =>_9NXXNXXXXXX,1,Dial(${LOCALTRUNK}/${EXTEN:1}) exten =>_9NXXNXXXXXX,2,Playback(invalid) exten => _9NXXNXXXXXX,3,Hangup ***/etc/asterisk/zapata.conf*** language=en context=default switchtype=national signalling=fxo_ks channel => 1 signalling=fxs_ks channel => 3 channel => 4 Thats my entire setup. I dont get any dialtone on the fxs and the fxo doesnt pick up the phone when it rings. Any ideas what I'm doing wrong? THANKS in advance for your help. David --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050630/82737bf3/attachment.htm
Robert Webb
2005-Jun-30 12:48 UTC
[Asterisk-Users] Trying to do very simple Zaptel Config. NO LUCK!
See messages inline... On Thu, 30 Jun 2005 09:48:51 -0700 (PDT) David <dbw1977@yahoo.com> wrote:> Hi, > I am trying to do the world's most simple install. > > I have a Wildcard TDM400P with 3 ports: 1 FXS on port > 1 and 2 FXOs on ports 3 and 4. (i'm not using port 3 > for now, put want it for expansion purposes) > > I simply (to start with) am looking to have the FXS > phone ring when an FX0 port is dialed. I would also > like to be able to place outgoing calls on the FXS > through the FXO. Right now, I'm not interested in SIP > or IAX... thats for me to handle later! > > I have the following *3* files: > > ***/etc/zaptel.conf*** > # Zaptel conf > fxoks=1 > fxsks=3-4 > loadzone=us > defaultzone=us >Looks as it should...> ***/etc/asterisk/extensions.conf*** > [globals] > RECEPTIONIST=Zap/1 > > LOCALTRUNK=Zap/4 > > [incoming] > exten => s,1,Answer() > exten => s,2,Dial($(RECEPTIONIST)) > > [internal] > > [outgoing] > ignorepat => 9 > exten =>_9NXXNXXXXXX,1,Dial(${LOCALTRUNK}/${EXTEN:1}) > exten =>_9NXXNXXXXXX,2,Playback(invalid) > exten => _9NXXNXXXXXX,3,Hangup >Looks ok at initial glance.. But I did not take the time to really think about what you have..> > ***/etc/asterisk/zapata.conf*** > language=en > context=default > switchtype=national > signalling=fxo_ks > channel => 1 > signalling=fxs_ks > channel => 3 > channel => 4 >Here is where your issue is.. The channel= line signifies the end of any config information for the channel(s) put here. And if you have a config option for an earlier channels and either want it to be different of not exist in a later channel, you must make that know by adding that option for the current channel config. So by what you have above, all three channels are using the "default" context. Try using what I have wriotten below: ***/etc/asterisk/zapata.conf*** language=en context=outgoing signalling=fxo_ks channel => 1 signalling=fxs_ks context=incoming channel => 3,4 The above will direct any incoming calls on channel 3 or 4 to the incoming context in your dial plan. It will also direct any one picking up a phone handset to get dial tone and direct what they dial to the outgoing context. And by your dial plan above, they must use 10 digit dialing. Hope this helps.> > Thats my entire setup. I dont get any dialtone on the > fxs and the fxo doesnt pick up the phone when it > rings. Any ideas what I'm doing wrong? THANKS in > advance for your help. > > David > > > > > --------------------------------- > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football
Moises Silva
2005-Jun-30 12:56 UTC
[Asterisk-Users] Trying to do very simple Zaptel Config. NO LUCK!
first. in zapata.conf you specify context=default for all the channels. Can you show us [default] context???, or may be you wanted to do context=incoming, at least for channels 3 and 4, so when a call is detected to arrive to FXO ports, will get to incoming context and will ring the receptionis. I have no experience with FXS ports, but try what i have just tell you and post how is going so far. best regards On 6/30/05, David <dbw1977@yahoo.com> wrote:> Hi, > I am trying to do the world's most simple install. > > I have a Wildcard TDM400P with 3 ports: 1 FXS on port > 1 and 2 FXOs on ports 3 and 4. (i'm not using port 3 > for now, put want it for expansion purposes) > > I simply (to start with) am looking to have the FXS > phone ring when an FX0 port is dialed. I would also > like to be able to place outgoing calls on the FXS > through the FXO. Right now, I'm not interested in SIP > or IAX... thats for me to handle later! > > I have the following *3* files: > > ***/etc/zaptel.conf*** > # Zaptel conf > fxoks=1 > fxsks=3-4 > loadzone=us > defaultzone=us > > ***/etc/asterisk/extensions.conf*** > [globals] > RECEPTIONIST=Zap/1 > > LOCALTRUNK=Zap/4 > > [incoming] > exten => s,1,Answer() > exten => s,2,Dial($(RECEPTIONIST)) > > [internal] > > [outgoing] > ignorepat => 9 > exten =>_9NXXNXXXXXX,1,Dial(${LOCALTRUNK}/${EXTEN:1}) > exten =>_9NXXNXXXXXX,2,Playback(invalid) > exten => _9NXXNXXXXXX,3,Hangup > > > ***/etc/asterisk/zapata.conf*** > language=en > context=default > switchtype=national > signalling=fxo_ks > channel => 1 > signalling=fxs_ks > channel => 3 > channel => 4 > > > Thats my entire setup. I dont get any dialtone on the > fxs and the fxo doesnt pick up the phone when it > rings. Any ideas what I'm doing wrong? THANKS in > advance for your help. > > David > > > > ________________________________ > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > > _______________________________________________ > 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 > >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
Jason Kawakami
2005-Jun-30 13:04 UTC
[Asterisk-Users] RE: Trying to do very simple Zaptel Config. NO LUCK!
<snip> I have a Wildcard TDM400P with 3 ports: 1 FXS on port 1 and 2 FXOs on ports 3 and 4. (i'm not using port 3 for now, put want it for expansion purposes) I simply (to start with) am looking to have the FXS phone ring when an FX0 port is dialed. I would also like to be able to place outgoing calls on the FXS through the FXO. Right now, I'm not interested in SIP or IAX... thats for me to handle later! I have the following *3* files: ***/etc/zaptel.conf*** # Zaptel conf fxoks=1 fxsks=3-4 loadzone=us defaultzone=us ***/etc/asterisk/extensions.conf*** [globals] RECEPTIONIST=Zap/1 LOCALTRUNK=Zap/4 [incoming] exten => s,1,Answer() exten => s,2,Dial($(RECEPTIONIST)) [internal] [outgoing] ignorepat => 9 exten =>_9NXXNXXXXXX,1,Dial(${LOCALTRUNK}/${EXTEN:1}) exten =>_9NXXNXXXXXX,2,Playback(invalid) exten => _9NXXNXXXXXX,3,Hangup ***/etc/asterisk/zapata.conf*** language=en context=default switchtype=national signalling=fxo_ks channel => 1 signalling=fxs_ks channel => 3 channel => 4 --in Zapata.conf you have your fxs/fxo ports assigned to the [default] context which I don't see in your extensions.conf. So maybe try something like: [default] Ignorepat = 9 ;having this in the outgoing context is not correct Include=outgoing ;note that your outgoing context will only dial LD numbers Exten => 100,1,Dial(${RECEPTIONIST}) Exten => 100,2,Hangup You could also change the Zapata.conf as well to place zap/1 into the [outgoing] context and that should work too. When you load the modules does everything look ok? This assumes that the problem is in the dialplan so if that isn't the case then... Jason Kawakami www.optellabs.com Salt Lake City, UT