[Freeswitch-svn] [commit] r4371 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

Freeswitch SVN anthm at freeswitch.org
Fri Feb 23 13:04:52 EST 2007


Author: anthm
Date: Fri Feb 23 13:04:52 2007
New Revision: 4371

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c

Log:
fix seg

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Fri Feb 23 13:04:52 2007
@@ -1169,7 +1169,9 @@
         }
         break;
 	case SWITCH_SIG_BREAK:
-		switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_BREAK);
+        if (switch_rtp_ready(tech_pvt->rtp_session)) {
+			switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_BREAK);
+		}
 		break;
     }
 



More information about the Freeswitch-svn mailing list