Script Debugging Dialog For Preliminaries/Postliminaries - Polycom RealPresence DMA 7000 System Operation Manual

Table of Contents

Advertisement

See also:
Dial Rules
External Gatekeeper
External SIP Peer
External H.323 SBC
Add MCU Dialog

Script Debugging Dialog for Preliminaries/Postliminaries

Sample Preliminary and Postliminary Scripts
Script Debugging Dialog for Preliminaries/Postliminaries
The Script Debugging dialog lets you test a Javascript executable script that you've added as a preliminary
to a dial rule or a postliminary for an external gatekeeper, SIP peer, SBC, or MCU. It lets you specify
parameters of a call and the dial string, and see what effect the script has on the dial string.
The following table describes the fields in the Script Debugging dialog.
Field
Dial string
Caller site
Caller variables
VMR/Lync Conf ID
Final result
Script output
Output SIP headers
Polycom, Inc.
Description
This is the DIAL_STRING variable in the script, which is initially set to the dial
string being evaluated. Enter a dial string to test. Alternatively, provide the
entire SIP INVITE message. Then click Execute Script.
Note: For SIP, the script should always specify the schema prefix (sip or sips).
For instance:
DIAL_STRING = "sip:xxx@10.33.120.58"
Select a site in order to set the first four caller variables.
Lists variables that can be used in the script to represent caller alias values.
Enter an alias value to test for that variable.
This field specifies the return value of the function
getConferenceRoomOrID().
See
Preliminary/Postliminary Scripting
getConferenceRoomOrID() function.
If the script simulates a call to a VMR or Lync conference ID or a dial-in call,
this field is blank.
Displays the outcome of running the script.
For a dial rule preliminary, if the script rejected the dial string (skipping the dial
rule action and passing it on to the next dial rule), a message tells you so.
Otherwise, the transformed dial string is displayed.
Displays any output produced by the script (e.g., println statements).
For an external SIP peer's postliminary, displays the headers produced by the
script.
Call Server Configuration
for a description of the
258

Advertisement

Table of Contents
loading

Table of Contents