[Freeswitch-users] set_user effect

Madovsky infos at madovsky.org
Thu Mar 31 05:50:00 MSD 2011


Ok Brian,

but I did this in my dialplan:

<action inline="true" application="set_user" data="${dialed_extension}@$${domain} dest_"/>

and after this line sip_from_uri, sip_from_user take the set_user values unless sip_from_user_stripped.
I use the latest git (6 hours ago),

thanks
  ----- Original Message ----- 
  From: Brian West 
  To: FreeSWITCH Users Help 
  Sent: Wednesday, March 30, 2011 9:39 PM
  Subject: Re: [Freeswitch-users] set_user effect


  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 at 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 at lists.freeswitch.org 
     Sent: Wednesday, March 30, 2011 9:13 PM
     Subject: set_user effect





------------------------------------------------------------------------------


  _______________________________________________
  FreeSWITCH-users mailing list
  FreeSWITCH-users at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110330/f160fe0f/attachment.html 


More information about the FreeSWITCH-users mailing list