Changeset 2752


Ignore:
Timestamp:
Jun 5, 2009 10:14:20 AM (10 years ago)
Author:
bennylp
Message:

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

File:
1 edited

Legend:

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

    r2750 r2752  
    31843184     * (See RFC 3264 Section 8.4 and RFC 4317 Section 3.1) 
    31853185     */ 
    3186     if (call->media_dir != PJMEDIA_DIR_ENCODING) { 
     3186    /* http://trac.pjsip.org/repos/ticket/880  
     3187       if (call->media_dir != PJMEDIA_DIR_ENCODING) { 
     3188     */ 
     3189    if (1) { 
    31873190        pjmedia_sdp_attr *attr; 
    31883191 
     
    31933196        pjmedia_sdp_media_remove_all_attr(sdp->media[0], "inactive"); 
    31943197 
    3195         if (call->media_dir == PJMEDIA_DIR_ENCODING_DECODING) { 
     3198        if (call->media_dir & PJMEDIA_DIR_ENCODING) { 
    31963199            /* Add sendonly attribute */ 
    31973200            attr = pjmedia_sdp_attr_create(pool, "sendonly", NULL); 
Note: See TracChangeset for help on using the changeset viewer.