
(Please set word_wrap on, Edit Menu)

SVSSAMP1.EXE Information Sheet 1

	This application may be used to gain an understanding of the basic interaction between a client telephony application and the voice server software.  In addition, it provides a means of playing and recording (.vox) voice files for use in other applications.

	The user is assumed to have an understanding of Visual Basic procedural code as well as the Dialogic voice functions.  The application will not run from Visual Basic.  You must run it from the executes folder.

I. Operation of the application from the "executes" folder

	1)  Start the svssamp1.exe program from the "executes" folder.
	2)  Make certain of the correct file paths for:
		- startcfg.exe, The Dialogic Configuration Manager
		- svserver.exe, The Synchronized Voice Server
		- Select a (.vox) voice file for play or recording.
		- Select Capture Text To File to capture the DDE linkage to svssamp1.txt.
	3)  Shell launch the Dialogic Configuration Manager and start the boards.
	4)  Shell launch the Synchronized Voice Server.
	5)  Select a line, Line1 or Line2.
	6)  Open the line
	7)  Set to answer rings.  Program waits 30 seconds for you to dial it.
	8)  Play and\or record a (.vox) voice file.
	9)  Hangup the line
	10) Close the line

II. Points of Interest

	1)  For Synchronous operations there must be a one-to-one correspondence between the number of client application text controls used for DDE linkage and the server application lines and threads.  That is to say one text control per line in the client application and one thread per line in the server application.  The number of lines in the server application is controled by the term MaxLines nn which you set in the command line of the shell launch procedure for the SVServer app. The number of threads is controlled by the term "MultiThread". (-See Module1.bas ShellSVServer())

III. Procedures of interest. 

	Please note those procedures with direct application to understanding the client-server operation.  Each procedure has it's own documentation with the code.

	1)  Module1.bas
		- Public Function ShellSVServer(AppFilePath As String) As Integer
	2)  Form1.frm
		- Private Sub Command1_Click(Index As Integer)
		- Private Sub Text1_Change()
		- Private Sub Text1_LinkNotify()
		- Public Function ReturnFromSVServer() As Integer
		- Public Sub UpdateLinkStatus(TheControl As Control)
