[asterisk-dev] Zap channel naming is way too confusing

Steven critch at basesys.com
Thu Feb 23 20:49:04 MST 2006

On Fri, 2006-02-24 at 11:15 +1100, James Harper wrote:
> > 
> > My thoughts along the lines of a fully sysfs/hotplug enabled Zaptel
> > include supporting 'named' spans... this could help in that area.
> I'd like to add my vote to this, or something like it. I've just started
> toying with the 'dynamic' spans and it gets confusing as hell. And even
> without hotswap, the coldswap of a card might muck up your whole
> dialplan!
> Maybe the channel number could look like this:
> A = adapter number
> SS = span number
> CCC = channel number

> Do any of the Digium adapters have unique id's like Ethernet adapters
> do? Otherwise I guess you could describe them by PCI bus or something.
> Maybe like this:
> adapter=<#>,<module>,<uniqueid>
> where # is the adapter number you are defining, module is the zaptel
> module name, and uniqueid is some per-module way of uniquely identifying
> an adapter, be it PCI bus address, Ethernet ID (for dynamic spans), or
> other id.

I like this but think the format could be improved to handle larger
numbers. Basically use something as a separator instead of fixed width
Steven <critch at basesys.com>

More information about the asterisk-dev mailing list