[asterisk-dev] Using the zaptel library for generic HDLC communication

Moises Silva moises.silva at gmail.com
Thu Mar 16 09:32:53 MST 2006


http://www.voip-info.org/wiki/view/Asterisk+Data+Configuration
http://www.digium.com/downloads/hdlc.txt

On 3/16/06, Khelik Mikhail <mixel.net at gmail.com> wrote:
> 2006/3/16, Mads B. Tandrup <mads_t at yahoo.com>:
> > Hello
> > I have a Digium TE405P card installed in a Linux
> > machine.
> > I am trying to generated some generic HDLC packets and
> > send them using the E1 interface to an embedded
> > device.
> >
> > I can't seem to find any good documentation on this
> > subject.
> > Does anyone have pointers in the right direction or
> > even example code?
> >
> > What is the difference/connection between zaptel and
> > zapata? And which one should I use?
> >
> > Best regards,
> > Mads B. Tandrup
>
> I an not sure, what actually you are interested in, but you can indeed
> use zaptel to create hdlc link, you don't need asterisk in this case
> at all, only zaptel drivers. Compile them with
> CONFIG_ZAPATA_NET defined in zconfig.h. To assign timeslots for hdlc
> link you should use nethdlc directive in zaptel.conf. After starting
> of zaptel this will create some (depending of your settings in
> zaptel.conf) linux hdlc interfaces which you can configure with
> ordinary sethdlc utility. As a result you will be able to use sockets
> to send hdlc packets.
>
> I recommend you to use trunk version of zaptel to work with hdlc,
> stable has at least one bug related to hdlc.
>
> Best regards,
> Mikhail Khelik
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>


--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"



More information about the asterisk-dev mailing list