linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] specify pre-defined settings in Linphone Andro


From: Barry Flanagan
Subject: Re: [Linphone-developers] specify pre-defined settings in Linphone Android
Date: Thu, 17 Jul 2014 10:25:41 +0100

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" 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>


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]