[Asterisk-Users] T100P HDLC configuration

Patrick J. Conroy conroyp at contexttech.com
Wed Jun 2 10:18:01 MST 2004


Vasyl,

Can you post the changes that you made to the zaptel source.  I have been
trying like crazy to get this thing to work.  I was using 2.4.18 with the
hdlc patch and therefore the new sethdlc.  After reading your posts, I
recompiled without the hdlc patch and I am going to use the old sethdlc ,
but I can't get zaptel to build.

I have uncommented CONFIG_ZAPATA_NET and CONFIG_OLD_HDLC_API from zconfig.h
and I get an error about hdlc_close in zaptel.c.  So, I changed the
hdlc_close(hdlc) to hdlc->stop(hdlc) and I get an error about there being no
member of the structure name stop.

I am trying to follow the steps that you have followed since you seem to
have it working now.  If you could post the source code that you changed, or
e-mail the files to me, I would greatly appreciate it.

Thanks,
Patrick

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Vasyl Rublyov
Sent: Sunday, May 23, 2004 6:44 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] T100P HDLC configuration


All,

Just now I tried Linux kernel 2.4.19, with old sethdlc utility...
everything works, so the problem seems in the zaptel driver or HDLC
implementation of Linux.
I really can't think the problem is in Linux kernel sources because it
has passed for 6 releases since they released new HDLC API... so the
problem might be in zaptel driver.

I had to hack the source code, so it not uses new API for 2.4.19 - does
not have hdlc_close, it should be hdlc->stop(hdlc) call.

The next issue which is quite important... what should be fixed so T100P
will work on new kernel. I am willing to volunteer and try to fix it,
only wish to confirm that kernel >= 2.4.20 works for other T1/E1 cards
with Cisco HDLC protocol.


Vasyl Rublyov wrote:

> Christian,
>
> Opss.. than where is the problem? Is it in kernel or is in zaptel driver?
>
> Could you please let me know when has been broken and if anyone is
> working on the fix for it?
>
> Thank you.
>
> Christian Hoffmeyer wrote:
>
>> ----- Original Message ----- From: "Vasyl Rublyov"
>> <vasyl.rublyov at ionidea.com>
>> To: <asterisk-users at lists.digium.com>
>> Sent: Saturday, May 22, 2004 10:02 PM
>> Subject: Re: [Asterisk-Users] T100P HDLC configuration
>>
>>
>> Just would like to add, of course if it is going to help:
>>   I am using Linux 2.4.26 on Linux, compiled from sources and latest
>> zaptel
>> sources.
>>   We have T1 Internet from Verizon
>> ------------------------------------------------
>>
>> HDLC does not work on kernel 2.4.26
>>
>> Use kernel 2.4.22
>>
>> Christian Hoffmeyer
>> YottaDot Solutions
>> Huntsville, AL
>>
>> (w)   256.851.8689
>> (c)    256.655.0321
>> (iax)  700.859.4508
>>
>> Ask me about Asterisk.
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



--
Thanks and regards,
  Vasyl Rublyov

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the asterisk-users mailing list