Ignore:
Timestamp:
May 2, 2007 11:29:37 AM (17 years ago)
Author:
bennylp
Message:

PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows

File:
1 edited

Legend:

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

    r1134 r1242  
    8585    call->session = NULL; 
    8686    call->xfer_sub = NULL; 
    87     call->last_code = 0; 
     87    call->last_code = (pjsip_status_code) 0; 
    8888    call->conf_slot = PJSUA_INVALID_ID; 
    8989    call->last_text.ptr = call->last_text_buf_; 
     
    19471947            if (call->res_time.sec == 0) 
    19481948                pj_gettimeofday(&call->res_time); 
    1949             call->last_code = e->body.tsx_state.tsx->status_code; 
     1949            call->last_code = (pjsip_status_code)  
     1950                              e->body.tsx_state.tsx->status_code; 
    19501951            pj_strncpy(&call->last_text,  
    19511952                       &e->body.tsx_state.tsx->status_text, 
     
    19601961                pj_gettimeofday(&call->res_time); 
    19611962            if (e->body.tsx_state.tsx->status_code > call->last_code) { 
    1962                 call->last_code = e->body.tsx_state.tsx->status_code; 
     1963                call->last_code = (pjsip_status_code)  
     1964                                  e->body.tsx_state.tsx->status_code; 
    19631965                pj_strncpy(&call->last_text,  
    19641966                           &e->body.tsx_state.tsx->status_text, 
     
    19671969            break; 
    19681970        default: 
    1969             call->last_code = e->body.tsx_state.tsx->status_code; 
     1971            call->last_code = (pjsip_status_code)  
     1972                              e->body.tsx_state.tsx->status_code; 
    19701973            pj_strncpy(&call->last_text,  
    19711974                       &e->body.tsx_state.tsx->status_text, 
     
    25352538 
    25362539    if (code < 200) 
    2537         code = 200; 
     2540        code = PJSIP_SC_OK; 
    25382541    if (code >= 300) { 
    25392542        /* Application rejects call transfer request */ 
     
    27762779                                                    &im_data->body, 
    27772780                                                    im_data->user_data, 
    2778                                                     tsx->status_code, 
     2781                                                    (pjsip_status_code) 
     2782                                                        tsx->status_code, 
    27792783                                                    &tsx->status_text); 
    27802784            } 
Note: See TracChangeset for help on using the changeset viewer.