![]() |
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 | |
(int) | - PortSIPSDK::refer:referTo: |
Refer the current call to another one. More... | |
(int) | - PortSIPSDK::attendedRefer:replaceSessionId:referTo: |
Make an attended refer. More... | |
(int) | - PortSIPSDK::attendedRefer2:replaceSessionId:replaceMethod:target:referTo: |
Make an attended refer with specified request line and specified method embedded into the "Refer-To" header. 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) attendedRefer2: | (long) | sessionId | |
replaceSessionId: | (long) | replaceSessionId | |
replaceMethod: | (NSString *) | replaceMethod | |
target: | (NSString *) | target | |
referTo: | (NSString *) | referTo | |
Make an attended refer with specified request line and specified method embedded into the "Refer-To" header.
sessionId | Session ID of the call. |
replaceSessionId | Session ID of the replaced call. |
replaceMethod | The SIP method name which will be embedded in the "Refer-To" header, usually INVITE or BYE. |
target | The target to which the REFER message will be sent. It appears in the "Request Line" of REFER message. |
referTo | Target of the refer that appears in the "Refer-To" header. 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. |