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.

Reply via email to