summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-09-22 07:41:43 +0000
committerBenny Prijono <bennylp@teluu.com>2011-09-22 07:41:43 +0000
commit4b5d70727093a0441e50b42ab9b1a239819812f4 (patch)
treeba4a22769aa78c31e8a1ab3b6377bd66908e17e1
parent3b2069a5216db393cf2ef4d1786d06571d043348 (diff)
More re #1375: fixed bug, the reg_first_retry interval is not copied to account config with pjsua_acc_modify()!
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3770 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/src/pjsua-lib/pjsua_acc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_acc.c b/pjsip/src/pjsua-lib/pjsua_acc.c
index 4c2f337f..0a7cf16e 100644
--- a/pjsip/src/pjsua-lib/pjsua_acc.c
+++ b/pjsip/src/pjsua-lib/pjsua_acc.c
@@ -960,6 +960,7 @@ PJ_DEF(pj_status_t) pjsua_acc_modify( pjsua_acc_id acc_id,
acc->cfg.unreg_timeout = cfg->unreg_timeout;
acc->cfg.allow_contact_rewrite = cfg->allow_contact_rewrite;
acc->cfg.reg_retry_interval = cfg->reg_retry_interval;
+ acc->cfg.reg_first_retry_interval = cfg->reg_first_retry_interval;
acc->cfg.drop_calls_on_reg_fail = cfg->drop_calls_on_reg_fail;
if (acc->cfg.reg_delay_before_refresh != cfg->reg_delay_before_refresh) {
acc->cfg.reg_delay_before_refresh = cfg->reg_delay_before_refresh;