Re: IPPhone provisioning in CE 6 R2
- From: Jothishankar <shankarvj@xxxxxxxxx>
- Date: Thu, 14 Feb 2008 11:45:16 -0800 (PST)
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.
.
- Follow-Ups:
- Re: IPPhone provisioning in CE 6 R2
- From: Jothishankar
- 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
- Re: IPPhone provisioning in CE 6 R2
- From: Gunasekaran Ramanujam
- Re: IPPhone provisioning in CE 6 R2
- From: Gunasekaran Ramanujam
- IPPhone provisioning in CE 6 R2
- Prev by Date: Re: User mode driver & InterruptInitialize not working
- Next by Date: Re: NEED HELP!!!
- 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