Cisco Acano X-series Guide Du Développeur
Cisco Meeting Server Release 2.0 : API Reference Guide
78
Parameters
Type/Value
Description/Notes
transform
String
The replacement transform to be applied. This allows references to the pre-
processed components, as well as one or more regular expression substitutions
encased in curly braces with the following special strings replaced as described.
processed components, as well as one or more regular expression substitutions
encased in curly braces with the following special strings replaced as described.
$<componentnum> : Replace with component
$<componentnum>{}: Replace with component
$<componentnum>{/<matchregex1>/<replaceregex1/}
{/<matchregex2>/<replaceregex2/}{/<matchregex3>/<replaceregex3/}...:
Replace with component, with all instances of matchregex1 replaced by
replaceregex1, and subsequently matchregex2 replaced by replaceregex2, etc.
Capture groups are supported.
{/<matchregex2>/<replaceregex2/}{/<matchregex3>/<replaceregex3/}...:
Replace with component, with all instances of matchregex1 replaced by
replaceregex1, and subsequently matchregex2 replaced by replaceregex2, etc.
Capture groups are supported.
Examples are:
l
abc
: Replace everything with 'abc'
l
: Component 1 followed by component 2 followed by "@t.com
l
: Component 1 followed by "123@t.com"
l
: Component 1 with all instances of '999' replaced by
'123', followed by "@t.com"
l
$1{/\D//}{/^9//}@example.com
: Component 1 with all non-digits
removed and leading 9 removed, followed by "@example.com"
priority
Number
The priority this transform rule should have. Rules with higher priorities are
applied first
applied first
action
accept|
acceptPhone|
deny
acceptPhone|
deny
The action to take if this rule matches.
8.5.3 Retrieving detailed information about an individual dial transform
GET method performed on a “/dialTransform/<dialTransform id>" node. If the call branding
profile id ID supplied is valid, a “200 OK” response is received, with XML content matching the
section above.
profile id ID supplied is valid, a “200 OK” response is received, with XML content matching the
section above.
8.5.4 Examples
Example
Type
Match
Transform
For US numbers, use 'vcs1'
directly
directly
Phone
($1/01/)
$2@vcs1
For UK numbers, add a prefix
and use 'vcs2'
and use 'vcs2'
Phone
($1/44/)
90044$2@vcs2
8 Call Related Methods