Ignore:
Timestamp:
Mar 27, 2007 11:01:45 AM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #203: Fix error when telephone-event is set as the first format in SDP (thanks Chris Hamilton)

File:
1 edited

Legend:

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

    r1098 r1109  
    709709            pjsua_perror(THIS_FILE, "Error answering session", status); 
    710710 
     711        /* Note that inv may be invalid if 200/OK has caused error in 
     712         * starting the media. 
     713         */ 
    711714 
    712715        PJ_LOG(4,(THIS_FILE, "Disconnecting replaced call %d", 
     
    10341037        pjsip_dlg_dec_lock(dlg); 
    10351038        return status; 
     1039    } 
     1040 
     1041    /* Call might have been disconnected if application is answering with 
     1042     * 200/OK and the media failed to start. 
     1043     */ 
     1044    if (call->inv == NULL) { 
     1045        pjsip_dlg_dec_lock(dlg); 
     1046        return PJSIP_ESESSIONTERMINATED; 
    10361047    } 
    10371048 
Note: See TracChangeset for help on using the changeset viewer.