[Freeswitch-svn] [commit] r10718 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
mikej at freeswitch.org
Thu Dec 11 12:42:34 PST 2008
Author: mikej
Date: Thu Dec 11 15:42:34 2008
New Revision: 10718
Log:
add sip_history_info var for inbound invites.
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 Thu Dec 11 15:42:34 2008
@@ -4197,6 +4197,8 @@
free(tmp_name);
}
}
+ } else if (!strncasecmp(un->un_name, "History-Info", 12)) {
+ switch_channel_set_variable(channel, "sip_history_info", un->un_value);
} else if (!strncasecmp(un->un_name, "X-", 2) || !strncasecmp(un->un_name, "P-", 2)) {
if (!switch_strlen_zero(un->un_value)) {
char new_name[512] = "";
More information about the Freeswitch-svn
mailing list