Lonnie, thanks for the clarification on the file locations and thank you
Tom for publishing the configs in the documentation. I wiped the card
and reloaded AstLinux on the card using the same config files but in the
proper locations this time. We continued testing of the unit and found
that the Nortel was loosing the DCHAN occasionally. I have since tracked
the problem down. The Sangoma card requires that the dchannel be
governed by its internal hardware instead of DHADI. Instead of using
'dchan=24' in the system.conf you must use 'hardhdlc=24'. Tom, you
probably should make that change on the documentation. 

The Soekris combo seems to be working very well with AstLinux. With 10
ulaw call paths open 'top' shows 7.6% cpu usage. I'm not sure if this
will scale but it's very impressive none the less. The voice quality is
on par with our Adtran 904. Tomorrow we will load the PRI to capacity. I
will publish the results.

-----Original Message-----
From: Tom Chadwin [mailto:nnpait.servi...@googlemail.com] 
Sent: Wednesday, February 24, 2010 2:56 AM
To: 'AstLinux Users Mailing List'
Subject: Re: [Astlinux-users] Soekris net5501 with Sangoma A101u Kits

[Don't you just hate the fact that CTRL-Enter in Outlook sends your
message:
full message below - apologies]

I am aware that neither the developers nor those working on Astlinux
documentation have easy access to Sangoma hardware. Using Aaron's info,
I've
therefore created a Wanpipe page on the documentation wiki:

http://doc.astlinux.org/userdoc:wanpipe

I've given as much info as I can which describes the specifics of this
example (Sangoma A101u in a Soekris net5501 connecting to a US T1), but
if
I've missed any ways in which this example is not generic, do tell me. I
am
aware that documenting on the strength of one report is not exactly
perfect,
but we want to try to ensure that Sangoma users are not put off
Astlinux,
especially since the net5501 + A101u bundle Aaron bought exists.

If there are errors, do get back to me, and I can sort them out.

Cheers, and thanks again to Aaron for this work

Tom


> -----Original Message-----
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
> Sent: 23 February 2010 23:46
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] Soekris net5501 with Sangoma A101u Kits
> 
> Aaron, thanks for the how-to, but no, you edited the wrong files.
> 
> Editable Files
> http://doc.astlinux.org/userdoc:tt_editable_files
> 
> DAHDI
> http://doc.astlinux.org/userdoc:dahdi
> 
> ie. edit files in the /mnt/kd/dahdi/ directory.
> 
> WANPIPE
> 
> edit files in the /mnt/kd/wanpipe/ directory.
> 
> 
> Aaron, while your setup below *may* work for you, you have 
> overwritten important symlinks in the base image.
> 
> If you want to fix this, first copy your 
> /etc/wanpipe/wanpipe1.conf to /mnt/kd/wanpipe/ and 
> /etc/dahdi/system.conf to /mnt/kd/dahdi/
> 
> Then to fix the overwritten symlinks, do a little detective work...
> 
> $ find /oldroot/mnt/asturw/etc/dahdi
> 
> $ find /oldroot/mnt/asturw/etc/wanpipe
> 
> Probably...
> 
> $ rm -r /oldroot/mnt/asturw/etc/dahdi
> 
> $ rm -r /oldroot/mnt/asturw/etc/wanpipe
> 
> will remove those unionfs overlay files.
> 
> $ find /oldroot/mnt/asturw/etc
> should look something like this... (no more files than this)
> -
> /oldroot/mnt/asturw/etc
> /oldroot/mnt/asturw/etc/blkid.tab
> /oldroot/mnt/asturw/etc/shadow
> /oldroot/mnt/asturw/etc/blkid.tab.old
> /oldroot/mnt/asturw/etc/udev
> /oldroot/mnt/asturw/etc/udev/rules.d
> /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules
> /oldroot/mnt/asturw/etc/shadow-
> /oldroot/mnt/asturw/etc/rc.modules
> -
> 
> Finally, reboot, things *should* be as it was, but properly 
> configured.
> 
> Lonnie
> 
> 
> On Feb 23, 2010, at 4:49 PM, Aaron Owen wrote:
> 
> > 
> > I recently purchased the Net5501 / Sangoma A101u Kit from 
> Soekris and quickly ran into the wanpipe (Sangoma) problems 
> that most people seem to be having. I was unable to run 
> wancfg due to the lack of a full Perl support. I was able to 
> muddle my way through a manual system configuration to 
> connect the Sangoma A101u to a Nortel phone system via PRI. 
> Here are the files I added and where I put them followed by 
> the file content....I'm using unionfs on a flash card with no 
> usb key or anything of that nature ( The first disk wizard 
> config option,...see the docs)(astlinux-0.7.0):
> > 
> > /etc/wanpipe/wanpipe1.conf
> > 
> > #================================================
> > # WANPIPE1 Configuration File
> > #================================================
> > [devices]
> > wanpipe1 = WAN_AFT, Comment
> > 
> > [interfaces]
> > w1g1 = wanpipe1, , TDM_VOICE, Comment
> > 
> > [wanpipe1]
> > CARD_TYPE = AFT
> > S514CPU = A
> > CommPort = PRI
> > AUTO_PCISLOT = NO
> > PCISLOT = 14
> > PCIBUS = 0
> > FE_MEDIA = T1
> > FE_LCODE = B8ZS
> > FE_FRAME = ESF
> > FE_LINE = 1
> > TE_CLOCK = NORMAL
> > TE_REF_CLOCK = 0
> > ACTIVE_CH = ALL
> > TE_HIGHIMPEDANCE = NO
> > LBO = 0-110FT
> > FE_TXTRISTATE = NO
> > MTU = 1500
> > UDPPORT = 0
> > TTL = 255
> > IGNORE_FRONT_END = NO
> > TDMV_SPAN = 1
> > TDMV_DCHAN = 24
> > 
> > [w1g1]
> > ACTIVE_CH = ALL
> > TDMV_ECHO_OFF = NO
> > 
> > ____________________--__________________________________________
> > 
> > /etc/dahdi/system.conf
> > 
> > span=1,0,0,esf,b8zs
> > 
> > # Configuration for T1 trunk
> > # channel 1-23 data channels
> > bchan=1-23
> > echocanceller=mg2,1-23
> > # channel 24 control
> > dchan=24
> > 
> > _________________________________________________________________
> > 
> > Now, in the /etc/wanpipe/wanpipe1.conf file the part that I 
> had to modify was obviously the PCI slot and bus since this 
> will be different on each computer. This may be the same on 
> other net 5501s but i'm not sure. I found this information 
> from typing 'wanrouter hwprobe' at the command prompt. I also 
> had to add '#include chan_dahdi_custom.conf' to the bottom of 
> the /etc/asterisk/chan_dahdi.conf file and create the 
> chan_dahdi_custom.conf file in the same directory with the 
> following content:
> > 
> > context=internal
> > switchtype=national
> > signalling = pri_net
> > group = 1,24
> > channel => 1-23
> > 
> > Obviously, this could be vastly different depending on your 
> application. After these files where in place restarted all 
> the relevant services:
> > /etc/init.d/asterisk stop
> > /etc/init.d/dahdi stop
> > /etc/init.d/wanrouter stop
> > /etc/init.d/wanrouter start
> > /etc/init.d/dahdi start
> > /etc/init.d/asterisk start
> > 
> > wanrouter start created an interface called w1g1, dahdi 
> started silently (good), asterisk started. Asterisk now 
> reports all the correct dahdi info from the CLI etc. I hope 
> this helps. If you have questions please let me know.
> > 
> > 
> ----------------------------------------------------------------------
> > -------- Download Intel® Parallel Studio Eval Try the new 
> > software tools for yourself. Speed compiling, find bugs 
> proactively, 
> > and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > 
> http://p.sf.net/sfu/intel-sw-dev______________________________________
> > _________
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> > 
> > Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 
> 
> --------------------------------------------------------------
> ----------------
> Download Intel® Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs 
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via 
> PayPal to pay...@krisk.org.
> 


------------------------------------------------------------------------
------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2706 - Release Date: 02/23/10
12:34:00

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to