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
Register events

Functions

(void) - <PortSIPEventDelegate >::onRegisterSuccess:statusCode:sipMessage:
 
(void) - <PortSIPEventDelegate >::onRegisterFailure:statusCode:sipMessage:
 

Detailed Description

Register events

Function Documentation

◆ onRegisterSuccess:statusCode:sipMessage:()

- (void PortSIPEventDelegate) onRegisterSuccess: (char *)  statusText
statusCode: (int)  statusCode
sipMessage: (char *)  sipMessage 

When successfully registered to server, this event will be triggered.

Parameters
statusTextThe status text.
statusCodeThe status code.
sipMessageThe SIP message received.

◆ onRegisterFailure:statusCode:sipMessage:()

- (void PortSIPEventDelegate) onRegisterFailure: (char *)  statusText
statusCode: (int)  statusCode
sipMessage: (char *)  sipMessage 

If registration to SIP server fails, this event will be triggered.

Parameters
statusTextThe status text.
statusCodeThe status code.
sipMessageThe SIP message received.