hello,
when i try ti make call using u law codec , the call not done at all, so ii want to ask if my asterisk doesn’t suuport u law how can i download it?
thanks,
radwa
hello,
when i try ti make call using u law codec , the call not done at all, so ii want to ask if my asterisk doesn’t suuport u law how can i download it?
thanks,
radwa
The standard, default build of Asterisk does support mu-law. Where did you get your Asterisk from?
really my partner download it, but it is asterisk 1.4 , and can you tell me command that know if u law codec is exist in my asterisk?
For source build, make menuconfig.
For binary only, CLI: modules show will show what is loaded and shell: ls /usr/lib/asterisk/modules will show what is supplied.
It is very unlikely not to be there, so it may be more productive to provide the diagnostic messages that make you think it is missing.
i found that as output
codec_adpcm.so pbx_ael.so
app_minivm.so codec_alaw.so pbx_config.so
app_mixmonitor.so codec_a_mu.so pbx_dundi.so
app_morsecode.so codec_dahdi.so pbx_loopback.so
app_mp3.so codec_g722.so pbx_lua.so
app_nbscat.so codec_g723.so pbx_realtime.so
app_originate.so codec_g726.so pbx_spool.so
app_page.so codec_g729.so res_adsi.so
app_parkandannounce.so codec_gsm.so res_ael_share.so
app_playback.so codec_lpc10.so res_agi.so
app_playtones.so codec_speex.so res_ais.so
app_privacy.so codec_ulaw.so
dwa-laptop*CLI> core show translation
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16
g723 - 4001 2 2 4001 2 1 4002 4001 4002 - 2 2 - - 3
gsm 4001 - 2 2 4001 2 1 4002 4001 4002 - 2 2 - - 3
ulaw 4001 4001 - 1 4001 2 1 4002 4001 4002 - 2 2 - - 3
alaw 4001 4001 1 - 4001 2 1 4002 4001 4002 - 2 2 - - 3
g726aal2 4001 4001 2 2 - 2 1 4002 4001 4002 - 2 2 - - 3
adpcm 4001 4001 2 2 4001 - 1 4002 4001 4002 - 2 2 - - 3
slin 4000 4000 1 1 4000 1 - 4001 4000 4001 - 1 1 - - 2
lpc10 4001 4001 2 2 4001 2 1 - 4001 4002 - 2 2 - - 3
g729 4001 4001 2 2 4001 2 1 4002 - 4002 - 2 2 - - 3
speex 4001 4001 2 2 4001 2 1 4002 4001 - - 2 2 - - 3
ilbc - - - - - - - - - - - - - - - -
g726 8000 8000 4001 4001 8000 4001 4000 8001 8000 8001 - - 4001 - - 4002
g722 8000 8000 4001 4001 8000 4001 4000 8001 8000 8001 - 4001 - - - 1
siren7 - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - -
slin16 12000 12000 8001 8001 12000 8001 8000 12001 12000 12001 - 8001 4000 - - -
radwa-laptop*CLI>
Your Asterisk thinks you’ve got ulaw as an available codec then. Maybe you’ve not enabled it for your sip peer or on the device itself.