Changeset 3347 for pjproject/trunk


Ignore:
Timestamp:
Oct 16, 2010 4:40:01 AM (14 years ago)
Author:
nanang
Message:

Fixed #1148:

  • Added check in processing answer, if media offer port is zero, just skip negotiation process.
  • Added SIPp test scenario.
Location:
pjproject/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c

    r3217 r3347  
    772772 
    773773    /* Check if remote has rejected our offer */ 
    774      
    775774    if (answer->desc.port == 0) { 
    776775         
     
    784783    } 
    785784 
     785    /* Ticket #1148: check if remote answer does not set port to zero when 
     786     * offered with port zero. Let's just tolerate it. 
     787     */ 
     788    if (offer->desc.port == 0) { 
     789        /* Don't need to proceed */ 
     790        return PJ_SUCCESS; 
     791    } 
    786792 
    787793    /* Process direction attributes */ 
Note: See TracChangeset for help on using the changeset viewer.