Revision
16902
Author
anthm
Date
2010-03-04 13:09:13 -0600 (Thu, 04 Mar 2010)

Log Message

copy var

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (16901 => 16902)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2010-03-04 18:53:07 UTC (rev 16901)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	2010-03-04 19:09:13 UTC (rev 16902)
@@ -465,6 +465,8 @@
 	switch_snprintf(st, sizeof(st), "%d", status);
 	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);