Ignore:
Timestamp:
Mar 27, 2007 10:53:57 AM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #202: Fix telephone-event order in SDP (thanks Chris Hamilton)

File:
1 edited

Legend:

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

    r974 r1107  
    690690            pjsua_perror(THIS_FILE, "Error answering session", status); 
    691691 
     692        /* Note that inv may be invalid if 200/OK has caused error in 
     693         * starting the media. 
     694         */ 
    692695 
    693696        PJ_LOG(4,(THIS_FILE, "Disconnecting replaced call %d", 
     
    10151018        pjsip_dlg_dec_lock(dlg); 
    10161019        return status; 
     1020    } 
     1021 
     1022    /* Call might have been disconnected if application is answering with 
     1023     * 200/OK and the media failed to start. 
     1024     */ 
     1025    if (call->inv == NULL) { 
     1026        pjsip_dlg_dec_lock(dlg); 
     1027        return PJSIP_ESESSIONTERMINATED; 
    10171028    } 
    10181029 
Note: See TracChangeset for help on using the changeset viewer.