| DiaSpringWrapperTransferCall Method |
Initiates a transfer from one extension to another.
Namespace: InkostarAssembly: DiaSpringWrapper (in DiaSpringWrapper.dll) Version: 0.0.0.0
Syntaxpublic void TransferCall(
string ChannelName,
string DestinationNumber,
int FlashHookDuration,
bool DoBlindTransfer
)
Public Sub TransferCall (
ChannelName As String,
DestinationNumber As String,
FlashHookDuration As Integer,
DoBlindTransfer As Boolean
)
public:
void TransferCall(
String^ ChannelName,
String^ DestinationNumber,
int FlashHookDuration,
bool DoBlindTransfer
)
member TransferCall :
ChannelName : string *
DestinationNumber : string *
FlashHookDuration : int *
DoBlindTransfer : bool -> unit
Parameters
- ChannelName
- Type: SystemString
The Channel name on the Dialogic board on which to initiate the transfer. - DestinationNumber
- Type: SystemString
The destination number or extension. - FlashHookDuration
- Type: SystemInt32
The duration of the flash hook in milliseconds. - DoBlindTransfer
- Type: SystemBoolean
Set to True to perform a blind transfer in which case the channel is set on-hook after transfer. Set to False for a consultation transfer.
Remarks
This function will fail if invoked before the [device].Open() function.
This function will fail if there is no active call on the channel.
Set the FlashHookDuration to around 500 ms as a starting point otherwise consult your PBX documentation..
If the call gets disconnected too early reduce the FlashHookDuration value gradually up to around 100 ms or less.
If the call stays connected but no transfer has occured, increase the FlashHookDuration value gradually up to 500 ms or more.
Examples
Perform a blind transfer on the active call to extension 4096 using a flash hook duration of 150 ms
C#: objDevice.TransferCall("dxxxB1C1", "4096", 150, true);
VB.NET: objDevice.TransferCall("dxxxB1C1", "4096", 150, True)
See Also