Hi all,
  I can't seems to find good info on how to configure two pci card on my box.

I've been able to configure it in P2MP mode, but I was wandering if there is a 
better way.

My actual conf is: 
lspci :
00:08.0 Network controller: Cologne Chip Designs GmbH ISDN network controller 
[HFC-PCI] (rev 02)
00:09.0 Network controller: Cologne Chip Designs GmbH ISDN network controller 
[HFC-PCI] (rev 02)

 ls  /usr/local/etc/visdn/*
 /usr/local/etc/visdn/device-pci-0000:00:08.0
 /usr/local/etc/visdn/device-pci-0000:00:09.0

and the content of the two files is:
 more /usr/local/etc/visdn/device-pci-0000:00:08.0
<netdev visdn0>
  protocol lapd
  role TE
  mode P2MP
</netdev>

<port st0>
  attribute role TE
  attribute timer_t1 1500
  attribute timer_t3 1500

  <chan D>
    connectmodule netdev visdn0
  </chan>

  <chan E>
    connectmodule netdev visdn0 echo
  </chan>
</port>


obviously the other one is identical except for the netdev that is visdn0.
ifconfig -a says:
visdn0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:65536  Metric:1
          RX packets:957 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 
          RX bytes:3828 (3.7 KiB)  TX bytes:252 (252.0 b)

visdn1    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:65536  Metric:1
          RX packets:2161 errors:5 dropped:0 overruns:0 frame:2
          TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
          collisions:3 txqueuelen:10 
          RX bytes:10511 (10.2 KiB)  TX bytes:2560 (2.5 KiB)

When using this in asterisk ( you guess it ...)  I got

show visdn interfaces 
Interface  Role Mode TEI Status        Calls
visdn0     TE   P2MP     Online        0
visdn1     TE   P2MP     Online        0

and when calling I get :
show visdn calls
ID                State                    Number
visdn1/117.O      U4_CALL_DELIVERED        0xxxxxxxx8
visdn1/118.O      U2_OVERLAP_SENDING       0xxxxxxxx8
and everything works


What I would like to obtain is something that shows both b-channel instead of 
a single channel, something like visdn0.0 visdn0.1 visdn1.0 visdn1.1 like I 
used to have when using the old bristuff things.

Is there any chance to get it or I a missing something ?

Pigi

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

Reply via email to