This document describes the different options available in Cisco Unity Connection (CUC) that can be used to transfer a call outside, which helps the caller achieve toll fraud. This document also provides CLI queries to check User's or Call Handler's configuration.
Cisco recommends that you have knowledge of CUC.
The information in this document is based on CUC Release 8.X or later.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
In CUC, the calls can be transferred to Cisco Unified Communications Manager (CUCM) by one of these different methods:
Ensure that these points are taken into consideration in order to use this option:
There are two types of conversations which can be used for this purpose:
The User or Call Handler configuration can be verified with CLI queries. A few methods have been mentioned in the Call Transfer section. This section provides details on how to verify the configuration for all the methods.
In order to check if a User or Call Handler is configured with the 'Transfer to Alternate Contact Number' Option in the 'Caller Input' section, refer to the CLI Queries section of the Unity Connection: Restriction Tables Effect on 'Transfer to Alternate Contact Number' Feature document.
In order to check if a User or Call Handler is configured with the 'Allow Transfers to Numbers Not Associated with Users or Call Handlers' Option in the Greetings page, run these queries on the CLI:
In order to check for Users:
admin:run cuc dbquery unitydirdb select c.displayname, g.greetingtype from
vw_callhandler as c inner join vw_greeting as g on c.objectid=g.callhandlerobjectid
where enabletransfer = 1 and isprimary = 1
displayname greetingtype
----------- ------------
Anirudh Off Hours
Anirudh Standard
In order to check for Call Handlers:
admin:run cuc dbquery unitydirdb select c.displayname, g.greetingtype from
vw_callhandler as c inner join vw_greeting as g on c.objectid=g.callhandlerobjectid
where enabletransfer = 1 and isprimary = 0
displayname greetingtype
---------------- ------------
Opening Greeting Standard
There are two types of Conversations that can be used to transfer the call after the greeting of the User or the Call Handler is played:
In order to check for Users:
admin:run cuc dbquery unitydirdb select c.displayname, g.greetingtype,
aftergreeting_targetconversation from vw_callhandler as c inner join
vw_greeting as g on c.objectid=g.callhandlerobjectid where
isprimary = 1 and aftergreeting_targetconversation IN
('SystemTransfer','SubSysTransfer','AD')
displayname greetingtype aftergreeting_targetconversation
----------- ------------ --------------------------------
Anirudh Standard SystemTransfer
Anirudh Alternate SubSysTransfer
test3 Off Hours AD
In order to check for Call Handlers:
admin:run cuc dbquery unitydirdb select c.displayname, g.greetingtype,
aftergreeting_targetconversation from vw_callhandler as c inner join
vw_greeting as g on c.objectid=g.callhandlerobjectid where isprimary
= 0 and aftergreeting_targetconversation IN ('SystemTransfer','SubSysTransfer','AD')
displayname greetingtype aftergreeting_targetconversation
----------- ------------ --------------------------------
test2 Standard SystemTransfer
test3 Alternate SystemTransfer
test2 Alternate SubSysTransfer
There are two types of conversations that can used to transfer the call during the greeting of the User or the Call Handler by provision of Dual Tone Multi Frequency (DTMF) input.
In order to check for Users:
admin:run cuc dbquery unitydirdb select gu.alias, gu.dtmfaccessid, me.touchtonekey,
me.targetconversation from vw_callhandler as ch inner join vw_menuentry as me on
me.callhandlerobjectid=ch.objectid inner join vw_globaluser as gu on
ch.recipient_globaluserobjectid=gu.objectid and ch.isprimary='1' where
targetconversation IN ('SubSysTransfer','SystemTransfer','AD')
alias dtmfaccessid touchtonekey targetconversation
------- ------------ ------------ ------------------
Anirudh 8553 5 SubSysTransfer
Anirudh 8553 8 SystemTransfer
Test 8023 7 SystemTransfer
In order to check for Call Handlers:
admin:run cuc dbquery unitydirdb select ch.displayname, ch.dtmfaccessid,
me.touchtonekey, me.targetconversation from vw_callhandler as ch inner
join vw_menuentry as me on ch.objectid=me.callhandlerobjectid and
ch.isprimary='0' where targetconversation IN ('SubSysTransfer',
'SystemTransfer','AD')
displayname dtmfaccessid touchtonekey targetconversation
---------------- ------------ ------------ ------------------
test2 4321 4 SubSysTransfer
test2 4321 3 SystemTransfer
test3 5321 5 SystemTransfer
Opening Greeting null 4 AD
A User or Call Handler's Transfer Rules has two options. The call can be transferred to the Greetings, or the User or Call Handler's extension. In the defaut configuration, a User or Call Handler's Transfer Rules is set to go to its Greetings. The extension field is prepopulated with the same extension configured for the User or Call Handler. In order to transfer the calls out, the extension field is selected. The extension field can be modified to send the call to any number.
During a greeting, a caller can dial any User or Call Handler's extension. The transfer rules determine the destination of the call and will send it to the configured extension instead of the dialed User or Call Handler's Greeting.
After a greeting, the call can be transferred to any User or Call Handler's Transfer Rules. In order to enable this, select the User or Call Handler in the 'After Greetings' section and choose 'Attempt Transfer'. The transfer rules determine the destination of the call and will send it to the configured extension instead of the dialed User or Call Handler's Greeting.
In order to check for Users:
admin:run cuc dbquery unitydirdb select gu.alias, gu.dtmfaccessid,
t.transferoptiontype, t.extension from vw_globaluser as gu inner
join vw_callhandler as ch on ch.recipient_globaluserobjectid=gu.objectid
inner join vw_transferoption as t on ch.objectid=t.callhandlerobjectid
and t.extension NOT in (select dtmfaccessid from vw_globaluser where
dtmfaccessid != 'null') and t.extension NOT in (select dtmfaccessid from
vw_callhandler where dtmfaccessid != 'null')
alias dtmfaccessid transferoptiontype extension
------- ------------ ------------------ ---------
Anirudh 8553 Alternate 88553
Test4 8033 Standard 1111
In order to check for Call Handlers:
admin:run cuc dbquery unitydirdb select ch.displayname, ch.dtmfaccessid,
t.transferoptiontype, t.extension from vw_callhandler as ch inner join
vw_transferoption as t on ch.objectid=t.callhandlerobjectid and t.extension
NOT in (select dtmfaccessid from vw_globaluser where dtmfaccessid != 'null')
and t.extension NOT in (select dtmfaccessid from vw_callhandler where
dtmfaccessid != 'null') and isprimary='0'
displayname dtmfaccessid transferoptiontype extension
----------- ------------ ------------------ -----------
test3 5321 Alternate 91408111222
The queries help the Administrator look out for configurations that are not authorized. However, it is not feasible to keep track of the configuration at regular intervals. Here are two options to prevent toll fraud on a system level.
The calls can be blocked as per the settings in the restriction table. More details on Restriction tables can be found in the Restriction Tables in Cisco Unity Connection section of the Call Management Overview in Cisco Unity Connection document. The Managing Restriction Tables in Cisco Unity Connection document provides details on the configuration aspects.
An alternate option is to modify the CSS on the Voicemail port or the Rerouting CSS on the trunk in the CUCM side. Include only the required partitions in the CSS.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
01-Sep-2015 |
Initial Release |