Ignore:
Timestamp:
Jun 15, 2006 12:25:46 PM (18 years ago)
Author:
bennylp
Message:

Fixed couple of bugs in pjsua API: (1) server presence subscription not setting credentials, and (2) incorrect account status is reported when registration failed

File:
1 edited

Legend:

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

    r503 r512  
    569569        info->status_text = pj_str(info->buf_); 
    570570    } else if (acc->reg_last_code) { 
    571         if (acc->regc) { 
     571        if (info->has_registration) { 
    572572            info->status = acc->reg_last_code; 
    573573            info->status_text = *pjsip_get_status_text(acc->reg_last_code); 
Note: See TracChangeset for help on using the changeset viewer.