]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
removing sdp port check, filling local sdp port always
authorkapil <kgupta@sangoma.com>
Mon, 13 Aug 2012 14:44:28 +0000 (10:44 -0400)
committerkapil <kgupta@sangoma.com>
Mon, 13 Aug 2012 14:44:28 +0000 (10:44 -0400)
src/mod/endpoints/mod_media_gateway/media_gateway_utils.c

index 143af18d366442f93575059305967430e8dd8c0f..783e126ae45181a98fb8ce6ae595ddda5bd76dcf 100644 (file)
@@ -2223,7 +2223,8 @@ if((NOTPRSNT == med->numComp.pres) || (0 == med->numComp.val)){
      media = med->mediaDesc[j];
      /* check for choose port and fill the port */
      if(NOTPRSNT != media->field.id.type.pres){
-            if(CM_SDP_VCID_CHOOSE == media->field.id.type.val){
+            //if(CM_SDP_VCID_CHOOSE == media->field.id.type.val)
+               {
                     MG_INIT_TOKEN_VALUE(&(media->field.id.type),CM_SDP_VCID_PORT);
                     MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.type),CM_SDP_PORT_INT);
                     MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.u.portInt.pres),1);