Revision: 15450
Author: vladimir.ralev
Date: Mon Nov 22 10:11:43 2010
Log: Update Issue 2093
Testcase examples
http://code.google.com/p/mobicents/source/detail?r=15450
Modified:
/trunk/servers/sip-servlets/sip-servlets-examples/custom-call-forwarding-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableCallForwardingB2BUASipServlet.java
/trunk/servers/sip-servlets/sip-servlets-examples/location-service-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableLocationServiceSipServlet.java
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/custom-call-forwarding-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableCallForwardingB2BUASipServlet.java
Mon Nov 22 10:04:16 2010
+++
/trunk/servers/sip-servlets/sip-servlets-examples/custom-call-forwarding-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableCallForwardingB2BUASipServlet.java
Mon Nov 22 10:11:43 2010
@@ -334,7 +334,7 @@
public void sessionDestroyed(SipApplicationSessionEvent arg0) {
if(logger.isInfoEnabled()) {
logger.info("CB2BUA DESTROYED " +
arg0.getApplicationSession());
- if(new File("cb2buadestryed.flag").exists()) {
+ if(!new File("cb2buadestryed.flag").exists()) {
try {
new
File("cb2buadestryed.flag").createNewFile();
} catch (IOException e) {
=======================================
---
/trunk/servers/sip-servlets/sip-servlets-examples/location-service-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableLocationServiceSipServlet.java
Mon Nov 22 10:04:16 2010
+++
/trunk/servers/sip-servlets/sip-servlets-examples/location-service-distributable/src/main/java/org/mobicents/servlet/sip/example/DistributableLocationServiceSipServlet.java
Mon Nov 22 10:11:43 2010
@@ -181,7 +181,7 @@
public void sessionDestroyed(SipApplicationSessionEvent arg0) {
if(logger.isInfoEnabled()) {
logger.info("LSS DESTROYED " +
arg0.getApplicationSession());
- if(new File("lssdestryed.flag").exists()) {
+ if(!new File("lssdestryed.flag").exists()) {
try {
new
File("lssdestryed.flag").createNewFile();
} catch (IOException e) {