Cisco Cisco Meeting Server 2000 开发者指南

下载
页码 147
Cisco Meeting Server Release 2.0 : API Reference Guide
77
Response
elements
Type/Value
Description/Notes
Response is structured as a top-level <dialTransforms total="N"> tag with
potentially multiple <dialTransform> elements within it.
Type
raw|
strip|
phone
The type of pre-processing to apply to this transform
Raw: produces one component - $1
Strip: removes dots, dashes, spaces and produces one component - $1
Phone: An international phone number - produces two components $1county
code and $2number
8.5.2 Setting up and modifying dial transforms
n
Creating: POST method to the “/dialTransforms" node
n
Modifying: PUT to "/dialTransforms/<dialTransform id>"
Parameters
Type/Value
Description/Notes
type
raw|
strip|
phone
The type of preprocessing to apply to this transform
Raw: produces one component - $1
Strip: removes dots, dashes, spaces and produces one component - $1
Phone: An international phone number - produces two components $1county
code and $2number
match
String
If provided, the regular expression describing whether this rule will be applied. An
empty string means “match all”.
This is a logically AND'd combination of regular expressions, each applied to a
component of the pre-processed expression. The format is
($<componentnum_1>/<regex_1>/)($<componentnum_2>/<regex_2>/)
($<componentnum_3>/<regex_3>/)...
For example
l
($2/abc/): Component 2 must contain 'abc'
l
($1/^0/)($1/9$/): Component 1 must start with a 0 and end with a 9
l
($1/^44$/)($2/^7/): Component 1 must be '44' and component 2 must start
with a 7
8   Call Related Methods