|
From: | Barry Flanagan |
Subject: | Re: [Linphone-developers] specify pre-defined settings in Linphone Android |
Date: | Thu, 17 Jul 2014 10:25:41 +0100 |
Hi Saumil,
I think the remote provisioning would be more suited to what you want than just hardcode the settings in the linphonerc (at least for some of them, like route and proxy).
The remote provisioning is an xml file but using the same structure as the linphonerc, and it is downloaded at each start of linphone (or just once, your choice) to apply it's configuration.
To use the remote provisioning, add this line in the linphonerc:
[misc]
config-uri=http://[url_of_config_file]
Your provisioning file could look like this:
<config xmlns="http://www.linphone.org/xsds/lpconfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.linphone.org/xsds/lpconfig.xsd lpconfig.xsd">
<section name="proxy_default_values">
<entry name="reg_proxy"><sip:sip.linphone.org:5223;transport=tls></entry>
<entry name="reg_route"><sip:sip.linphone.org:5223;transport=tls></entry>
[Prev in Thread] | Current Thread | [Next in Thread] |