Skip to main content

Overview

Special Destinations

Special destinations are built-in PBX actions that can be selected from destination fields in extensions, DIDs, IVRs, queues, flows, and other routing objects. They do not route to a normal endpoint; instead, they execute a predefined dialplan action such as answering, hanging up, changing call flags, updating extension state, recording a message, or manipulating queue membership.

Some actions use the current call context, such as the calling extension, caller ID, tenant, channel, or active destination. Other actions require a parameter. In selector labels, [EXT] means an extension-like value is expected and [NUM] means a number or dialed value is expected.

Campaign Destination Actions

Campaign destination actions appear in destination selectors under Specials, but they are linked to a selected campaign record instead of to a row in the generic special destination table. The selector value includes the campaign id, for example STARTCAMPAIGN-23.

CodeDescriptionParameter use
STARTCAMPAIGN-{campaign_id}Starts the selected ONDEMAND campaign. Before setting the campaign state to STARTNOW, MiRTA PBX resets the campaign call attempts, last attempt time, bill seconds, and disposition. For FAX campaigns it also clears fields 1, 2, and 3, matching the Reset Calls behavior in the campaigns page.Campaign selection; ONDEMAND campaigns only
STOPCAMPAIGN-{campaign_id}Stops the selected ONDEMAND campaign by setting its state back to READY.Campaign selection; ONDEMAND campaigns only
RESETCAMPAIGNCALLS-{campaign_id}Resets all numbers for the selected campaign without changing the campaign state. It is available for campaigns of any type and performs the same reset as the Reset Calls action in the campaigns page.Campaign selection

Music On Hold Destination Actions

Music On Hold destination actions appear in destination selectors under Specials, but they are linked to a selected Music On Hold record instead of to a row in the generic special destination table. The selector value includes the Music On Hold id, for example SETDEFAULTMOH-7.

CodeDescriptionParameter use
SETDEFAULTMOH-{music_on_hold_id}Sets the selected Music On Hold class as the tenant default by updating the tenant DEFAULTMOH setting. It is commonly used in cronjobs to switch the tenant hold music on a schedule. The action does not answer, hang up, or play audio; execution continues to any following destination.Music On Hold selection; tenant or shared Music On Hold records only

Phone Book Destination Actions

Phone Book destination actions search every phone book in the current tenant, so no phone book parameter is selected in the destination field. The lookup uses the current caller ID number and compares it with the end of each configured PHONE1 through PHONE7 value. MiRTA PBX compares only the shorter of the two values, so an 11 digit caller ID can match a 10 digit phone book number by its last 10 digits, and a 10 digit caller ID can match the last 10 digits of an 11 digit phone book number.

A leading + is ignored for matching. If more than one entry matches, MiRTA PBX uses the first matching entry by phone book id and then phone book entry id. If the caller ID is empty or no entry matches, the action does not change the call.

CodeDescriptionParameter use
ROUTEBYANYPHONEBOOKRoutes the call to the ROUTING destination configured on the matched phone book entry. The routed destination can be an IVR, queue, hunt list, DISA, flow, custom destination, paging group, playback, extension, or any other dialable destination supported by the normal phone book route action.Uses the current caller ID; no explicit parameter
SETCALLERIDNAMEBYANYPHONEBOOKSets the call caller ID name from the NAME field on the matched phone book entry and updates the call log caller ID name. It does not route the call; execution continues to the next destination.Uses the current caller ID; no explicit parameter

Available Special Destinations

CodeDescriptionParameter use
ADDCALLERIDADEMCOAdd the CallerID number to Ademco Alarms for this tenantNo explicit parameter
ADDVIRTUALASSIGNAdd the calling extension to virtual extension [EXT][EXT] parameter required
ADDVIRTUALASSIGNREBOOTAdd the calling extension to virtual extension [EXT] and reboot it[EXT] parameter required
ADDVIRTUALASSIGNRESYNCAdd the calling extension to virtual extension [EXT] and resync it[EXT] parameter required
ALARMRECEIVERReceive an Ademco Alarm reportNo explicit parameter
ALLOWCALLEDSTARTSTOPRECORDINGAllow called to start and stop recording the callNo explicit parameter
ALLOWCALLEDTRANSFERAllow transfer from called partyNo explicit parameter
ALLOWCALLERSTARTSTOPRECORDINGAllow caller to start and stop recording the callNo explicit parameter
ALLOWCALLERTRANSFERAllow transfer from caller partyNo explicit parameter
ALWAYSMATCHAlways follow match destinationNo explicit parameter
ALWAYSNOTMATCHAlways follow to not match destinationNo explicit parameter
ANSWERAnswer the callNo explicit parameter
ANSWEREDELSEWHEREAlways report calls as answered elsewhereNo explicit parameter
BARGEBarge with extension [EXT][EXT] parameter required
BLACKLISTLASTONEBlacklist last received caller IDUses the current call context
BLACKLISTNUMBlacklist number [NUM][NUM] parameter required
BLOCKCIDBlock External Caller ID for dialing extensionUses the current call context
BUSYBusyNo explicit parameter
CALLBACKANYLASTONECallback last received caller ID, any type of callUses the current call context
CALLBACKBLINDCall back blind transfering extensionNo explicit parameter
CALLBACKLASTONECallback last received caller ID, inbound external callUses the current call context
CALLBACKONFMFMNUMBERCall back on FMFM number and then dial [NUM][NUM] parameter required
CHANGEPINLOCKChange the PIN to unlock the phoneNo explicit parameter
CHECKSCHEDULEDBYCLIDChecks for a due scheduled call in READY state where the scheduled destination number matches the current caller ID, plays the scheduled message, marks the scheduled call completed, and then continues the call flow.Uses the current call context
CLEANVIRTUALASSIGNRemove all extensions from virtual extension [EXT][EXT] parameter required
CLEANVIRTUALASSIGNREBOOTRemove all extensions from virtual extension [EXT] and reboot them[EXT] parameter required
CLEANVIRTUALASSIGNRESYNCRemove all extensions from virtual extension [EXT] and resync them[EXT] parameter required
CLEARMWIClear MWI for extension [EXT][EXT] parameter required
CLEARMYMWIClear MWI for the calling extensionUses the current call context
CLEARNOFOLLOWEXTENSIONReset following additional destinations for called extensionUses the current call context
CLEARONANSWERClear On Answer configurationNo explicit parameter
CONGESTIONSignal congestion to the calling partyNo explicit parameter
CONTINUEONHANGUPContinue execution when called party hangupNo explicit parameter
DELETEWAKEUPALARMWakeup Alarm - Disable the time setNo explicit parameter
DIALBYNAMEDIRECTORYDial by name directoryNo explicit parameter
DIALBYNAMENUMBERDial by name using the [NUM] dialed[NUM] parameter required
DIALFMFMDial FMFM number associated to extension [EXT][EXT] parameter required
DIALTHISFMFMDial the FMFM number for this extensionNo explicit parameter
DISABLEABUSEDisable Abuse DetectionNo explicit parameter
DISABLECHECKTEAMSTATUSDisable checking the Teams status for extensionsNo explicit parameter
DISABLEDNDDisable DND on the calling extensionUses the current call context
DISABLEFMFMDisable FMFM on the calling extensionUses the current call context
DISABLEONBUSYDisable on busy forwarding for calling extensionUses the current call context
DISABLEONNOANSWERDisable on no answer forwarding for calling extensionUses the current call context
DISABLEONOFFLINEDisable on offline forwarding for calling extensionUses the current call context
DISABLEREALDNDDisable DND on the physical phone extensionNo explicit parameter
DISABLEUNCONDITIONALDisable unconditional forwarding for calling extensionUses the current call context
DONTTRANSCRIBETHISCALLDo not transcribe this callNo explicit parameter
DUMPCHANDump channel variables (useful only for debug)Uses the current call context
ECHOTESTEcho testNo explicit parameter
ENABLECHECKTEAMSTATUSEnable checking the Teams status for extensionsNo explicit parameter
ENABLEDNDEnable DND on the calling extensionUses the current call context
ENABLEFMFMEnable FMFM on the calling extensionUses the current call context
ENABLEONBUSYEnable on busy forwarding for calling extensionUses the current call context
ENABLEONNOANSWEREnable on no answer forwarding for calling extensionUses the current call context
ENABLEONOFFLINEEnable on offline forwarding for calling extensionUses the current call context
ENABLEREALDNDEnable DND on the physical phone extensionNo explicit parameter
ENABLEUNCONDITIONALEnable unconditional forwarding for calling extensionUses the current call context
FORCEMOHGenerate Music on Hold to the calling partyNo explicit parameter
FORCERECORDINGForce Recording of the callNo explicit parameter
FORCERECORDINGNOBForce Recording of the call, even if not bridgedNo explicit parameter
FORCERINGINGGenerate a fake ringing tone to the calling partyNo explicit parameter
GETBALANCELoad the current account balance in variable ACCOUNTBALANCENo explicit parameter
HANGUPHangup the callNo explicit parameter
INTERCOMIntercom with extension [EXT] (two way audio)[EXT] parameter required
INVERTMATCHInvert condition matchNo explicit parameter
LOADVARSLoad Flow variablesNo explicit parameter
LOCKPHONELock the phoneNo explicit parameter
LOGINALLOWEDQUEUEALLLogin to all Queues, but only if in allowed agentsNo explicit parameter
LOGINQUEUEALLLogin to all QueuesNo explicit parameter
LOGINQUEUENUMLogin caller to Queue [NUM][NUM] parameter required
LOGOUTQUEUEALLLogout from all QueuesNo explicit parameter
LOGOUTQUEUENUMLogout caller from Queue [NUM][NUM] parameter required
MASKDIALMask the callerID on calling [NUM][NUM] parameter required
NEVERANSWEREDELSEWHERENever report calls as answered elsewhereNo explicit parameter
NOFOLLOWEXTENSIONDisable following additional destinations for called extensionUses the current call context
ONBUSYASKRESERVATIONOn internal call busy, ask for reservationNo explicit parameter
ONBUSYCALLWAITINGOn internal call busy, play Call Waiting Tone to callerNo explicit parameter
ONBUSYPLAYANDASKRESERVATIONOn internal call busy, play busy and ask for reservationNo explicit parameter
PAGEPage extension [EXT] (one way audio)[EXT] parameter required
PARKTHECALLPark the callNo explicit parameter
PARKTHECALLMUTEPark the call without announceNo explicit parameter
PARKTHECALLNUMPark the call in the [NUM] parking lot[NUM] parameter required
PAUSEALLCAMPAIGNSPause all running campaignsNo explicit parameter
PAUSEALLQUEUESPause caller from all queuesNo explicit parameter
PICKUPEXTENPickup Extension [EXT][EXT] parameter required
PICKUPGROUPPickup GroupNo explicit parameter
PLAYBALANCEPlay the current account balanceNo explicit parameter
PLAYBEEPPlay BeepNo explicit parameter
PLAYCALLERIDPlay the callerid of the calling partyNo explicit parameter
PLAYLASTANDASKDIALPlay latest caller ID and ask to dialUses the current call context
PLAYLASTWITHTIMEANDASKDIALPlay latest caller ID with time and ask to dialUses the current call context
PLAYMOHPlay Music on HoldNo explicit parameter
PLAYWAKEUPALARMWakeup Alarm - Play the time setNo explicit parameter
PROGRESSProgressNo explicit parameter
QUEUECALLBACKExit the Queue and call back when it is your turnNo explicit parameter
RECEIVEFAXReceive FaxNo explicit parameter
RECORDDIALBYNAMERecord Dial By Name messageNo explicit parameter
RECORDLEGAnswer and record the call legNo explicit parameter
RECORDMESSAGERecord a MessageNo explicit parameter
RECORDMESSAGESILENTRecord a Message (silent version)No explicit parameter
REDIALRedial latest outbound dialed numberNo explicit parameter
REDIALANYRedial latest dialed number, even internalNo explicit parameter
REMOVEANYVIRTUALRemove the calling extension from any virtual extensionUses the current call context
REMOVEANYVIRTUALREBOOTRemove the calling extension from any virtual extension and reboot itUses the current call context
REMOVEANYVIRTUALRESYNCRemove the calling extension from any virtual extension and resync itUses the current call context
REMOVEVIRTUALASSIGNRemove the calling extension from virtual extension [EXT][EXT] parameter required
REMOVEVIRTUALASSIGNREBOOTRemove the calling extension from virtual extension [EXT] and reboot it[EXT] parameter required
REMOVEVIRTUALASSIGNRESYNCRemove the calling extension from virtual extension [EXT] and resync it[EXT] parameter required
RESETABUSEDETECTIONReset calling extension abuse detection historyUses the current call context
RESETAUTOANSWERClear Auto Answer for the channelUses the current call context
RESETDIALOPTIONSReset the Dial OptionsNo explicit parameter
RESETTTLReset the TTL valueNo explicit parameter
RESTOREMATCHRestore condition matchNo explicit parameter
RETURNTOPREVIVRReturn to the previous IVRNo explicit parameter
ROUTEBYANYPHONEBOOKRoute using the first matching entry in any tenant phone bookUses the current caller ID; no explicit parameter
RINGINGSend the ringing tone while waiting to be connectedNo explicit parameter
RINGWITHMOHPlay MOH to caller while ringingNo explicit parameter
SAYDATETIMESay the date and timeNo explicit parameter
SAYPARKEDCALLSSay the parked calls extensionsNo explicit parameter
SELFVOICEMAILMANAGERRetrieve the voicemail of the calling extensionUses the current call context
SENTIMENTALANALYZETHISCALLSentimental analyze this callNo explicit parameter
SETAUTOANSWERSet Auto Answer for the channelUses the current call context
SETCALLERIDBYCNAMSet the CallerID Name based on the CallerID Number CNAMNo explicit parameter
SETCALLERIDNAMEBYANYPHONEBOOKSet the caller ID name using the first matching entry in any tenant phone bookUses the current caller ID; no explicit parameter
SETCALLINGEXTINUSESet calling extension state to in useUses the current call context
SETEARLYMEDIASend audio playback without answering (Early Media)No explicit parameter
SETEXTALLALLOWEDSet calling extension outbound calls to All AllowedUses the current call context
SETEXTALLPROHIBITEDSet calling extension outbound calls to All ProhibitedUses the current call context
SETFMFMNUMBERSet FMFM number to [NUM] and enable it[NUM] parameter required
SETINUSESet Extension [EXT] state to in use[EXT] parameter required
SETNOTINUSESet Extension [EXT] state to not in use[EXT] parameter required
SETONBUSYSet on busy forwarding for calling extension to [NUM][NUM] parameter required
SETONNOANSWERSet on no answer forwarding for calling extension to [NUM][NUM] parameter required
SETONOFFLINESet on offline forwarding for calling extension to [NUM][NUM] parameter required
SETUNCONDITIONALSet unconditional forwarding for calling extension to [NUM][NUM] parameter required
SETWAKEUPALARMWakeup Alarm - Set the time from DTMF HHMMNo explicit parameter
SIMPLEPLAYCALLERIDPlay just the callerid number and name of the calling partyNo explicit parameter
SPYSpy extension [EXT][EXT] parameter required
STOPRECORDINGStop recording the callNo explicit parameter
STOPTRANSLATIONBUDDYStop translation buddyNo explicit parameter
STOPWARNINGNOTICEFORRECORDINGStop the warning notice for recording (only if not recorded)No explicit parameter
SUMMARIZETHISCALLSummarize this callNo explicit parameter
SWB456Spy/Whisper/Barge extension [EXT][EXT] parameter required
TOGGLECWToggle Call Waiting on the calling extensionUses the current call context
TOGGLEDIALEDSTATUSToggle state of dialed extensionNo explicit parameter
TOGGLEDNDToggle DND for the calling extensionUses the current call context
TOGGLEFMFMToggle FMFM for the calling extensionUses the current call context
TOGGLEFMFMEXTToggle FMFM for extension [EXT][EXT] parameter required
TOGGLELOGINQUEUENUMToggle Login/Logout caller to Queue [NUM][NUM] parameter required
TOGGLEPAUSEALLQUEUESToggle pause on all queuesNo explicit parameter
TOGGLEPHONELOCKLock/unlock the phoneNo explicit parameter
TOGGLESTATEToggle state of extension [EXT][EXT] parameter required
TOGGLEUNCONDITIONALToggle Unconditional Forward for calling extensionUses the current call context
TRANSCRIBETHISCALLTranscribe this callNo explicit parameter
UNBLACKLISTNUMRemove the number [NUM] from blacklist[NUM] parameter required
UNBLOCKCIDRemove Block External Caller ID for dialing extensionUses the current call context
UNLOCKPHONEUnlock the phoneNo explicit parameter
UNMASKDIALUnmask the callerID on calling [NUM][NUM] parameter required
UNPAUSEALLQUEUESUnpause caller to all queuesNo explicit parameter
VOICEMAILEXTENVoicemail for Extension [EXT][EXT] parameter required
VOICEMAILMAINComedian Voicemail systemNo explicit parameter
VOICEMAILMANAGEREXTENRetrieve the voicemail of the [EXT] dialed[EXT] parameter required
WAIT1Wait one secondNo explicit parameter
WAIT10Wait ten secondsNo explicit parameter
WAIT15Wait fifteen secondsNo explicit parameter
WAIT20Wait twenty secondsNo explicit parameter
WAIT5Wait five secondsNo explicit parameter
WAITFORCALLERREADYWait for caller execution completedNo explicit parameter
WHISPERWhisper to extension [EXT][EXT] parameter required