Re: IPPhone provisioning in CE 6 R2



On Feb 14, 1:45 pm, Jothishankar <shanka...@xxxxxxxxx> wrote:
On Feb 14, 11:15 am, "Gunasekaran Ramanujam"



<gunasekaran.ramanu...@xxxxxxxxx> wrote:
More findings:
The bootsrap based configuration follows a deploy mechanism formally, more
details below
http://msdn2.microsoft.com/en-us/library/bb667108.aspx

-g

"Gunasekaran Ramanujam" <gunasekaran.ramanu...@xxxxxxxxx> wrote in message

news:edWPLBqbIHA.3696@xxxxxxxxxxxxxxxxxxxxxxx

ok atlast i managed to bootstrap the device and retrieve the provisioning
file.

it should be placed under FTP://<device-macaddr>.xml. The reason why
provisioning.xml is not accepted here is the bootstrap app is for
managing the enterprise voip infrastructure where the admin can modify the
settings for the device and place it in the FTP server from which
the device will pickup and autoupdate the config. So here every config
becomes device instance specific, which can be addressed by means of
macaddr.xml

u need to add these reg entries ServerName,UserName,Password @
HKLM\System\VoIP\Bootstrap
though i tried to use the registery setting
HKLM\System\VoIP\Bootstrap\ServerInfoLocation = 1 it didnt work so had to
hard code choice.

and a small tweak to the code @bootstrapsample/engine.cpp::751; modify
code as
// check where we should get bootstrap server info from
BOOTSTRAP_QUERY_CHOICES QueryChoice = BOOTSTRAP_GET_FROM_DHCP;
/*RegistryGetDWORD(
SN_VOIP_BOOTSTRAPSERVER_ROOT,
SN_VOIP_BOOTSTRAPSERVER_PATH,
SN_VOIP_BOOTSTRAPSERVER_INFOLOCATION,
(DWORD*)&QueryChoice
); */
// patch to always get bootstrap info from registry
QueryChoice = BOOTSTRAP_GET_FROM_REGISTRY;

now the device is able to retrieve the provision <macaddr.xml> from the
FTP server.
But still the device didnt apply the settings as i think i had made
something wrong in the xml file; and i was in no mood to probe further as
i got it working when i
manually setup the configs.

Re shankars issue of hotkey registration i didnt probe more as that was
not the prime focus; so i just commented the code
@bootstrapsample/ui.cpp::352
/*HRESULT hr = PHRegisterHotKeys(
L"Bootstrap",
m_hwnd
);
if (FAILED(hr))
{
ASSERT(FALSE);
LOG_MESSAGE(_RETAIL, ZONE_BOOTSTRAP_ERROR, (L"Failed to
registering the hotkey\n"));
return FALSE;
}*/

PS: Shankar, incase u still cant get the provisioning going or not
interested to run a FTP server for testing stuff in emulator; but u still
want the persistancy of settings,
just hardcode the line settings in fp_voip.reg which can be choosen by the
device. not sure, may be it will require a small tweak.

Hope this helps for you.

-Gunasekaran Ramanujam

Thanks for all this useful information Guna. I'll work on it and get
back to you soon.

Hi Guna,

I tried out what you said and it works. I did the tweaks in the code
as you suggested and now the bootstrap application gets the server
setting registry, gets the xml file from the ftp server and able to
provision the application. The only thing I was not able to follow was
how the BOOTSTRAP_GET_FROM_DHCP and ServerInfoLocation works and why
it did not work for you.

But still I would like to have the option to be able to manually
provision (instead of FTP) by placing the xml file in a particular
location in the device and reboot, so that it picks up the new
settings. If there is anyway to do that, it would be helpful. For now,
I'll stick with the FTP provisioning.

Anyway, thanks for all the help. I really appreciate it.

Thanks,
Jothishankar
.



Relevant Pages

  • Re: IPPhone provisioning in CE 6 R2
    ... the device will pickup and autoupdate the config. ... now the device is able to retrieve the provision from the FTP server. ... But still the device didnt apply the settings as i think i had made something wrong in the xml file; and i was in no mood to probe further as i got it working when i ...
    (microsoft.public.windowsce.embedded)
  • Re: IPPhone provisioning in CE 6 R2
    ... the device will pickup and autoupdate the config. ... though i tried to use the registery setting ... FTP server. ... But still the device didnt apply the settings as i think i had made ...
    (microsoft.public.windowsce.embedded)
  • Re: Java problem on i386 7.0-CURRENT-200611 Again
    ... You may not have enough free space in your OUTPUTDIR. ... your bootstrap JDK is version ... accepting the Sun Community Source License, download the ... Bootstrap Settings: ...
    (freebsd-current)
  • RE: Publish to External FrontPage Server
    ... meaning Auto config, use proxy I am able to connect to the remote website. ... How can I make this work without having to disable the IE settings everytime ... Publish to External FrontPage Server ...
    (microsoft.public.isa)
  • Re: Java problem on i386 7.0-CURRENT-200611
    ... accepting the Sun Community Source License, download the ... I get this problem JAVA will not compile or takes all my resources I am out ... your bootstrap JDK is version ... Bootstrap Settings: ...
    (freebsd-current)