[svn-commits] file: branch 1.4 r47897 - /branches/1.4/main/rtp.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Nov 21 10:32:28 MST 2006


Author: file
Date: Tue Nov 21 11:32:27 2006
New Revision: 47897

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47897
Log:
If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)

Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=47897&r1=47896&r2=47897
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Tue Nov 21 11:32:27 2006
@@ -1640,7 +1640,7 @@
 			if (isAstFormat &&
 			    (code == AST_FORMAT_G726_AAL2) &&
 			    (options & AST_RTP_OPT_G726_NONSTANDARD))
-				return "AAL2-G726-32";
+				return "G726-32";
 			else
 				return mimeTypes[i].subtype;
 		}



More information about the svn-commits mailing list