Asterisk 1.4 Compile With Zaptel?

How do you compile asterisk 1.4 with zaptel? I am having trouble getting this to work.

Thanks

Try specifying the --with-zaptel= option with ./configure.

I’ve tried that. Zaptel compiles and installs fine, then try asterisk with that option. Asterisk says it does not recognise the zap command. Any suggestions?

Thanks

Was chan_zap.so created and installed?

This file wasn’t created.

So we are back to the compile/configure of asterisk

./configure --with-zaptel= your location of zaptel

are you using the corresponding versions, * 1.4, zaptel 1.4?

Did you use make menuconfig and see what it has to say?

I compiled asterisk with:

./configure --with-zaptel=/usr/src/zaptel-1.4.0

I am using asterisk 1.5 and zaptel 1.4. What am i looking for in menuconfig?

Thanks

Here is a link that while not your exact problem is nevertheless a good guidepost.

http://forums.digium.com/viewtopic.php?p=42825&sid=b0112c116f3d9d6d98562931bd6d239b

[quote=“cgrosvenor”]I compiled asterisk with:

./configure --with-zaptel=/usr/src/zaptel-1.4.0

I am using asterisk 1.5 and zaptel 1.4. What am i looking for in menuconfig?

Thanks[/quote]

What is
./configure --with-zaptel=/usr/src/zaptel-1.4.0
doing ?

Is this necessary when zaptel has been compiled before Asterisk is compiled?
Or is this compiling zaptel togehter with Asterisk?

Not sure what was causing the issues but i deleted my zaptel and asterisk source directories. Downloaded the source again and then compiled and it worked.

Thanks for your help