On 17 July 2014 08:37, Sylvain Berfini <address@hidden>
wrote:
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 [1]"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [2]"
xsi:schemaLocation="http://www.linphone.org/xsds/lpconfig.xsd [1]
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>
Thanks for that! I got an xml error until I removed the <> from around
the reg_proxy and reg_route items.
I additionally tried to add the setting to not verify certs, by using
the following:
<section name="sip">
<entry name="verify_server_certs">0</entry>
</section>
However, this did not have any affect. Is the remote provisioning
limited as to which linphonerc sections it can set?
Regards,
-Barry Flanagan
!DSPAM:53c797f417242938528205!
Links:
------
[1] http://www.linphone.org/xsds/lpconfig.xsd
[2] http://www.w3.org/2001/XMLSchema-instance
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
!DSPAM:53c797f417242938528205!