Ignore:
Timestamp:
Sep 22, 2006 4:55:42 PM (18 years ago)
Author:
bennylp
Message:

Fixed few bugs that seem to have been introduced by new dialog
locking algorithm:

  • Fixed crash in PJSUA-API when initiating client subscription
  • Fixed another crash in PJSUA-API when hanging-up call

Also fixed SDP negotiator:

  • add a=inactive when rejecting media line

Also increase maximum log size from 1500 to 2000 since some
SIP packet is quite large. A little bit of Warning:
THIS MAY AFFECT APPLICATION'S STACK USAGE

File:
1 edited

Legend:

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

    r685 r734  
    979979    } 
    980980 
    981     /* Set route-set */ 
    982     if (!pj_list_empty(&acc->route_set)) { 
    983         pjsip_dlg_set_route_set(dlg, &acc->route_set); 
    984     } 
    985  
    986     /* Set credentials */ 
    987     if (acc->cred_cnt) { 
    988         pjsip_auth_clt_set_credentials( &dlg->auth_sess,  
    989                                         acc->cred_cnt, acc->cred); 
    990     } 
    991  
    992981    status = pjsip_pres_create_uac( dlg, &pres_callback,  
    993982                                    PJSIP_EVSUB_NO_EVENT_ID, &buddy->sub); 
     
    1000989    } 
    1001990 
     991    /* Set route-set */ 
     992    if (!pj_list_empty(&acc->route_set)) { 
     993        pjsip_dlg_set_route_set(dlg, &acc->route_set); 
     994    } 
     995 
     996    /* Set credentials */ 
     997    if (acc->cred_cnt) { 
     998        pjsip_auth_clt_set_credentials( &dlg->auth_sess,  
     999                                        acc->cred_cnt, acc->cred); 
     1000    } 
     1001 
    10021002    pjsip_evsub_set_mod_data(buddy->sub, pjsua_var.mod.id, buddy); 
    10031003 
Note: See TracChangeset for help on using the changeset viewer.