[asterisk-scf-commits] asterisk-scf/integration/pjproject.git branch "remove-smartness" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Aug 21 14:43:03 CDT 2012


branch "remove-smartness" has been created
        at  9af2bb7fae4b82ba928b9492b25a40f753a9e85d (commit)

- Log -----------------------------------------------------------------
commit 9af2bb7fae4b82ba928b9492b25a40f753a9e85d
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Sep 21 14:52:47 2011 -0300

    Comment out logic which modifies the SDP to add missing media lines.

diff --git a/pjmedia/src/pjmedia/sdp_neg.c b/pjmedia/src/pjmedia/sdp_neg.c
index 6263f0c..45a3282 100644
--- a/pjmedia/src/pjmedia/sdp_neg.c
+++ b/pjmedia/src/pjmedia/sdp_neg.c
@@ -283,6 +283,7 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
      * the new offer by reordering and adding the missing media line with 
      * port number set to zero.
      */
+#if 0
     for (oi = 0; oi < old_offer->media_count; ++oi) {
 	pjmedia_sdp_media *om;
 	pjmedia_sdp_media *nm;
@@ -308,6 +309,7 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
 		break;
 	    }
 	}
+
 	if (!found) {
 	    pjmedia_sdp_media *m;
 
@@ -316,7 +318,9 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
 	    pj_array_insert(new_offer->media, sizeof(new_offer->media[0]),
 			    new_offer->media_count++, oi, &m);
 	}
+
     }
+#endif
 
     /* New_offer fixed */
     neg->initial_sdp = new_offer;

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/pjproject.git



More information about the asterisk-scf-commits mailing list