Fix Incoming calls issue

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7707 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo
2007-03-26 22:18:17 +00:00
committed by thiago
parent 9c5e375306
commit 4bd0aa2e6b

View File

@ -64,6 +64,9 @@ public class IncomingCall implements JingleSessionListener {
public IncomingCall(final JingleSessionRequest request) {
try {
// Accept the call
session = request.accept();
ringing = Applet.newAudioClip(JinglePhoneRes.getURL("RINGING"));
}
catch (Exception e) {
@ -157,7 +160,7 @@ public class IncomingCall implements JingleSessionListener {
}
}
if(ringing != null){
if (ringing != null) {
ringing.stop();
}
}
@ -232,8 +235,6 @@ public class IncomingCall implements JingleSessionListener {
return;
try {
// Accept the call
session = request.accept();
session.addListener(this);