[Asterisk-Users] Multiple X100Ps -- order?

Steven Critchfield critch at basesys.com
Tue Jun 15 11:04:48 MST 2004


On Tue, 2004-06-15 at 12:58, Jay Milk wrote:
> After over a month (well, ok, no more than an hour a day :) of planning,
> getting hardware, tinkering and testing, I'm about to my Ultimate Home
> Phone System (tm) online.

> However, my concern is that Asterisk will keep its Zap channels straight
> -- I already identified which of my X100P is assigned to which Zap
> channel, but as I'm not too familiar with the PCI bus specs, I'm
> concerned that this assignment may be random, and subject to change
> after reboot.  Is that possible?  If the assignment changes, I'd
> suddenly route all long-distance calls through my POTS line, which would
> be considerably more expensive than Vonage.  And * would bark up Vonage
> for a 911 call, which would be a "Bad Thing" if my wife called 911
> because she or junior needed to do that.
> 
> So -- once I set up *'s ZAP channels, is there some PCI magic keeping
> them in place, and/or assuring repeatable configuration?  If yes, I'd be
> curious to know how it does it.  If No, does anyone have a test-call
> script (upon reboot, use SIP to dial POTS or Vonage and see which ZAP
> channel it's coming in on).
> 

They should always be detected in the same order until you change the
PCI bus around.

Check the output from lspci sometime to see how things are laid out on
the bus. Or easier, here is the output from my workstation at the office
that has a similar need but using different hardware.

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
0000:00:09.0 PCI bridge: Digital Equipment Corporation DECchip 21052 (rev 01)
0000:00:0b.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0f.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 04)
0000:00:13.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366/368/370/370A/372 (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
0000:02:00.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
0000:02:04.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
0000:02:08.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
0000:02:0c.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)

You will see that bus 00 is my main PCI bus, 01 is my AGP bus, and 02
bus is provided by the device at 00:09.0. You will notice I have 4
identical cards showing up on the 02 bus. This is a special video card,
but works as 4 separate cards. They always are detected in the same
order due to their placement in the PCI bus. This allows me to make my
Xconfig work form one reboot to the next.

-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list