[asterisk-dev] cross compiling for iax trunking

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Sep 22 09:31:31 CDT 2008


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 at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list