set_user only sets the variables from the user in the directory on the current session.

If you look at the usage you can "<user>@<domain> [prefix]"

So you can set_user bob@example.com user_  

It will prefix the vars from the user with user_  and your assessment of what is going on is wrong.

/b

On Mar 30, 2011, at 8:31 PM, Madovsky wrote:

sounds weird.
sip_from_user took the new set_user user value but not sip_from_user_stripped.
so now I use sip_from_user_stripped to get the original caller_id_number....
 ----- Original Message ----- 
 From: Madovsky 
 To: freeswitch-users@lists.freeswitch.org 
 Sent: Wednesday, March 30, 2011 9:13 PM
 Subject: set_user effect