[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] cross compiling for iax trunking
From:       Tzafrir Cohen <tzafrir.cohen () xorcom ! com>
Date:       2008-09-22 14:31:31
Message-ID: 20080922143131.GD4244 () xorcom ! com
[Download RAW message or body]

On Mon, Sep 22, 2008 at 07:27:25AM -0600, Mark Spowage wrote:
> What trick is needed to have asterisk cross compile with zaptel ? --with-zaptel
> perhaps chan_zap is not needed if only iax timing is needed via ztdummy ?
> in any case the configure script looks for <zaptel/zaptel.h> to test
> compile, perhaps there is a hack
> to force asterisk to compile chan_zap ?

--with-zaptel=/path/to/new/usr --with-tonezone=/path/to/new/usr
--with-pri=/path/to/new/usr

See also
http://updates.xorcom.com/astribank/bristuff/1.4/bristuff-current/compile.sh

> 
> zaptel.ko and zd_dummy.ko do load with out error , however iax when
> loaded is still failing to find a timer for iax trunking.
> iax without trunking is working. thus chan_zap is needed ?

For building Asterisk you don't need zaptel loaded. You just need
libtonezone and zaptel.h . Again, see the above script.

> 
> perhaps there is a url in the asterisk universe where this conundrum
> has been resolved, for embedded developers.
> 
> finally will i need to re-invent zt_dummy , as the kernel here is
> 2.4.22 and does have hi-restimers in the kernel  (ixp425)
> perhaps the iax trunking can be fixed to use a timing source without
> forklifting zaptel ?

This is already supported. And documented in the README.
http://docs.tzafrir.org.il/README.html#_kernel_configuration

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic