<action application="set_user" data="user@${domain_name}"/>



On Sun, Feb 25, 2018 at 8:14 AM, Ryan Harris <ryharris@airmail.cc> wrote:
On 02/24/2018 01:35 PM, Bob Smith wrote:
> Let's say I have a few important variables that sofia needs, and these
> are stored on a per-user basis in their directory entry, e.g. :
>
> "/etc/freeswitch/directory/default/2022.xml" might have params such as :
> <variable name="privacy" value="yes"/>
> <variable name="effective_caller_id_name" value="foobar"/>
> <variable name="effective_caller_id_number" value="00000"/>
>
> Is it then possible to "impersonate the user" or in other words refer
> to those parameters when calling sofia from, say,
> "/etc/freeswitch/dialplan/public/25_MYDDI.xml".

https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-user_data

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

color-facebook-96.pngcolor-twitter-96.png