Hi
First of well done for developing this great system. Will make life with
Asterisk and ISDN BRI's much easier.
However, I am getting an error when it tries to connect the channel and
I hope someone can help me find the issue.
Here are the log entries arround the error, followed by a whole lot of
info about the config etc to assist in debugging.
I have tried the snapshot from Dec 16th and well as the one from Jan
11th, both result in the same error.
I am using it with Asterisk 1.2.1
Any asistance would be greatly appreciated.
Regards
Anthony
q931 visdn0:CALL[57.I]: Got CONNECT ACKNOWLEDGE
q931 visdn0:CALL[57.I]: call.c:3910 Timer T313 stopped
q931 visdn0:CALL[57.I]: U8_CONNECT_REQUEST ==to==> U10_ACTIVE
q931 visdn0:TEI[0]: Releasing message
-- poll timeout = -1
-- visdn_q931_connect_channel
-- Connecting streamport to chan '000002'
(/sys/devices/pci0000:00/0000:00:1c.0/0000:02:02.0/st0/B1)
Jan 11 22:56:13 ERROR[5564]: chan_visdn.c:4430
visdn_q931_connect_channel: Cannot open streamport: File exists
-- visdn_q931_setup_complete_indication
-- poll timeout = -1
Fedora Core release 3 (Heidelberg)
Linux 2.6.9-1.667smp #1 SMP
/etc/udev/rules.d/30-visdn.rules
KERNEL="cxc-control", NAME="visdn/cxc-control"
KERNEL="streamport", NAME="visdn/streamport" GROUP="pbx" MODE="0660"
KERNEL="netdev-control", NAME="visdn/netdev-control"
KERNEL="ppp", NAME="visdn/ppp"
KERNEL="system", NAME="visdn/timers/system", SYMLINK="visdn/timer"
ll /dev/visdn
total 0
crw------- 1 root root 254, 1 Jan 12 00:12 cxc-control
crw------- 1 root root 248, 0 Jan 12 00:12 netdev-control
crw------- 1 root root 246, 0 Jan 12 00:12 ppp
crw-rw---- 1 root pbx 247, 0 Jan 12 00:12 streamport
lrwxrwxrwx 1 root root 13 Jan 12 00:12 timer -> timers/system
drwxr-xr-x 2 root root 60 Jan 12 00:12 timers
lspci | grep 02:02
02:02.0 Network controller: Cologne Chip Designs GmbH ISDN network
controller [HFC-PCI] (rev 02)
cat /usr/local/etc/visdn/device-pci-0000\:02\:02.0
#
# Sample configuration file for a HFC-S PCI board in TE mode with the netdev
# interface being named visdn0.
#
<netdev visdn0>
protocol lapd
role TE
tei dynamic
</netdev>
<port st0>
attribute role TE
<chan D>
connectmodule netdev visdn0
</chan>
<chan E>
connectmodule netdev visdn0 echo
</chan>
</port>
ll /sys/bus/pci/devices/0000\:02\:02.0/
total 0
-r--r--r-- 1 root root 4096 Jan 11 21:09 class
-rw-r--r-- 1 root root 256 Jan 11 21:09 config
-rw-r--r-- 1 root root 4096 Jan 11 21:09 detach_state
-r--r--r-- 1 root root 4096 Jan 11 21:09 device
-r--r--r-- 1 root root 4096 Jan 12 00:12 fifo_state
-r--r--r-- 1 root root 4096 Jan 11 21:09 irq
drwxr-xr-x 2 root root 0 Jan 12 00:12 pcm
drwxr-xr-x 2 root root 0 Jan 11 21:09 power
-r--r--r-- 1 root root 4096 Jan 11 21:09 resource
drwxr-xr-x 7 root root 0 Jan 12 00:12 st0
-r--r--r-- 1 root root 4096 Jan 11 21:09 subsystem_device
-r--r--r-- 1 root root 4096 Jan 11 21:09 subsystem_vendor
-r--r--r-- 1 root root 4096 Jan 11 21:09 vendor
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers