Changeset 2815


Ignore:
Timestamp:
Jun 25, 2009 1:13:26 PM (15 years ago)
Author:
bennylp
Message:

Ticket #905: Pressing call hold twice in pjsua will cause call to be unheld

  • backported from #880
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0/pjsip/src/pjsua-lib/pjsua_call.c

    r2811 r2815  
    31723172     * (See RFC 3264 Section 8.4 and RFC 4317 Section 3.1) 
    31733173     */ 
    3174     if (call->media_dir != PJMEDIA_DIR_ENCODING) { 
     3174    /* http://trac.pjsip.org/repos/ticket/880  
     3175       if (call->media_dir != PJMEDIA_DIR_ENCODING) { 
     3176     */ 
     3177    if (1) { 
    31753178        pjmedia_sdp_attr *attr; 
    31763179 
     
    31813184        pjmedia_sdp_media_remove_all_attr(sdp->media[0], "inactive"); 
    31823185 
    3183         if (call->media_dir == PJMEDIA_DIR_ENCODING_DECODING) { 
     3186        if (call->media_dir & PJMEDIA_DIR_ENCODING) { 
    31843187            /* Add sendonly attribute */ 
    31853188            attr = pjmedia_sdp_attr_create(pool, "sendonly", NULL); 
Note: See TracChangeset for help on using the changeset viewer.