[asterisk-bugs] [Asterisk-GUI 0011064]: Impossible to define the codecs list.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 25 07:56:45 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11064 
====================================================================== 
Reported By:                leonidf
Assigned To:                pari
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   11064
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-23-2007 11:27 CDT
Last Modified:              10-25-2007 07:56 CDT
====================================================================== 
Summary:                    Impossible to define the codecs list.
Description: 
1. Create a new SIP extension
2. Click "Edit Codecs"
3. The list of available codecs is empty and it is impossible to populate
it.
4. Click OK
5. The user in file users.conf will have "disallow=all" only.

====================================================================== 

---------------------------------------------------------------------- 
 leonidf - 10-25-07 07:56  
---------------------------------------------------------------------- 
I've investigated the problem deeper and found that the problem occurs only
when Asterisk modules are linked together with main asterisk executable
file.("make menuselect", option "Module Embedding"). In this case command
"module show like codec_" produces the following:
cantor*CLI> module show like codec_
Module                         Description                             
Use Count
codec_zap                      Generic Zaptel Transcoder Codec Translat 0
codec_ulaw                     mu-Law Coder/Decoder                     0
codec_lpc10                    LPC10 2.4kbps Coder/Decoder              0
codec_ilbc                     iLBC Coder/Decoder                       0
codec_gsm                      GSM Coder/Decoder                        0
codec_g726                     ITU G.726-32kbps G726 Transcoder         0
codec_a_mu                     A-law and Mulaw direct Coder/Decoder     0
codec_alaw                     A-law Coder/Decoder                      0
codec_adpcm                    Adaptive Differential PCM Coder/Decoder  0
9 modules loaded
In this case function function load_codecs_fromast() fails.

In contrast, when the modules are not embedded then:
*CLI> module show like codec_
Module                         Description                             
Use Count
codec_gsm.so                   GSM Coder/Decoder                        0
codec_adpcm.so                 Adaptive Differential PCM Coder/Decoder  0
codec_ulaw.so                  mu-Law Coder/Decoder                     0
codec_speex.so                 Speex Coder/Decoder                      0
codec_zap.so                   Generic Zaptel Transcoder Codec Translat 0
codec_ilbc.so                  iLBC Coder/Decoder                       0
codec_alaw.so                  A-law Coder/Decoder                      0
codec_g726.so                  ITU G.726-32kbps G726 Transcoder         0
codec_a_mu.so                  A-law and Mulaw direct Coder/Decoder     0
In this case function function load_codecs_fromast() works as expected.
I'm not a big specialist in Java scripting but I believe that it is
possible to find a solution when the list will be parsed correctly in both
cases. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-25-07 07:56  leonidf        Note Added: 0072495                          
======================================================================




More information about the asterisk-bugs mailing list