The VoipMediaEngine..::.REGISTER_DETAILS type exposes the following members.

Fields

  NameDescription
AcceptRegistration
If your application determines that it wants to accept the registration request from the far end device, then it should set this member to a non zero value before returning execution back to the media engine from the event handler. If the registration request is not acceptable, then this member should be set to zero.
ContactHost
Used as binding information. Devices generally set this to their IP address.
ContactName
Used as binding information. Devices generally set this to the same value as the pToName member.
ContactPort
Used as binding information. Devices generally set this to their UDP port they are using for receiving protocol data.
ExpiresTimeSeconds
The time in seconds the far end device wants to be registered. If this value is set to zero, then the far end device no longer wishes to be registered.
RawSipMesage
A string that contains the raw SIP protocol REGISTER message.
ReceivedFromIpAddress
The real IP address that the registration request came from. A registration based application may have use for this information if the telephony network environment uses NAT routers and/or firewall network elements.
ReceivedFromPort
The real network port that the registration request came from. A registration based application may have use for this information if the telephony network environment uses NAT routers and/or firewall network elements.
RegistrationDomain
The domain name the far end is using.
ToHost
The host name of the device that is registering.
ToName
The name the far end device wants to register. This name (or extension phone number) is used by your application as the key for looking up the binding address information for a user (i.e IP address and port of the registered user).
ToPort
The network port of the device that is registering.

See Also