Hi, Let me explain a little about our system here first. We have a Digium TE110P card hooked up to an isdn 30 line. (Australia - EuroISDN) This works fine. We also have a Digium TDM400P with 2 FXS modules installed. (The green modules) The /etc/zaptel.conf file has nothing but the following in it. -=-=-=- span=1,1,1,ccs,hdb3,crc4 dchan=16 bchan=1-15,17-31 defaultzone=au loadzone=au ##tdm card fxoks=33-34 -=-=-=- The /etc/asterisk/zapata.conf has been stripped down to include only the following. -=-=-=- [trunkgroups] [channels] language=en rxwink=300 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=yes faxdetect=both jitterbuffers=24 signalling=pri_cpe switchtype=euroisdn echocancel=yes echocancelwhenbridged=yes echotraining=400 context=default channel => 1-15,17-31 ; Set this to 1-15,17-31 for E1 signalling=fxs_ks context=uniware_sendfax channel =>33-34 -=-=-=- What we want to be able to do is plug a standard telephone into an fxs port on the tdm card, and have it get a line from the E1 when the handset is picked up. The problem is that when the handset is picked up, the phone automatically gets picked up by asterisk as an incoming call, and the call is managed by the incoming call part of the extensions.conf. IE: the part of the extensions.conf with the following line. Exten => s,1,MakeReceptionPhoneRing. This is fantastic if I needed an instant dial to chat with our receptionist. What I was expecting was that it would go to the part in the extensions.conf where it detects the numbers dialed. Ie: exten => _NXXXXXXX,1,Dial(Zap/g1/${EXTEN}|20,t) Thus allowing us to dial a number and have asterisk direct it to the appropriate outgoing line. I could possibly be going about this completely the wrong way. Ideally I would have thought that a bridge between cards was possible outside of asterisk. Any ideas or thoughts on this would be appreciated. --Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060330/b9fc5656/attachment.htm
pdhales@optusnet.com.au
2006-Mar-30 16:42 UTC
[Asterisk-Users] Config TE110P and TDM400 with 2 FXS modules
WaitExten perhaps? Paul Hales Technical Manager AsteriskIT> Dennis <dennis@uniware.com.au> wrote: >Hi, Let me explain a little about our system here first. We have a Digium TE110P card hooked up to an isdn 30 line. (Australia - EuroISDN) This works fine. We also have a Digium TDM400P with 2 FXS modules installed. (The green modules) The /etc/zaptel.conf file has nothing but the following in it. -=-=-=- span=1,1,1,ccs,hdb3,crc4 dchan=16 bchan=1-15,17-31 defaultzone=au loadzone=au ##tdm card fxoks=33-34 -=-=-=- The /etc/asterisk/zapata.conf has been stripped down to include only the following. -=-=-=- [trunkgroups] [channels] language=en rxwink=300 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=yes faxdetect=both jitterbuffers=24 signalling=pri_cpe switchtype=euroisdn echocancel=yes echocancelwhenbridged=yes echotraining=400 context=default channel => 1-15,17-31 ; Set this to 1-15,17-31 for E1 signalling=fxs_ks context=uniware_sendfax channel =>33-34 -=-=-=- What we want to be able to do is plug a standard telephone into an fxs port on the tdm card, and have it get a line from the E1 when the handset is picked up. The problem is that when the handset is picked up, the phone automatically gets picked up by asterisk as an incoming call, and the call is managed by the incoming call part of the extensions.conf. IE: the part of the extensions.conf with the following line. Exten => s,1,MakeReceptionPhoneRing. This is fantastic if I needed an instant dial to chat with our receptionist. What I was expecting was that it would go to the part in the extensions.conf where it detects the numbers dialed. Ie: exten => _NXXXXXXX,1,Dial(Zap/g1/${EXTEN}|20,t) Thus allowing us to dial a number and have asterisk direct it to the appropriate outgoing line. I could possibly be going about this completely the wrong way. Ideally I would have thought that a bridge between cards was possible outside of asterisk. Any ideas or thoughts on this would be appreciated. --Dennis
Paul Liew
2006-Mar-30 18:07 UTC
[Asterisk-Users] Config TE110P and TDM400 with 2 FXS modules
Hi Dennis, You need to add "immediate=no" before your channel assignment; asterisk will then give you a dialtone when you pick up the handset. Also the context "uniware_sendfax" must have the pattern match and associated zap dial that you need. HTH. Cheers, Paul www.austechpartnerships.com t) +61 (0)3 9221 0888 SIP) 9999@sip.austechpartnerships.com IAX) 9999@sip.austechpartnerships.com IAXtel) 1700-482-8273 ATP Centrex) 9999 Dennis wrote:> > signalling=fxs_ks > > context=uniware_sendfax > > channel =>33-34 > > -=-=-=- > > > > What we want to be able to do is plug a standard telephone into an fxs > port on the tdm card, and have it get a line from the E1 when the > handset is picked up. > > > > exten => _NXXXXXXX,1,Dial(Zap/g1/${EXTEN}|20,t) > > >
Hi, Thanks for that Paul, it has solved that problem at least. In doing so however it broke the incoming calls on the other card. To fix this we need both immediate=yes set before the TE110P channels, and then immediate=no after that but before the TDM channel assignment. It all works for now, but is this how the configuration for these files is meant to be? Either way, thanks for your help. This has had me completely confused for several days now. Regards, Dennis Corp Uniware Pty Ltd. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Paul Liew Sent: Friday, 31 March 2006 12:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Config TE110P and TDM400 with 2 FXS modules Hi Dennis, You need to add "immediate=no" before your channel assignment; asterisk will then give you a dialtone when you pick up the handset. Also the context "uniware_sendfax" must have the pattern match and associated zap dial that you need. HTH. Cheers, Paul www.austechpartnerships.com t) +61 (0)3 9221 0888 SIP) 9999@sip.austechpartnerships.com IAX) 9999@sip.austechpartnerships.com IAXtel) 1700-482-8273 ATP Centrex) 9999 Dennis wrote:> > signalling=fxs_ks > > context=uniware_sendfax > > channel =>33-34 > > -=-=-=- > > > > What we want to be able to do is plug a standard telephone into an fxs > port on the tdm card, and have it get a line from the E1 when the > handset is picked up. > > > > exten => _NXXXXXXX,1,Dial(Zap/g1/${EXTEN}|20,t) > > >_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users