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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 30 02:34:08 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11064 
====================================================================== 
Reported By:                leonidf
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   11064
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
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-30-2007 02:34 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-30-07 02:34  
---------------------------------------------------------------------- 
What about more elegant solution?
Instead of original line:

resp[i][1] = resp[i][1].split(".");

write the following:

resp[i][1] = resp[i][1].split(/[. ]/);

The idea is to use regular expression instead of string as separator. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-30-07 02:34  leonidf        Note Added: 0072709                          
======================================================================




More information about the asterisk-bugs mailing list