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

FreeSWITCH SVN anthm at freeswitch.org
Fri Nov 21 12:55:02 PST 2008


Author: anthm
Date: Fri Nov 21 15:55:02 2008
New Revision: 10505

Log:
update

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

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	Fri Nov 21 15:55:02 2008
@@ -116,6 +116,9 @@
 				}
 				if (!status || status >= 200) {
 					switch_channel_set_variable(channel, "sip_refer_reply", sip->sip_payload->pl_data);
+					if (status == 200) {
+						switch_channel_hangup(channel, SWITCH_CAUSE_BLIND_TRANSFER);
+					}
 					if (tech_pvt->want_event == 9999) {
 						tech_pvt->want_event = 0;
 					}



More information about the Freeswitch-svn mailing list