Call Server Configuration
Polycom, Inc. 256
Function name and parameters Details
getConferenceRoomOrID() Return value:
• For dial-outs to endpoints from VMRs or Polycom RealConnect
TM
conferences, returns the VMR or Lync Conference ID.
• For dial-outs to the VMR or Polycom RealConnect
TM
conferences, and for
dial-ins, returns the empty string.
getHeader(<SIP header name>) Return value: Returns the contents of the specified SIP header in the original
SIP INVITE request.
Note: The return value is not changed if the SIP header is changed with
setHeader.
setHeader(<SIP header name>,
<text>)
Replaces the current contents of the specified SIP header in the output
version of the SIP INVITE request with <text>.
Return value: None.
Note: Any changes made using setHeader do not affect subsequent values
returned by getHeader.
getDisplayName(<text>) Return value: Returns the display name portion of <text>.
Note: This function assumes that <text> uses the format of a SIP INVITE “To”
header.
getUser(<text>) Return value: Returns the user portion of <text>.
Note: This function assumes that <text> uses the format of a SIP INVITE “To”
header.
getParameterString(<text>) Return value: Returns the parameter string portion of <text>.
Note: This function assumes that <text> uses the format of a SIP INVITE “To”
header.
appendParameterString(<header
Text>, <text>)
Return value: Returns the result of appending <text> to the end of
<headerText>, using the format of a SIP INVITE “To” header.
removeHeader(<text>) Removes the header named <text> from the SIP INVITE.
Return value: None.
getPeerHost() Return value:
• If invoked from an External SIP Peer postliminary script, returns the Next
hop address configured for this SIP peer.
• Otherwise, returns the empty string.
getPeerNetOrNextHop() Return value:
• If invoked from an External SIP Peer postliminary script, returns one of the
following:
The Destination network value configured for this SIP peer, if defined
The Next hop address for this SIP peer, if the Destination network
setting is not configured
• If not invoked from an External SIP Peer postliminary script, returns the
empty string.