[asterisk-bugs] [Asterisk 0011588]: Determining SIP session codec from the AGI script

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 18 02:57:30 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11588 
====================================================================== 
Reported By:                sobomax
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   11588
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-17-2007 16:07 CST
Last Modified:              12-18-2007 02:57 CST
====================================================================== 
Summary:                    Determining SIP session codec from the AGI script
Description: 
There is currently no way for the AGI script writer to determine session
codec. This could be necessary in the cases when asterisk records stream to
disk "as is" without any decoding, so that script should know what kind of
file it should expect. Attached patch adds new variable SIP_CODEC_USED that
chan_sip exports and AGI script can test to get this information.
====================================================================== 

---------------------------------------------------------------------- 
 sobomax - 12-18-07 02:57  
---------------------------------------------------------------------- 
Olle,

Thank you for the hint, indeed, it looks like we can get required
information by using that function.

You can close this issue for now.

-Maxim 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-18-07 02:57  sobomax        Note Added: 0075631                          
======================================================================




More information about the asterisk-bugs mailing list