According to Zaptel Sample configuration, you should be able to set PCM encoding by using the following command
alaw=1-4
# Overiding PCM encoding # ~~~~~~~~~~~~~~~~~~~~~~ # Usually the channel driver sets the encoding of the PCM for the # channel (mulaw / alaw. That is: g711u or g711a). However there are # some cases where you would like to override that. 'mulaw' and 'alaw' # set different such encoding. Use them for channels you have already # defined with e.g. 'bchan' or 'fxoks'. #mulaw=1-4 #alaw=1-4
For more information about how to configure Zaptel please read:
Additionally, I would like to mention that Zaptel has been discontinued and has been replaced by DAHDI (the Digium Asterisk Hardware Device Interface). See the following announcements:
According to Zaptel Sample configuration, you should be able to set PCM encoding by using the following command
alaw=1-4
# Overiding PCM encoding
# ~~~~~~~~~~~~~~~~~~~~~~
# Usually the channel driver sets the encoding of the PCM for the
# channel (mulaw / alaw. That is: g711u or g711a). However there are
# some cases where you would like to override that. 'mulaw' and 'alaw'
# set different such encoding. Use them for channels you have already
# defined with e.g. 'bchan' or 'fxoks'.
#mulaw=1-4
#alaw=1-4
For more information about how to configure Zaptel please read:
http://svn.digium.com/svn/zaptel/branches/1.4/zaptel.conf.sample
Additionally, I would like to mention that Zaptel has been discontinued and has been replaced by DAHDI (the Digium Asterisk Hardware Device Interface). See the following announcements:
http://blogs.digium.com/2008/05/19/zaptel-project-being-renamed-to-dahdi/
To use DAHDI, you must use Asterisk 1.4.22 or later, or Asterisk 1.6.0 or later: