How to run the sample programs
JTAPI sample programs are in Install_dir\sample directory.
- Change the following part in each program.
- myprovider = peer.getProvider(“BrProvider; pdir=”);
- (Change \ to / in the path)
- Compilation
- Specify the following path in the build class path and compile the sample program.
- Install_dir\work\jar\jtapi-spec.jar (JTAPI version 1.4)
- Install_dir\work\jar\jtapibase.jar
- Setting Properties
- Please find the file “provider.properties” in Install_dir\work.
- Set SIP user name, auth user, password, SIP Proxy IP address, SIP listening port,
- total inbound and outbound concurrent sessions in the provider.properties.
- Run the sample program
- Run the program putting the following into the Classpath.
- Install_dir\work\jar\jtapibase.jar
- Install_dir\work\jar\jtapi-spec.jar
- Install_dir\work\jar\log4j.jar
- Install_dir\work\jar\log4j-core.jar