Skip to main content

alphaWorks  >  Forums  >  J323 Engine  >  developerWorks

compiler error in cphone example    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]

Posts: 1
Registered: Feb 27, 2007 04:45:01 AM
compiler error in cphone example
Posted: Feb 27, 2007 05:26:37 AM
Click to report abuse...   Click to reply to this thread Reply

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem demo - runs a demo of J323 engine wit
h CPhone

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem set common environment variables

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>call demo-env.bat

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem demo-env - sets environment variables
common to all J323 demo scripts

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem


C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem You have to customize the settings be
low to your environment.

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the installation directory of the JDK
or JRE

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JAVAHOME=e:\jdk1.5.0

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the Java Virtual Machine executable

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JVM=e:\jdk1.5.0\bin\java

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the zip file containing the Java libr
ary (leave empty for Java 2)

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JAVALIBJAR=e:\jdk1.5.0\lib\classes.zi
p

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the jar file containing the Java Tele
phony API

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JTAPIJAR=E:\jar\jtapi-1.3.1.jar

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the installation directory of the Jav
a Media Framework 2.0

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JMFHOME=C:\Program Files\JMF2.1.1e

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem the installation directory of the J32
3 package

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set J323HOME=C:\Downloads\j323-5_0_0\j323
-5_0_0

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem End of customizable section.

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem


C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set CLASSPATH=e:\jdk1.5.0\lib\classes.zip
;E:\jar\jtapi-1.3.1.jar;C:\Program Files\JMF2.1.1e\lib\sound.jar;C:\Program File
s\JMF2.1.1e\lib\jmf.jar;C:\Downloads\j323-5_0_0\j323-5_0_0\lib\j323.jar;C:\Downl
oads\j323-5_0_0\j323-5_0_0\lib\cphone.jar

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JAVA_COMPILER=NONE

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem any options for the JVM

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set JVMFLAGS=

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem any options for the CPhone applicatio
n

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set CPHONEFLAGS=

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem if user identifier is given as argume
nt

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem configure CPhone to use it and make s
ure

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem a personal speed dial file exists

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem otherwise use defaults

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set OPTLOCADDR=-locaddr "<grm@zurich.ibm.
com>"

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>set OPTSPEEDDIAL=-sdfile demo.sd

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>if a == a goto noaddr

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>rem start CPhone

C:\Downloads\j323-5_0_0\j323-5_0_0\bin>"e:\jdk1.5.0\bin\java" -Dh323.endpoint.t
imer.factor=3 com.ibm.ct.cphone.Main -trace 1 -sdfile demo.sd -locaddr "<grm@zu
rich.ibm.com>"
CPhone: Obtaining JtapiPeer "null"...
CPhone: Obtaining Provider "H.323 Endpoint;login=<grm@zurich.ibm.com>"...
Setting h323.endpoint.timer.factor to '3'
IBM J323 Engine v5.0.0
(C) Copyright IBM Corporation, 1996-2003. All rights reserved.
Setting login to '<grm@zurich.ibm.com>'
CPhone: Got Provider.
CPhone: Provider reports these Address objects in its address space:
1: <grm@zurich.ibm.com>
CPhone Provider reports these Terminal objects in its address space:
1: http://10.0.0.17
CPhone: Observing Terminal http://10.0.0.17
CPhone: Observing these Addresses:
1: <grm@zurich.ibm.com>
CPhone: For outgoing calls using Address <grm@zurich.ibm.com>
CPhone.makeCall connect(72785)
[b]E Feb 27 15:49:22.515 0 H323_1 Cannot open Socket to localhost/127.0.0.1, port
=1720, disconnecting
[/b]
[i]pls help me how to rectify the errors.
my email: pskumar26484@yahoo.co.in
[/i]

Point your RSS reader here for a feed of the latest messages in all forums