PortSIP VoIP SDK Manual for iOS  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Functions
INFO/OPTIONS message events

Functions

(void) - <PortSIPEventDelegate >::onRecvOptions:
 
(void) - <PortSIPEventDelegate >::onRecvInfo:
 
(void) - <PortSIPEventDelegate >::onRecvNotifyOfSubscription:notifyMessage:messageData:messageDataLength:
 

Detailed Description

Function Documentation

◆ onRecvOptions:()

- (void PortSIPEventDelegate) onRecvOptions: (char *)  optionsMessage

This event will be triggered when receiving the OPTIONS message.

Parameters
optionsMessageThe whole received OPTIONS message in text format.

◆ onRecvInfo:()

- (void PortSIPEventDelegate) onRecvInfo: (char *)  infoMessage

This event will be triggered when receiving the INFO message.

Parameters
infoMessageThe whole received INFO message in text format.

◆ onRecvNotifyOfSubscription:notifyMessage:messageData:messageDataLength:()

- (void PortSIPEventDelegate) onRecvNotifyOfSubscription: (long)  subscribeId
notifyMessage: (char *)  notifyMessage
messageData: (unsigned char *)  messageData
messageDataLength: (int)  messageDataLength 

This event will be triggered when receiving a NOTIFY message of the subscription.

Parameters
subscribeIdThe ID of SUBSCRIBE request.
notifyMessageThe received INFO message in text format.
messageDataThe received message body. It can be either text or binary data.
messageDataLengthThe length of "messageData".