Ignore:
Timestamp:
Mar 8, 2019 5:22:49 AM (6 years ago)
Author:
ming
Message:

Re #2147 (misc): Contact params update when modifying account

The current contact params updates are not applied when calling pjsua_call_modify(). Updating contact header can be quite complicated so a simpler workaround is to trigger account registration first (the same solution is used to update force_contact).

Thanks to Lars Olsson for the report.

File:
1 edited

Legend:

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

    r5909 r5946  
    10141014                            &cfg->reg_contact_params); 
    10151015        update_reg = PJ_TRUE; 
     1016        unreg_first = PJ_TRUE; 
    10161017    } 
    10171018 
     
    10211022                            &cfg->contact_params); 
    10221023        update_reg = PJ_TRUE; 
     1024        unreg_first = PJ_TRUE; 
    10231025    } 
    10241026 
     
    10281030                            &cfg->contact_uri_params); 
    10291031        update_reg = PJ_TRUE; 
     1032        unreg_first = PJ_TRUE; 
    10301033    } 
    10311034 
Note: See TracChangeset for help on using the changeset viewer.