<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT size=2>Ok Brian,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>but I did this in my dialplan:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><action inline="true" application="set_user" data="<A
href="mailto:${dialed_extension}@$${domain">${dialed_extension}@$${domain</A>}
dest_"/></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and after this line sip_from_uri, sip_from_user take the
set_user values unless sip_from_user_stripped.</FONT></DIV>
<DIV><FONT size=2>I use the latest git (6 hours ago),</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=brian@freeswitch.org href="mailto:brian@freeswitch.org">Brian
West</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 30, 2011 9:39
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] set_user
effect</DIV>
<DIV><BR></DIV>set_user only sets the variables from the user in the directory
on the current session.
<DIV><BR></DIV>
<DIV>If you look at the usage you can "<user>@<domain>
[prefix]"</DIV>
<DIV><BR></DIV>
<DIV>So you can set_user <A href="mailto:bob@example.com">bob@example.com</A>
user_ </DIV>
<DIV><BR></DIV>
<DIV>It will prefix the vars from the user with user_ and your
assessment of what is going on is wrong.<BR>
<DIV><BR></DIV>
<DIV>/b</DIV>
<DIV><BR>
<DIV>
<DIV>On Mar 30, 2011, at 8:31 PM, Madovsky wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>sounds weird.<BR>sip_from_user took the new set_user
user value but not sip_from_user_stripped.<BR>so now I use
sip_from_user_stripped to get the original
caller_id_number....<BR> ----- Original Message -----<SPAN
class=Apple-converted-space> </SPAN><BR> From: Madovsky<SPAN
class=Apple-converted-space> </SPAN><BR> To:<SPAN
class=Apple-converted-space> </SPAN><A
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><SPAN
class=Apple-converted-space> </SPAN><BR> Sent: Wednesday, March
30, 2011 9:13 PM<BR> Subject: set_user
effect<BR></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>