*********************************************************************************
*                                                                               *
* NOTICE:                                                                       *
* This document contains information that is confidential and proprietary to    *
* RADVision LTD.. No part of this publication may be reproduced in any form     *
* whatsoever without written prior approval by RADVision LTD..                  *
*                                                                               * 
* RADVision LTD. reserves the right to revise this publication and make changes *
* without obligation to notify any person of such revisions or changes.         *    
*********************************************************************************

                      Simple Redirect Server Readme File
                      ----------------------------------
General
-------
1. The simple redirect server is a sample code designed to show how to use 
   RADVISION's SIP Server Toolkit in order to build a simple redirect server.

2. As the name suggests the implementation is simple and does not make use of
   features like authenticating, maintaining a location data base or handle
   incoming register requests. All it does is redirect incoming requests.

Usage
-----
3. To activate the application simply double click the executable 
   (simpleRedirectServer.exe by default), or write it's name at the command prompt
   and hit Enter.

4. The SIP server is using APP_LOCAL_INTERFACE address as its listening address. 
   Before running the sample you should update the address definitions of 
   APP_LOCAL_INTERFACE located in SimpleRedirectServerTypes.h file.

5. After the server has been started it will wait for incoming requests on port 5060.
   Once such a request has arrived at the application, it will answer with a 301 response
   containing 3 contact as alternate destinations.


Notes
-----
6. General function description:
   a. General functions: here are the functions required to operate the proxy redirect 
      mechanizm. These functions are responsible for constructing the tool kit with
      required parameters (e.g. no authentication) (RedirectServerInit()), registering 
      call backs (RegisterCallBacks()), and actually redirecting a request
      (AppCoreObjRedirect()).
   
   b. CallBacks: responsible for controlling the toolkit behaviour. With these 
      functions we attach application objects to core objects 
      (AppCoreObjectCreatedEvHandler()), handle state changes 
      (AppCoreObjStateChangeEvHandler()), and notify about messages being sent to and 
      recieved from the toolkit (AppCoreObjMsgReceivedEvHandler() and 
      AppCoreObjMsgToSendEvHandler()).

   c. Utility functions: function used for displaying the status of the application.




