![]() |
PortSIP VoIP SDK Manual for Mac
15.1
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 | |
| (int) | - PortSIPSDK::refer:referTo: |
| Refer the current call to another one. More... | |
| (int) | - PortSIPSDK::attendedRefer:replaceSessionId:referTo: |
| Make an attended refer. More... | |
| (int) | - PortSIPSDK::outOfDialogRefer:replaceMethod:target:referTo: |
| Send an out of dialog REFER to replace the specified call. More... | |
| (long) | - PortSIPSDK::acceptRefer:referSignaling: |
| Once the REFER request accepted, a new call will be made if called this function. The function is usually called after onReceivedRefer callback event. More... | |
| (int) | - PortSIPSDK::rejectRefer: |
| Reject the REFER request. More... | |
| - (int) refer: | (long) | sessionId | |
| referTo: | (NSString *) | referTo | |
Refer the current call to another one.
| sessionId | The session ID of the call. |
| referTo | Target of the refer. It could be either "sip:number@sipserver.com" or "number". |
| - (int) attendedRefer: | (long) | sessionId | |
| replaceSessionId: | (long) | replaceSessionId | |
| referTo: | (NSString *) | referTo | |
Make an attended refer.
| sessionId | The session ID of the call. |
| replaceSessionId | Session ID of the replaced call. |
| referTo | Target of the refer. It can be either "sip:number@sipserver.com" or "number". |
| - (int) outOfDialogRefer: | (long) | replaceSessionId | |
| replaceMethod: | (NSString *) | replaceMethod | |
| target: | (NSString *) | target | |
| referTo: | (NSString *) | referTo | |
Send an out of dialog REFER to replace the specified call.
| replaceSessionId | The session ID of the session which will be replaced. |
| replaceMethod | The SIP method name which will be added in the "Refer-To" header, usually INVITE or BYE. |
| target | The target to which the REFER message will be sent. |
| referTo | The URI to be added into the "Refer-To" header. |
| - (long) acceptRefer: | (long) | referId | |
| referSignaling: | (NSString *) | referSignaling | |
Once the REFER request accepted, a new call will be made if called this function. The function is usually called after onReceivedRefer callback event.
| referId | The ID of REFER request that comes from onReceivedRefer callback event. |
| referSignaling | The SIP message of REFER request that comes from onReceivedRefer callback event. |
| - (int) rejectRefer: | (long) | referId |
Reject the REFER request.
| referId | The ID of REFER request that comes from onReceivedRefer callback event. |