Share via


ProxyRequest(string) function

 
Microsoft Office Live Communications Server 2005 with SP1

ProxyRequest

The ProxyRequest function proxies the current SIP request to the supplied URI.

voidProxyRequest(stringuri);

Parameters

  • uri
    The URI to proxy the request message to. If this value is an empty string (""), the message will be proxied to the URI specified in the request itself.

Remarks

If the request has a strict route (the "Route" header is present and populated), you must only pass the empty string as a parameter. Alternate destinations are not allowed in this case.

This function will raise a critical MSPL error if the current message is not a SIP request (see the description of the sipRequest built-in variable in MSPL Built-in Variables).

Calling ProxyRequest(sipRequestUri) to change request-uri in effect marks the request as routed without providing a request target. Applications that do not have routing information for a request should not modify the request-uri. In general, it is recommended that non-routing applications never change the request-uri.

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.