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

Fields

  NameDescription
AcceptRequest
Important: Application code should set this to a non zero value if the event subscribe request is going to be accepted. If the application does not want to accept the subscribe request, this value must be set to zero.
ContactUserName
The alternate name of the user sending the event subscription. This is the same as the "username" specified in the received SIP "Contact:" header.
EventName
The name of the event the subscribing side ("other end") wants to receive.
EventParameter
The event parameter string.
ExpiresSeconds
The time duration the other device wants to receive event notifications.
NotifyObject
If your application decides to accept an event subscription, use this object to send notifications to the far end device. If your application accepts an event subscription, it takes ownership of this object for future use. Your application must eventually free this object internal handle by calling the API procedure when the subscription is terminated by the far end or when your application terminates.
SrcHost
The host address of the sender.
SrcPort
The port address of the sender.
SrcUserName
The name of the user sending the event subscription. This is the same as the "username" specified in the received SIP "From:" header.

See Also