Hi Daniele,

Here are two traces of incoming calls to the hfc-e1 card.

Example 1: Incoming call on E1 channel 3

May 19 17:39:10 prototype-pbx visdn-streamport: Streamport 000125 opened

May 19 17:39:10 prototype-pbx visdn: Connecting '000125' to '000088'

May 19 17:39:10 prototype-pbx visdn: Connecting chan '000054' to chan '000088'

May 19 17:39:10 prototype-pbx visdn: Simplex connect '000054' with '000088' through CXC '2'

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] leg A connecting to 000088

May 19 17:39:10 prototype-pbx visdn: Simplex connect '000088' with '000054' through CXC '2'

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[3] connecting to 000054

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[3] channel connected.

May 19 17:39:10 prototype-pbx visdn: Connecting chan '000125' to chan '000054'

May 19 17:39:10 prototype-pbx visdn: Simplex connect '000125' with '000054' through CXC '0'

May 19 17:39:10 prototype-pbx visdn-streamport: Streamport 000125 connected to 000054

May 19 17:39:10 prototype-pbx visdn: Simplex connect '000054' with '000125' through CXC '0'

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] leg B connecting to 000054

May 19 17:39:10 prototype-pbx visdn: visnd_chan_open(000125)

May 19 17:39:10 prototype-pbx visdn-streamport: vsp_chan_open()

May 19 17:39:10 prototype-pbx visdn: visnd_chan_open(000054)

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] channel opened

May 19 17:39:10 prototype-pbx visdn: visnd_chan_open(000088)

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[3] channel opened.

May 19 17:39:10 prototype-pbx visdn: visnd_chan_start(000125)

May 19 17:39:10 prototype-pbx visdn: visnd_chan_start(000054)

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #0 fifo [0,TX] <=> chan [16,TX] (e1:16) => fifo [0,RX]

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #1 fifo [0,RX] <=> chan [16,RX] (e1:16) => fifo [1,TX]

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #2 fifo [1,TX] <=> chan [3,TX] (e1:3) => fifo [1,RX]

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #3 fifo [1,RX] <=> chan [3,RX] (e1:3) END!

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] channel started

May 19 17:39:10 prototype-pbx visdn: visnd_chan_start(000088)

May 19 17:39:10 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[3] channel start

Example 2: Incoming call on E1 channel 4

May 19 17:39:41 prototype-pbx visdn-streamport: Streamport 000126 opened

May 19 17:39:41 prototype-pbx visdn: Connecting '000126' to '000089'

May 19 17:39:41 prototype-pbx visdn: Connecting chan '000054' to chan '000089'

May 19 17:39:41 prototype-pbx visdn: Simplex connect '000054' with '000089' through CXC '2'

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] leg A connecting to 000089

May 19 17:39:41 prototype-pbx visdn: Simplex connect '000089' with '000054' through CXC '2'

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[4] connecting to 000054

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[4] channel connected.

May 19 17:39:41 prototype-pbx visdn: Connecting chan '000126' to chan '000054'

May 19 17:39:41 prototype-pbx visdn: Simplex connect '000126' with '000054' through CXC '0'

May 19 17:39:41 prototype-pbx visdn-streamport: Streamport 000126 connected to 000054

May 19 17:39:41 prototype-pbx visdn: Simplex connect '000054' with '000126' through CXC '0'

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] leg B connecting to 000054

May 19 17:39:41 prototype-pbx visdn: visnd_chan_open(000126)

May 19 17:39:41 prototype-pbx visdn-streamport: vsp_chan_open()

May 19 17:39:41 prototype-pbx visdn: visnd_chan_open(000054)

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] channel opened

May 19 17:39:41 prototype-pbx visdn: visnd_chan_open(000089)

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[4] channel opened.

May 19 17:39:41 prototype-pbx visdn: visnd_chan_start(000126)

May 19 17:39:41 prototype-pbx visdn: visnd_chan_start(000054)

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #0 fifo [0,TX] <=> chan [16,TX] (e1:16) => fifo [0,RX]

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #1 fifo [0,RX] <=> chan [16,RX] (e1:16) => fifo [1,TX]

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #2 fifo [1,TX] <=> chan [4,TX] (e1:4) => fifo [1,RX]

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0 Seq #3 fifo [1,RX] <=> chan [4,RX] (e1:4) END!

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:sys:chan[sys1] channel started

May 19 17:39:41 prototype-pbx visdn: visnd_chan_start(000089)

May 19 17:39:41 prototype-pbx hfc-e1: pci-0000:00:09.0:e1:chan[4] channel start


Correct me if I am wrong but I noticed that in both cases, channel '000054' is used. Shouldn't it map to '000036' for E1 channel 3 and '000037' for E1 channel 4? I derived this from the links found in  /sys/devices/pci0000:00/0000:00:09.0/e1/. 000054 appears to be linked to 'timeslot' 21.

I have also compared this to a hfc-4s BRI-ISDN call (which works!) trace to arrive at this conclusion. Hope it helps.

Regards,
Stephen Yong

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

Reply via email to