You can use the Dialed Number API to list the dialed numbers currently
defined in
the database, define new dialed numbers, and view, edit, or delete
records of existing
dialed numbers.
Note
Multiple dialed number records are created for each
external dialed number, with one for each routing client.
Externally Dialed Numbers are Dialed Numbers that apply to calls coming from Unified CVP, which create four separate Dialed Number Records, one for each of the Unified CVP Routing Clients. The calls are referred to as external because typically they come from outside of the enterprise through a gateway.
Note
Internally Dialed Numbers are Dialed Numbers that can be called from a Unified CM phone. The calls must have a Route Point on Unified CM that corresponds to the Internally Dialed Number. They are referred to as internal because they can only be accessed by Unified CM. Each Internally Dialed Number creates a single Dialed Number Record tied to the Unified CM routing client.
Outbound Dialed Numbers are used by the Outbound Option Dialer. They are
referenced when creating the outbound campaign configuration in the Campaign Skill Group
selection.
Multichannel Dialed Numbers are used by Email and Web Collaboration.
A Dialed Number Record is a record stored in the configuration database.
changeStamp
Incremented when the record is changed in the database (read-only).
callType refURL
A reference to a Call Type.
Dialed Number Record(s)
Routing client names that the Dialed Number string is associated with (read-only).
mediaRoutingDomain
Media Routing Domain for the Dialed Number.
create
Creates one Dialed Number and stores it in the database.
Note
Creation of an
external Dialed Number will use every routing client in the
system to create that number of routing clients, even if there are not four
routing clients. If there are not four, this fact is logged.
Note
If the
<dialedNumberRecord> element is supplied, it is ignored,
because it is read-only, and only available on GET.
Note
Dialed Number has a capacity rule specified. If you create an
object that exceeds the capacity for Dialed Number, an error will result.
In addition to the standard search,
q=string, which searches the
dialedNumberString and
description
fields, the Dialed Number API also supports adding the
q=routingType:<type> string to the query string.
The following restrictions apply:
Valid types are the
integers:
1 (External
Voice)
2 (Internal
Voice)
3 (Outbound)
4 (Multichannel)
Only one type can be
specified in a query.
You can add the
routingType:<type> query to a regular search
query. For example:
q=routingType:1 123.
The
routingType:<type> parameter must be the first
parameter of the search string.
get
Returns one Dialed Number from the database.
Note
In the case of an
external Dialed Number, you must specify the smallest Dialed
Number for that bank of Dialed Numbers to retrieve it.
If retrieving an
external (IVR) Dialed Number and not all of the four
t_Dialed_Number records are present, an error is logged to
the Tomcat log, and an HTTP status code of 404 (not found) is returned to the
caller.
update
Updates one Dialed Number in the database.
Note
If the
<dialedNumberRecord> element is supplied, it is ignored,
as it is read-only, and only available on GET.