]> sjero.net Git - linphone/commitdiff
save contact parameters
authorSimon Morlat <simon.morlat@linphone.org>
Mon, 10 Sep 2012 14:14:29 +0000 (16:14 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Mon, 10 Sep 2012 14:14:29 +0000 (16:14 +0200)
coreapi/proxy.c
oRTP

index 47fe08bdda30401886af9412814a843af33c198e..ba9c0d75214865b524d689cbeade84a5ac81069c 100644 (file)
@@ -740,6 +740,9 @@ void linphone_proxy_config_write_to_config_file(LpConfig *config, LinphoneProxyC
        if (obj->reg_identity!=NULL){
                lp_config_set_string(config,key,"reg_identity",obj->reg_identity);
        }
+       if (obj->contact_params!=NULL){
+               lp_config_set_string(config,key,"contact_params",obj->contact_params);
+       }
        lp_config_set_int(config,key,"reg_expires",obj->expires);
        lp_config_set_int(config,key,"reg_sendregister",obj->reg_sendregister);
        lp_config_set_int(config,key,"publish",obj->publish);
@@ -774,6 +777,8 @@ LinphoneProxyConfig *linphone_proxy_config_new_from_config_file(LpConfig *config
        tmp=lp_config_get_string(config,key,"reg_route",NULL);
        if (tmp!=NULL) linphone_proxy_config_set_route(cfg,tmp);
 
+       linphone_proxy_config_set_contact_parameters(cfg,lp_config_get_string(config,key,"contact_parameters",NULL));
+       
        linphone_proxy_config_expires(cfg,lp_config_get_int(config,key,"reg_expires",DEFAULT_INT(config,reg_expires,600)));
        linphone_proxy_config_enableregister(cfg,lp_config_get_int(config,key,"reg_sendregister",0));
        
diff --git a/oRTP b/oRTP
index cf067f6e6f7509cd2576a4ac4e89b47ab9296495..385f742c579e443862ee30cfbcd691a0a6a5e145 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit cf067f6e6f7509cd2576a4ac4e89b47ab9296495
+Subproject commit 385f742c579e443862ee30cfbcd691a0a6a5e145