1. Brekeke Product Name and version:
Brekeke JTAPI
2. Java version:
JDK1.5.0_12
3. OS type and the version:
Windows 2000 SP4
4. UA (phone), gateway or other hardware/software involved:
Brekeke OnDo Server 1.5.20
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 8
6. Your problem:
I had modified the 'Sample 1' on your JTAPI page to test. The only modification is as followed:
static private String DialNo = "4803";
'4803' is my SIP Account on our SIP Server.
I had follow the instructions of our FAE to set my provider.properties file.
When compiled the code I modified, there is always some warning as followed:
C:\JTAPI1.0\work\jar\jtapibase>javac -Xlint CalloutPlay.java
CalloutPlay.java:240: warning: [deprecation] triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] async_triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.async.Async.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] async_triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.async.Async.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
4 warnings
I know that this is because I overload these class.
When run the code I modified, there is always some Exception as followed:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.brekeke.util.Dump.<clinit>(Dump.java:23)
at com.brekeke.jtapi.BrPeer.getProvider(BrPeer.java:71)
at CalloutPlay.main(CalloutPlay.java:32)
Would you tell me how to make this sample code work?
Brekeke JTAPI
2. Java version:
JDK1.5.0_12
3. OS type and the version:
Windows 2000 SP4
4. UA (phone), gateway or other hardware/software involved:
Brekeke OnDo Server 1.5.20
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 8
6. Your problem:
I had modified the 'Sample 1' on your JTAPI page to test. The only modification is as followed:
static private String DialNo = "4803";
'4803' is my SIP Account on our SIP Server.
I had follow the instructions of our FAE to set my provider.properties file.
When compiled the code I modified, there is always some warning as followed:
C:\JTAPI1.0\work\jar\jtapibase>javac -Xlint CalloutPlay.java
CalloutPlay.java:240: warning: [deprecation] triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] async_triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.async.Async.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
CalloutPlay.java:240: warning: [deprecation] async_triggerRTC(javax.telephony.media.Symbol) in javax.telephony.media.async.Async.MediaService has been deprecated
static class CallPlayer extends BasicMediaService implements Runnable {
^
4 warnings
I know that this is because I overload these class.
When run the code I modified, there is always some Exception as followed:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.brekeke.util.Dump.<clinit>(Dump.java:23)
at com.brekeke.jtapi.BrPeer.getProvider(BrPeer.java:71)
at CalloutPlay.main(CalloutPlay.java:32)
Would you tell me how to make this sample code work?