Re: IPPhone provisioning in CE 6 R2
- From: "Gunasekaran Ramanujam" <gunasekaran.ramanujam@xxxxxxxxx>
- Date: Thu, 14 Feb 2008 00:26:42 -0000
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
.
- Follow-Ups:
- Re: IPPhone provisioning in CE 6 R2
- From: Gunasekaran Ramanujam
- Re: IPPhone provisioning in CE 6 R2
- References:
- IPPhone provisioning in CE 6 R2
- From: Jothishankar
- Re: IPPhone provisioning in CE 6 R2
- From: Gunasekaran Ramanujam
- Re: IPPhone provisioning in CE 6 R2
- From: Jothishankar
- Re: IPPhone provisioning in CE 6 R2
- From: Gunasekaran Ramanujam
- Re: IPPhone provisioning in CE 6 R2
- From: Jothishankar
- IPPhone provisioning in CE 6 R2
- Prev by Date: Re: IPPhone provisioning in CE 6 R2
- Next by Date: Re: How does a passthru driver intercept wireless wan network traffic
- Previous by thread: Re: IPPhone provisioning in CE 6 R2
- Next by thread: Re: IPPhone provisioning in CE 6 R2
- Index(es):
Relevant Pages
|
Loading