git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6350 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-11-20 03:24:55 +00:00
parent 50c2f14906
commit 1ba6b1b518
1 changed files with 3 additions and 1 deletions

View File

@ -2054,7 +2054,9 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
}
if ((alert_info = sip_alert_info(sip))) {
switch_channel_set_variable(channel, "alert_info", sip_header_as_string(profile->home, (void *) alert_info));
char *tmp = sip_header_as_string(profile->home, (void *) alert_info);
switch_channel_set_variable(channel, "alert_info", tmp);
su_free(profile->home, tmp);
}
check_decode(displayname, session);