Cisco Cisco E-Mail Manager Unity Integration Option Technical References
Changes to the NCCM server Configuration
55
55
GET RESPONSE messages are necessary because the script compiler will not allow
a single GET RESPONSE to be placed at the end of the where clause */
a single GET RESPONSE to be placed at the end of the where clause */
WHERE CDN EQUALS
VALUE XXXX:
SEND REQUEST GeoTel_id pr_req, pr_dn_XXXX, clid_ani, dnis_value,
<in vars>
GET RESPONSE GeoTel_id post_route_status_str, type, value,
<out vars>
.
.
.
.
.
VALUE ZZZZ:
SEND REQUEST GeoTel_id pr_req, pr_dn_ZZZZ, clid_ani, dnis_value,
<in vars>
GET RESPONSE GeoTel_id post_route_status, type, value,
<out vars>
END WHERE
/* If the post route request failed, go log an error, and do something with the call */
IF ( NOT (post_route_status = 0) ) THEN
EXECUTE POST_ROUTE_FAILED
END IF
/* If we get here, the post route succeeded, so complete the three way handshake with
the Aura Contact Center PG as described above */
the Aura Contact Center PG as described above */
SEND INFO GeoTel_id post_route_response_ack, pr_ok
/* Act on the
information
returned by the post route request. Each of the scripts
executed below will have a “WHERE response_value EQUALS” command
that will process the call based on the response_value */
that will process the call based on the response_value */
WHERE
CDN EQUALS
VALUE
XXXX
:
WHERE
response_type EQUALS
VALUE 0: EXECUTE SCRIPT <script for response type 0 and CDN XXXX>
.
.
.
VALUE N
.
.
.
VALUE N
B
xxxx
B
: EXECUTE SCRIPT <script for response type N
B
xxxx
B
and CDN XXXX>
DEFAULT:
LOG "Unknown response type"
DISCONNECT
DISCONNECT
END WHERE
.
.
.
VALUE ZZZZ:
.
.
VALUE ZZZZ:
WHERE response_type EQUALS
VALUE 0: EXECUTE SCRIPT <script for response type 0 and CDN ZZZZ>
.
.
.
VALUE N
VALUE 0: EXECUTE SCRIPT <script for response type 0 and CDN ZZZZ>
.
.
.
VALUE N
B
zzzz
B
: EXECUTE SCRIPT <script for response type N
B
zzzz
B
and CDN ZZZZ>
DEFAULT:
LOG "Unknown response type"
DISCONNECT
DISCONNECT
END WHERE
END WHERE
QUIT