IVoIPMgr::Reregister
This method reregisters the phone. It first unregisters with the SIP server. After this, the method reprovisions by getting a new URI and server from the directory client, through the IVoIPDirectoryClient interface. Finally the method registers the phone with the new SIP server.
HRESULT Reregister(
VoIPMgrParameters* pvmpMgrParams
);
Parameters
- pvmpMgrParams
[in] Pointer to a VoIPMgrParameters structure that contains the parameters for the SIP server and directory client.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
VOIP_E_BUSY | Manager is busy. |
VOIP_E_NOMEDIAMGR | No media manager is available for use by the VoIP manager. |
VOIP_E_NOTINITIALIZED | Manager not initialized. |
VOIP_E_PROVISIONING_FAILED | The method failed to provision the phone during initialization. |
Remarks
This method posts its progress by using IVoIPUI::OnSystemEvent.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Voipmanager.h, Voipmanager.idl.
Link Library: Voipguid.lib.
See Also
VoIP Application Interface Layer Architecture | VoIP Application Interface Layer Reference | IVoIPDirectoryClient | IVoIPUI::OnSystemEvent | VoIPMgrParameters
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.