linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Remote provisioning is not able to parse my xm


From: Diorcet Yann
Subject: Re: [Linphone-developers] Remote provisioning is not able to parse my xml file (android)
Date: Fri, 03 May 2013 13:26:29 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

Hi Pankay,

Yes it's possible. You can use lpc2xml_test program (from tools directory) to help you to convert a .lpconfig in xml file.

lpc2xml_test --help
usage lpc2xml_test convert <lpc_file> <xml_file>

Regards,

Le 03/05/13 12:13, address@hidden a écrit :
Hi Yan, 
 
 I wanted to know if it is possible to add sip username, password , domain , proxy with couple of more parameters to add to linphone configuration, so that user doesn't have to enter the username, password and other stuff  manually. 

Pankaj


On Fri, May 3, 2013 at 2:54 PM, Diorcet Yann <address@hidden> wrote:
Hi Pankay,

No for the moment there is no document about this feature (it's new).
What information do you seek?

Regards,

Le 03/05/13 10:00, address@hidden a écrit :
Thats great Yann. 

is there any document/page/wiki/mail thread  where capabilities of remote provisioning is mentioned ? 

Pankaj



On Fri, May 3, 2013 at 11:56 AM, Yann Diorcet <address@hidden> wrote:
Hi,
I push your patch on master branch. Thanks for fixing this omission.


Regards

2013/5/3 address@hidden <address@hidden>
Hi,
 I tried the same and it seems to validating fine. 
Later on  I tried the as you mentioned earlier,  I found a small bug in the code for remote provisioning. Please find the patch for the fix for the same. 

The patch will fix the problem of not able to read the xml file correctly. 

 However my initial problem of assigning a sip address and proxy via remote provisioning is not solved as yet. I am trying couple of things on that. will update here.

 Please find the attached patch for the remote provisioning bug. 

Pankaj


>Hi,

>You original xml file is correct (i checked with the xml2lpc_test validate).
>Please double check if the received file (before parsing) is the same
(with the debugger or adding a dump of the data buffer).

>Regards,
>Le 02/05/13 11:49, address@hidden a ?crit :

> Hi,
>  I am trying to use remote provisioning feature of linphone by setting
> a URL which points to a xml file to load the configuration automatically.
> I generated that xml file using linphone tools on linux from
> linphonerc file. I have attached the linphonerc.xml file to this email.
>
> Following are the logs that  I got
>
> I/org.linphone (31882): Download remote provisioning file from
http://192.168.0.102:9000/linphonerc.xml
> I/org.linphone(31882): Download Success
> E/org.linphone(31882): Can't parse string
> E/org.linphone(31882): Entity: line 1: parser error : Start tag
> expected, '<' not found
> E/org.linphone(31882): 5</entry>
> E/org.linphone(31882):
>
> E/Vocare-Reach(31882): Error during remote provisioning file parsing
>
> I don't see any issues with xml file. Has anybody tried this before ?
>
> Pankaj
>
>

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




--
Yann Diorcet



--
Yann Diorcet


reply via email to

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