![]() |
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.PortSIPLib.refer (Int32 sessionId, String referTo) |
Refer the current call to another one. More... | |
Int32 | PortSIP.PortSIPLib.attendedRefer (Int32 sessionId, Int32 replaceSessionId, String referTo) |
Make an attended refer. More... | |
Int32 | PortSIP.PortSIPLib.attendedRefer2 (IntPtr libSDK, Int32 sessionId, Int32 replaceSessionId, String replaceMethod, String target, String referTo) |
Make an attended refer with specified request line and specified method embedded into the "Refer-To" header. More... | |
Int32 | PortSIP.PortSIPLib.outOfDialogRefer (Int32 replaceSessionId, String replaceMethod, String target, String referTo) |
Send an out of dialog REFER to replace the specified call. More... | |
Int32 | PortSIP.PortSIPLib.acceptRefer (Int32 referId, String referSignalingMessage) |
Accept the REFER request, and a new call will be made if called this function. The function is usually called after onReceivedRefer callback event. More... | |
Int32 | PortSIP.PortSIPLib.rejectRefer (Int32 referId) |
Reject the REFER request. More... | |
Int32 PortSIP.PortSIPLib.refer | ( | Int32 | sessionId, |
String | referTo | ||
) |
Refer the current call to another one.
sessionId | The session ID of the call. |
referTo | Target of the refer, which can be either "sip:number@sipserver.com" or "number". |
Int32 PortSIP.PortSIPLib.attendedRefer | ( | Int32 | sessionId, |
Int32 | replaceSessionId, | ||
String | referTo | ||
) |
Make an attended refer.
sessionId | The session ID of the call. |
replaceSessionId | Session ID of the repferred call. |
referTo | Target of the refer, which can be either "sip:number@sipserver.com" or "number". |
Int32 PortSIP.PortSIPLib.attendedRefer2 | ( | IntPtr | libSDK, |
Int32 | sessionId, | ||
Int32 | replaceSessionId, | ||
String | replaceMethod, | ||
String | target, | ||
String | 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 embeded 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". |
Int32 PortSIP.PortSIPLib.outOfDialogRefer | ( | Int32 | replaceSessionId, |
String | replaceMethod, | ||
String | target, | ||
String | 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. |
Int32 PortSIP.PortSIPLib.acceptRefer | ( | Int32 | referId, |
String | referSignalingMessage | ||
) |
Accept the REFER request, and 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. |
referSignalingMessage | The SIP message of REFER request that comes from onReceivedRefer callback event. |
Int32 PortSIP.PortSIPLib.rejectRefer | ( | Int32 | referId | ) |
Reject the REFER request.
referId | The ID of REFER request that comes from onReceivedRefer callback event. |