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

FreeSWITCH SVN anthm at freeswitch.org
Fri Dec 5 08:36:28 PST 2008


Author: anthm
Date: Fri Dec  5 11:36:26 2008
New Revision: 10614

Log:
add proto_specific_hangup_cause to both legs

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 Dec  5 11:36:26 2008
@@ -3049,6 +3049,7 @@
 					switch_channel_set_variable(channel, "sip_term_status", st);
 					switch_snprintf(st, sizeof(st), "sip:%d", status);
 					switch_channel_set_variable_partner(channel, SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE, st);
+					switch_channel_set_variable(channel, SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE, st);
 					if (phrase) {
 						switch_channel_set_variable_partner(channel, "sip_hangup_phrase", phrase);
 					}



More information about the Freeswitch-svn mailing list