Changeset 2955 for pjproject


Ignore:
Timestamp:
Oct 20, 2009 1:14:40 PM (15 years ago)
Author:
nanang
Message:

Ticket #976: Fixed pjsua_call_make_call() to associate call with account before media channel initialization.

File:
1 edited

Legend:

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

    r2945 r2955  
    385385 
    386386    if (call_id == PJSUA_INVALID_ID) { 
    387         pjsua_perror(THIS_FILE, "Error making file", PJ_ETOOMANY); 
     387        pjsua_perror(THIS_FILE, "Error making call", PJ_ETOOMANY); 
    388388        PJSUA_UNLOCK(); 
    389389        return PJ_ETOOMANY; 
     
    391391 
    392392    call = &pjsua_var.calls[call_id]; 
     393 
     394    /* Associate session with account */ 
     395    call->acc_id = acc_id; 
    393396 
    394397    /* Create temporary pool */ 
     
    500503 
    501504    /* Create and associate our data in the session. */ 
    502     call->acc_id = acc_id; 
    503505    call->inv = inv; 
    504506 
Note: See TracChangeset for help on using the changeset viewer.