Re: IPPhone provisioning in CE 6 R2



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



Relevant Pages

  • Re: IPPhone provisioning in CE 6 R2
    ... the device will pickup and autoupdate the config. ... // check where we should get bootstrap server info from ... FTP server. ... But still the device didnt apply the settings as i think i had made ...
    (microsoft.public.windowsce.embedded)
  • 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: 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: [kde] Hangover from kde 3.5 in kde4 when launching file manager after plugging in a SSC card
    ... generically aka system settings", settings (got that, the kcontrol aka ... User Settings", "File Associations". ... the mimetype is determined automatically (by file ... it's very likely a system config ...
    (KDE)
  • Re: OTM 2.2 configuration issue?
    ... make sure that you don't have any 3rd party FTP server ... Initializing the Node Properties file transfer process for ... ... Failed in parsing bootptab file. ... Unable to proceed with a manual config ...
    (comp.dcom.sys.nortel)

Loading