[asterisk-users] Is chan_zap.so loaded?

Yuan LIU yliu11 at hotmail.com
Wed Jan 3 11:50:17 MST 2007


>From: "Eric \"ManxPower\" Wieling" <eric at fnords.org>
>
>John French wrote:
>>Newbie question for sure... I'm unsure of how to tell if chan_zap.so is 
>>loaded. Also, does autoload in modules.conf take care of it or is it done 
>>explicitly?
>>  output of lsmod | grep zap:
>>zaptel                208388  16 
>>wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,w                            
>>                                                  ct4xxp,tor2
>>crc_ccitt               6465  1 zaptel
>
>asterisk -rx "show modules" | grep -a zap

That's right - chan_zap is not a kernal module (as the .so name suggested).  
As such you won't see it with lsmod.  You must use an Asterisk command.  An 
alternative to grep is to use Asterisk's powerful command, e.g.,
asterisk -rx "show modules like zap"
asterisk -rx "show modules like chan_"
or simply,
asterisk -rx "show modules like chan_zap"

Generally modules.conf should work.

Yuan Liu




More information about the asterisk-users mailing list