[asterisk-dev] dahdi-tools rev. 9067

Will nyphbl8d at gmail.com
Wed Sep 1 09:44:19 CDT 2010


I think the reason for it is that dahdi_cfg doesn't know much about the
channels it's configuring without probing the driver for more information
about span/channel/sigchan associations.  If dahdi_cfg probed things after
encountering an error, a better diagnosis might be available.

Will

On Wed, Sep 1, 2010 at 9:28 AM, Max Khon <fjoe at samodelkin.net> wrote:

> Hello!
>
> I understand, but did you look at the patch? This message is printed for
> every error condition and isn't channel number and so on hardcoded there?
>
> Max
>
> On Wed, Sep 1, 2010 at 6:46 PM, Will <nyphbl8d at gmail.com> wrote:
>
>> On Wed, Sep 1, 2010 at 3:01 AM, Max Khon <fjoe at samodelkin.net> wrote:
>>
>>> Hi, there!
>>>
>>> The commit is:
>>>
>>> --- cut here ---
>>> r9067 | kmoore | 2010-07-30 22:28:31 +0700 (пт, 30 июл 2010) | 2 lines
>>>
>>> dahdi_cfg: Display more appropriate error messages when an invalid
>>> signaling is chosen along with suggestions on how to fix the problem.
>>> --- cut here ---
>>>
>>> The chunk is:
>>>
>>> +                               fprintf(stderr, "\tSignaling is being
>>> assigned"
>>> +                                       " to channel 16 of an E1 CAS
>>> span\n");
>>>
>>> Is it a debugging leftover?
>>>
>>> Max
>>>
>>>
>> Actually, all the changes that went into that patch (including that one)
>> are meant to help the user determine what is invalid in the configuration.
>> Unless that change is in an incorrect location, it should definitely be
>> there.
>>
>> Will
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100901/c222749b/attachment.htm 


More information about the asterisk-dev mailing list