So does this mean there is a bug in the sofia-sip SOA engine (v. 1.12.4)? In other words, it should match the following two codecs as the same?
... (a): rtpmap:0 PCMU/8000 <---EQUAL---> ... (a): rtpmap:0 G711/8000 Best Regards, Jerry ------------------------------ Message: 7 Date: Mon, 9 Jul 2007 21:50:54 -0700 (PDT) From: Arsen Chaloyan <[EMAIL PROTECTED]> Subject: Re: [Sofia-sip-devel] Incoming Re-INVITE SDP Content To: sofia-sip-devel@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ascii RFC3551 (RTP Profile) ----------------------- This profile reserves payload type numbers in the range 96-127 exclusively for dynamic assignment. Applications SHOULD first use values in this range for dynamic payload types. Those applications which need to define more than 32 dynamic payload types MAY bind codes below 96, in which case it is RECOMMENDED that unassigned payload type numbers be used first. However, the statically assigned payload types are default bindings and MAY be dynamically bound to new encodings if needed. Redefining payload types below 96 may cause incorrect operation if an attempt is made to join a session without obtaining session description information that defines the dynamic payload types.----------------------------------------------- According to RFC dynamic payload type can be assigned even with number below 96, however I have never seen such an implementation which uses dynamic payload type < 96, it will bring a lot of incompatibility issues. So I believe the following routine is robust enough to match the codec. if payload type < 96, match payload type number only otherwise if payload type is in range [96-127] , match by codec name & sampling rate & channel count This will help to avoid mess concerning codec names like PCMU <-> g711u; g729 <-> g729a (from RTP perspective it's just the same codec) at least in case of static mapping. Hope this will help. Thanks, Arsen. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel