Hello,

I'm creating a Linux based ia32 embedded distribution with Asterisk for
VoIP services, and I'm trying vISDN (good job BTW, and nice documentation).

I've managed to get vISDN 0.15.0 built and working but I'm experiencing some
troubles :

First, visdn_configurator uses bash, and bash isn't the best tool for
an embedded distro. I'm using ash from BusyBox, and of course, it can't
interpret the script correctly. I thought it might interest you.

Next, I always have sound problems (apparently due to the lack of a
jitter buffer) whereas the system has almost no load. Do you have
recommendations about the kernel configuration ? I think about
CONFIG_HZ_XXX, CONFIG_PREEMPT_XXX, CONFIG_ISDN/CONFIG_ISDN_CAPI, etc...

As I can't use visdn_configurator, I wrote a /etc/init.d/visdn script with
this :

BUS="pci"
BUS_ID="0000:01:07.0"

# netdev visdn0
visdnctl netdev create visdn0 lapd
visdnctl netdev set visdn0 type bri
visdnctl netdev set visdn0 role TE
visdnctl netdev set visdn0 mode P2MP

# port st0
echo TE > /sys/bus/$BUS/devices/$BUS_ID/st0/role
echo 1500 > /sys/bus/$BUS/devices/$BUS_ID/st0/timer_t1
echo 1500 > /sys/bus/$BUS/devices/$BUS_ID/st0/timer_t3

# chan D
CHANNEL=$(basename $(readlink /sys/bus/$BUS/devices/$BUS_ID/st0/D))
visdnctl connect $CHANNEL /sys/class/net/visdn0/visdn_channel

# chan E
CHANNEL=$(basename $(readlink /sys/bus/$BUS/devices/$BUS_ID/st0/E))
visdnctl connect $CHANNEL /sys/class/net/visdn0/visdn_channel_e

echo 1 > /sys/bus/$BUS/devices/$BUS_ID/st0/enabled
visdnctl netdev set visdn0 up

This should be the equivalent of samples/device-pci-0000\:00\:07.0.

Thanks for any help.

-- 
Richard Braun
Proformatique - 67 rue Voltaire - 92800 Puteaux
Tel. : 01 41 38 99 60 - Fax. : 01 41 38 99 70
Email : [EMAIL PROTECTED] - http://proformatique.com/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to