[Top][All Lists]

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

[Linphone-developers] iPhone: load default settings on first launch (pat

From: Tom Covo
Subject: [Linphone-developers] iPhone: load default settings on first launch (patch)
Date: Wed, 23 Mar 2011 18:13:58 -0400


On iPhone, the default settings (as specified by the DefaultValue key in the Settings bundle plist) are only loaded when the user goes to Linphone's settings page. If you try to use Linphone before doing this (e.g. with direct IP address dialing), calls will fail because all codecs are disabled. More context for the problem is provided in the forwarded messages below.

This is a patch which loads all the DefaultValues the first time Linphone is launched, if the defaults have not already been loaded.


On Wed, Mar 9, 2011 at 9:57 PM, Yi Chen <address@hidden> wrote:
Dear Tom,

I tried following what you said, and it works now.
Thanks a lot.
It will be appreciated if you can send me your patch.

Thank you,


2011/3/10 Tom Covo <address@hidden>
Hi Chen,

I have seen the "no common codecs" error when using the iPhone. To fix it, try going into Linphone's settings (in the iPhone settings app) and verifying that all the desired codecs are enabled. Even if they were already enabled, viewing the settings once is important because it loads the default settings. If the default settings are not loaded, all values are read as false by linphone. (This is buggy behaviour, but most people don't notice it because they always go into the settings app to set up their SIP account before trying to make their first call. I have a patch for this, I'll see if I can submit it.)

Just to re-iterate the root cause of the problem: linphone on iPhone has a set of default values for its settings, but these default values are only loaded into the configuration the first time the user views linphone's setting in the iPhone's The expected behaviour would be for linphone to load these default values the first time it is launched after installing.


On Wed, Mar 9, 2011 at 1:17 AM, Yi Chen <address@hidden> wrote:
Dear Tom

Thanks for your answer again. 
I rebuilt it following your instruction and try to set up connection between two smartphone clients again. ( without SIP account set)
Without good luck , I got  "no common codecs" error,
no matter it is between 2 iphones or between iphone and pc.



Attachment: loadsettings.patch
Description: Binary data

reply via email to

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