Dialer SDK > Implementation details > Dialing provider API > IDialingProvider > _Dialer and _ExtensionName properties
 
_Dialer and _ExtensionName properties
The returned dialer object is referenced as _Dialer and the extension name for the current interview is referenced using _ExtensionName. The _Dialer property provides access to a specific dialer object model, depending on the dialer in use for the interview. The _ExtensionName property indexes object model collection to obtain an extension object.
Example
QTransfer "Thanks for your help, I need to transfer your call to another interviewer for further discussion. Is that ok?"
categorical [1..1]
{
Yes "Yes",
No "No"
};

QTransferred "Please wait for the call to be transferred then choose Yes if the transfer occurred and No if there was an error"
categorical [1..1]
{
Yes "Yes, transfer occurred",
No "No, there was an error"
};
In the following example, a PRO-T-S third party dialer is being used. The PRO-T-S dialer object model includes an InterviewerExtensions object (other third party dialers may use different object models). The example uses the generic _Dialer and _ExtensionName intrinsics to access functionality specific to the PRO-T-S dialer.
QTransfer.Ask()
If (QTransfer = {Yes}) Then
' Access the dialer specific Extension object model
' and send the dialer specific command
_Dialer.InterviewerExtensions[_ExtensionName].SendUserInformation("FH: 9000T" + TransferPhoneNumber + DTMF)

QTransferred.Ask()
' Etc...


End If
The PRO-T-S dialer object model includes a SendUserInformation method on the extension object that can be used to send specific commands.
FH is a Flash Hook for PRO-T-S
9000T causes a transfer
TransferPhoneNumber is the phone number from which to transfer
DTMF to send in order to finish the transfer
See also
IDialingProvider