[asterisk-dev] A plan for span
oron.peled at xorcom.com
Tue Jul 8 16:01:16 CDT 2008
Referring to the original post that started all this:
On Tuesday, 8 בJuly 2008, Steven S. Critchfield wrote:
> I guess to go further with what Kevin recently posted. What if in
> the /etc/zaptel.conf file you made identification section that
> would allow you a way to identify a card. When it is seen in the
> machine, it could then look up configuration information.
> In this configuration data, you can label the spans. Kevin could
> label them with Circuit IDs if he likes and the storage was big enough.
Yes, that's the main idea. Quoting:
" The names should be assigned by low-level drivers...
- One possibility is to read it from some property stored on
the card itself (like a MAC address on a NIC).
- Another option is to use the fully qualified PCI address:
as a unique identifier. E.g: PCI-bridge1-slot4-func2 "
> Then from asterisk we could dial(Super_Dahdi/span-ATT-3/5551212), or
Again, from the same mail:
"3. Changes to chan_dahdi:
* We need to decide on some unused separator character that
would separate span name from relative channel number
in modernized dialplans (let's assume ':')
OK, it might have been clearer if I spelled it out:
BTW: my original idea several months ago was to use '/' like
you suggest (that would directly map to the path
However, Tzafrir later reminded me that may be ambiguous with
the '/' that separate the number we dial into :-(
Oron Peled Voice/Fax: +972-4-8228492
oron at actcom.co.il http://www.actcom.co.il/~oron
Hi! I'm a .signature virus! Copy me into your ~/.signature to help
More information about the asterisk-dev