fix some stuff and add set_user func

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6239 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-11-13 19:58:44 +00:00
parent eb9f9fb263
commit 0ac9a16321
4 changed files with 78 additions and 15 deletions
-2
View File
@@ -1994,8 +1994,6 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
if (!switch_strlen_zero(from_user)) {
switch_channel_set_variable(channel, "sip_mailbox", from_user);
if (*from_user == '+') {
switch_channel_set_variable(channel, "sip_from_user_stripped", (const char *) (from_user + 1));
} else {