Changeset 5455 for pjproject/trunk/pjsip/src/pjsua2/account.cpp
- Timestamp:
- Oct 7, 2016 7:42:22 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/account.cpp
r5410 r5455 44 44 NODE_READ_UNSIGNED (this_node, unregWaitMsec); 45 45 NODE_READ_UNSIGNED (this_node, proxyUse); 46 NODE_READ_STRING (this_node, contactParams); 46 47 47 48 readSipHeaders(this_node, "headers", headers); … … 62 63 NODE_WRITE_UNSIGNED (this_node, unregWaitMsec); 63 64 NODE_WRITE_UNSIGNED (this_node, proxyUse); 65 NODE_WRITE_STRING (this_node, contactParams); 64 66 65 67 writeSipHeaders(this_node, "headers", headers); … … 330 332 ret.unreg_timeout = regConfig.unregWaitMsec; 331 333 ret.reg_use_proxy = regConfig.proxyUse; 334 ret.reg_contact_params = str2Pj(regConfig.contactParams); 332 335 for (i=0; i<regConfig.headers.size(); ++i) { 333 336 pj_list_push_back(&ret.reg_hdr_list, ®Config.headers[i].toPj()); … … 464 467 regConfig.unregWaitMsec = prm.unreg_timeout; 465 468 regConfig.proxyUse = prm.reg_use_proxy; 469 regConfig.contactParams = pj2Str(prm.reg_contact_params); 466 470 regConfig.headers.clear(); 467 471 hdr = prm.reg_hdr_list.next;
Note: See TracChangeset
for help on using the changeset viewer.