*********************************************************************************
*                                                                               *
* 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 General transaction Readme File
                      ---------------------------------------
General
-------
1. The simple General transaction is a sample code designed to show how to use 
   RADVISION's SIP Server Toolkit in order to send and receive general transactions.

Usage
-----
2. To activate the application simply double click the executable 
   (SimpleGeneralTransaction.exe by default), or write its name at the command prompt and hit Enter.

3. Before you activate the application you need to update:
	a. TO: The destination of the uas to forward the initial OPTIONS to (in the format: "To: sip:user@host:port") 
	b. FROM: The source of the request (in the format: "From: sip:user@host:port") 
	c. REQ_URI: The REQ-URI of the request (in the format: "sip:user@host:port") 
	- all should be no longer than 255 characters and are located in SimpleGeneralTransactions.h file

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 SimpleGeneralTransactions.h file.

5. After the server has been started it will automatically send a general transaction 
   from type "METHOD". This transaction should be answered by the user-agent.
   
6. The server will now wait for incoming requests on port 5060.
   a. The proxy will accept valid general requests and respond with provisional (180) response
      followed immediately by an OK (200) response.
   c. The Server domain at this sample code is the local ip with port 5060.


Notes:
-----
7. General function description:
   a. General functions: 
	  The following function is responsible for constructing 
      the Server Toolkit with required parameters:
	  - registering call backs (RegisterCallBacks()).
   
   b. CallBacks: responsible for controlling the toolkit behaviour. With these 
      functions we attach application objects to core objects:
      - AppCoreObjectCreatedEvHandler()  notifies about creating a new core object
      - AppCoreObjStateChangeEvHandler() notifies about state changes in the core object
	  - AppCoreObjMsgReceivedEvHandler() notifies about incoming message that has been received
      - AppCoreObjMsgToSendEvHandler()   notifies about outgoing message about to be sent
      
   c. Utility functions: function used for displaying the status of the application.




