Ignore:
Timestamp:
Feb 7, 2006 6:48:01 PM (18 years ago)
Author:
bennylp
Message:

Tested initial implementation: basic UAC, client registration, authentication, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_ua_layer.c

    r139 r141  
    618618     * Request will fork only for the initial INVITE request. 
    619619     */ 
    620     if (rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD && 
    621         rdata->msg_info.cseq->cseq == dlg_set->dlg_list.next->local.first_cseq) 
    622     { 
     620 
     621    //This doesn't work when there is authentication challenge, since  
     622    //first_cseq evaluation will yield false. 
     623    //if (rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD && 
     624    //  rdata->msg_info.cseq->cseq == dlg_set->dlg_list.next->local.first_cseq) 
     625 
     626    if (rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD) { 
    623627        pj_str_t *to_tag = &rdata->msg_info.to->tag; 
    624628 
     
    627631 
    628632        dlg = dlg_set->dlg_list.next; 
     633 
     634        /* Forking handling is temporarily disabled. */ 
     635        PJ_TODO(UA_LAYER_HANDLE_FORKING); 
     636 
     637#if 0 
    629638        while (dlg != (pjsip_dialog*)&dlg_set->dlg_list) { 
    630639 
     
    670679            } 
    671680        } 
     681#endif 
    672682 
    673683        /* Done with the dialog set. */ 
Note: See TracChangeset for help on using the changeset viewer.