Ignore:
Timestamp:
Jul 10, 2006 2:40:21 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in PJSUA API re: account selection and Contact header for accounts

File:
1 edited

Legend:

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

    r582 r597  
    466466    /* Create UAS dialog: */ 
    467467    status = pjsip_dlg_create_uas(pjsip_ua_instance(), rdata,  
    468                                   &acc->cfg.contact, 
     468                                  &acc->real_contact, 
    469469                                  &dlg); 
    470470    if (status != PJ_SUCCESS) { 
     
    771771    acc = &pjsua_var.acc[acc_id]; 
    772772 
     773    PJ_LOG(4,(THIS_FILE, "Using account %d for buddy %d subscription", 
     774                         acc_id, index)); 
     775 
    773776    /* Create UAC dialog */ 
    774777    status = pjsip_dlg_create_uac( pjsip_ua_instance(),  
    775778                                   &acc->cfg.id, 
    776                                    &acc->cfg.contact, 
     779                                   &acc->real_contact, 
    777780                                   &buddy->uri, 
    778781                                   NULL, &dlg); 
Note: See TracChangeset for help on using the changeset viewer.