Revision: 1f65c5d7b9a5
Author: [email protected] <[email protected]>
Date: Thu Sep 5 10:17:52 2013 UTC
Log: Fixed Issue #62 M3UA AspFactory is not correctly handling SCTP
Restart
http://code.google.com/p/jss7/source/detail?r=1f65c5d7b9a5
Modified:
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/AspFactoryImpl.java
=======================================
---
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/AspFactoryImpl.java
Wed Jun 19 13:50:19 2013 UTC
+++
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/AspFactoryImpl.java
Thu Sep 5 10:17:52 2013 UTC
@@ -666,6 +666,22 @@
public void onCommunicationRestart(Association association) {
logger.warn(String.format("Communication channel restart for
AspFactroy=%s Association=%s", this.name,
association.getName()));
+
+ //TODO : Is this correct way to handle?
+
+ try {
+ this.transportManagement.stopAssociation(this.associationName);
+ } catch (Exception e) {
+ logger.warn(String.format("Error while trying to stop
underlying Association for AspFactpry=%s",
+ this.getName()), e);
+ }
+
+ try {
+
this.transportManagement.startAssociation(this.associationName);
+ } catch (Exception e) {
+ logger.error(String.format("Error while trying to start
underlying Association for AspFactpry=%s",
+ this.getName()), e);
+ }
}
@Override
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.