Hello, I have searched google, read everything on the mailing list, read /usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), asked on the IRC channel and I cannot figure out what is wrong with my IAX2 trunk. Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls on trunk to asterisk 2 (show channels does show the calls). If I do "iax2 show trunk" on asterisk2 it says 7 calls on trunk to asterisk1. I am using GSM and when I look at the traffic using iptraf with 7 calls active from asterisk1 (analog phones TDM400P) to ASTERISK2 Milliwatt() I see asterisk1 transmiting at a little more than 30k above what asterisk2 is transmitting. I have tried peer/friend, notransfer(?),registration/no registration and nothing about the trunking issue changes. Here is my config, some please tell me what I am doing wrong. <ASTERISK1> iax.conf [anistone] type=peer (friend/peer) host=172.16.1.5 (with and without this statement) secret=test2 context=local2 (with and without this statement) trunk=yes extensions.conf exten => 61,1,Dial(IAX2/gateway:test@172.16.1.5/60@anistone) <ASTERISK2> iax.conf [gateway] (I have tried it with this also named anistone) type=peer (friend/peer) host=172.16.1.232 (I have tried it with and without this statement) secret=test context=anistone (with and without this statement) trunk=yes extensions.conf exten => 60,1,Milliwatt() Brian J. Schrock Anistone Technologies, LLC 6926 Avery Rd. Dublin, OH 43017 Phone: 614-798-9106
Louis-David Mitterrand
2003-Nov-06 23:59 UTC
[Asterisk-Users] Re: IAX2 trunking on one side only.
On Thu, Nov 06, 2003 at 10:41:15PM -0500, Brian Schrock wrote:> Hello, > > I have searched google, read everything on the mailing list, read > /usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), asked on > the IRC channel and I cannot figure out what is wrong with my IAX2 trunk. > > Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 > trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls on trunkDo you have a zaptel device on each side? AFAIR zaptel timing is required for trunking to work. -- If Galileo is the spark that lights up the gas giant Jupiter, turning it into a second sun, that will be the last straw. We will then have no choice but to make safety the number one priority at NASA. -- falsification on /.
Olle E. Johansson
2003-Nov-07 14:02 UTC
[Asterisk-Users] Re: IAX2 trunking on one side only.
Louis-David Mitterrand wrote:> On Thu, Nov 06, 2003 at 10:41:15PM -0500, Brian Schrock wrote: > >>Hello, >> >>I have searched google, read everything on the mailing list, read >>/usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), asked on >>the IRC channel and I cannot figure out what is wrong with my IAX2 trunk. >> >>Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 >>trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls on trunk > > > Do you have a zaptel device on each side? AFAIR zaptel timing is > required for trunking to work. >We have to rename "Zaptel timing" to "Asterisk timer", which is more correct since there are several ways of getting a timer to work, only one of them is by using Zaptel cards. http://www.voip-info.org/tiki-index.php?page=Asterisk+timer /Olle
Steven Critchfield
2003-Nov-07 14:22 UTC
[Asterisk-Users] Re: IAX2 trunking on one side only.
On Fri, 2003-11-07 at 15:02, Olle E. Johansson wrote:> Louis-David Mitterrand wrote: > > On Thu, Nov 06, 2003 at 10:41:15PM -0500, Brian Schrock wrote: > > > >>Hello, > >> > >>I have searched google, read everything on the mailing list, read > >>/usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), asked on > >>the IRC channel and I cannot figure out what is wrong with my IAX2 trunk. > >> > >>Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 > >>trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls on trunk > > > > > > Do you have a zaptel device on each side? AFAIR zaptel timing is > > required for trunking to work. > > > We have to rename "Zaptel timing" to "Asterisk timer", which is more correct > since there are several ways of getting a timer to work, only one of them > is by using Zaptel cards. > > http://www.voip-info.org/tiki-index.php?page=Asterisk+timerActually it needs to be zapata timing. The other drivers just make a zapata compatible timing source that asterisk can use. -- Steven Critchfield <critch@basesys.com>
Olle E. Johansson
2003-Nov-07 15:04 UTC
[Asterisk-Users] Re: IAX2 trunking on one side only.
Steven Critchfield wrote:>>We have to rename "Zaptel timing" to "Asterisk timer", which is more correct >>since there are several ways of getting a timer to work, only one of them >>is by using Zaptel cards. >> >>http://www.voip-info.org/tiki-index.php?page=Asterisk+timer > > > Actually it needs to be zapata timing. The other drivers just make a > zapata compatible timing source that asterisk can use.Is the zapata timer superior to the ztdummy and ztrtc drivers, or are they, from an Asterisk point of view, compatible? /Olle
I sent this yesterday, but for some reawson it did not go through. Yes, ASTERISK1 = 2x TDM400P ASTERISK2 = 3x X100P I still cannot get it working past that. Is there something screwey with the wcfxs drivers and Linux? ----- Original Message ----- From: "Louis-David Mitterrand" <vindex@apartia.org> To: <asterisk-users@lists.digium.com> Sent: Friday, November 07, 2003 1:59 AM Subject: [Asterisk-Users] Re: IAX2 trunking on one side only.> On Thu, Nov 06, 2003 at 10:41:15PM -0500, Brian Schrock wrote: > > Hello, > > > > I have searched google, read everything on the mailing list, read > > /usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), askedon> > the IRC channel and I cannot figure out what is wrong with my IAX2trunk.> > > > Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 > > trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls ontrunk> > Do you have a zaptel device on each side? AFAIR zaptel timing is > required for trunking to work. > > -- > If Galileo is the spark that lights up the gas giant Jupiter, turning it > into a second sun, that will be the last straw. We will then have no > choice but to make safety the number one priority at NASA. > -- falsification on /. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
I seem to have the same problem now, were you able to resolve this ? joachim. At 22:41 6/11/2003 -0500, you wrote:>Hello, > >I have searched google, read everything on the mailing list, read >/usr/src/asterisk/README.iax and /usr/src/asterisk/doc/iax.txt(?), asked on >the IRC channel and I cannot figure out what is wrong with my IAX2 trunk. > >Only asterisk2 of an <ASTERISK1>--LAN--<ASTERISK2>--PSTN will use IAX2 >trunking. If I do an "iax2 show trunk" on asterisk1 it says 0 calls on trunk >to asterisk 2 (show channels does show the calls). If I do "iax2 show trunk" >on asterisk2 it says 7 calls on trunk to asterisk1. I am using GSM and when >I look at the traffic using iptraf with 7 calls active from asterisk1 >(analog phones TDM400P) to ASTERISK2 Milliwatt() I see asterisk1 transmiting >at a little more than 30k above what asterisk2 is transmitting. I have tried >peer/friend, notransfer(?),registration/no registration and nothing about >the trunking issue changes. Here is my config, some please tell me what I am >doing wrong. > ><ASTERISK1> > >iax.conf >[anistone] >type=peer (friend/peer) >host=172.16.1.5 (with and without this statement) >secret=test2 >context=local2 (with and without this statement) >trunk=yes > >extensions.conf >exten => 61,1,Dial(IAX2/gateway:test@172.16.1.5/60@anistone) > > > ><ASTERISK2> > >iax.conf >[gateway] (I have tried it with this also named anistone) >type=peer (friend/peer) >host=172.16.1.232 (I have tried it with and without this statement) >secret=test >context=anistone (with and without this statement) >trunk=yes > >extensions.conf >exten => 60,1,Milliwatt() > > > >Brian J. Schrock >Anistone Technologies, LLC >6926 Avery Rd. >Dublin, OH 43017 >Phone: 614-798-9106 > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users