![]() |
PortSIP VoIP SDK Manual for Windows
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 | |
| Int32 | PortSIP.SIPCallbackEvents.onRegisterSuccess (Int32 callbackIndex, Int32 callbackObject, String statusText, Int32 statusCode, StringBuilder sipMessage) |
| Int32 | PortSIP.SIPCallbackEvents.onRegisterFailure (Int32 callbackIndex, Int32 callbackObject, String statusText, Int32 statusCode, StringBuilder sipMessage) |
Register events
| Int32 PortSIP.SIPCallbackEvents.onRegisterSuccess | ( | Int32 | callbackIndex, |
| Int32 | callbackObject, | ||
| String | statusText, | ||
| Int32 | statusCode, | ||
| StringBuilder | sipMessage | ||
| ) |
When successfully registered to server, this event will be triggered.
| callbackIndex | This is a callback index passed in when creating the SDK library. |
| callbackObject | This is a callback object passed in when creating the SDK library. |
| statusText | The status text. |
| statusCode | The status code. |
| sipMessage | The SIP message received. |
| Int32 PortSIP.SIPCallbackEvents.onRegisterFailure | ( | Int32 | callbackIndex, |
| Int32 | callbackObject, | ||
| String | statusText, | ||
| Int32 | statusCode, | ||
| StringBuilder | sipMessage | ||
| ) |
If registration to SIP server fails, this event will be triggered.
| statusText | The status text. |
| statusCode | The status code. |
| sipMessage | The SIP message received. |