[Freeswitch-svn] [commit] r9406 - freeswitch/trunk/src/mod/endpoints/mod_dingaling
Freeswitch SVN
anthm at freeswitch.org
Tue Sep 2 12:38:16 EDT 2008
Author: anthm
Date: Tue Sep 2 12:38:16 2008
New Revision: 9406
Modified:
freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
Log:
make dingaling end call on ice timeout
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 Tue Sep 2 12:38:16 2008
@@ -1456,7 +1456,9 @@
tech_pvt->timestamp_send += samples;
//switch_rtp_write_frame(tech_pvt->rtp_session, frame, tech_pvt->timestamp_send);
- switch_rtp_write_frame(tech_pvt->rtp_session, frame);
+ if (switch_rtp_write_frame(tech_pvt->rtp_session, frame) < 0) {
+ status = SWITCH_STATUS_GENERR;
+ }
switch_clear_flag_locked(tech_pvt, TFLAG_WRITING);
return status;
More information about the Freeswitch-svn
mailing list