mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user