[Freeswitch-svn] [commit] r7344 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Thu Jan 24 10:09:55 EST 2008


Author: anthm
Date: Thu Jan 24 10:09:55 2008
New Revision: 7344

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
set sdp flag in more places

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Thu Jan 24 10:09:55 2008
@@ -1553,7 +1553,7 @@
 						switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED");
 						switch_set_flag_locked(tech_pvt, TFLAG_READY);
 						switch_channel_set_state(channel, CS_INIT);
-
+						switch_set_flag(tech_pvt, TFLAG_SDP);
 						if (replaces_str) {
 							home = su_home_new(sizeof(*home));
 							switch_assert(home != NULL);
@@ -1748,6 +1748,7 @@
 							if (switch_channel_get_state(channel) == CS_HIBERNATE) {
 								switch_set_flag_locked(tech_pvt, TFLAG_READY);
 								switch_channel_set_state(channel, CS_INIT);
+								switch_set_flag(tech_pvt, TFLAG_SDP);
 							}
 							goto done;
 						}



More information about the Freeswitch-svn mailing list