How are you creating a B leg? Bridging to user/ ?
-Avi
On Tue, May 14, 2013 at 3:07 PM, Alex Lake <alex@digitalmail.com> wrote:
I've just discovered a yawning hole in my knowledge of Freeswitch...
When I make an internal call, I would like to be able to set variables
that are originator specific.
I had previously done this in the directory part of conf with things
like this:
<include>
<user id="9903301">
...
<variables>
<variable name="tenant_id" value="9903"/>
<variable name="a_ext" value="301"/>
<variable name="accountcode" value="301"/>
<variable name="user_context" value="dp9903"/>
<variable name="internal_caller_id_name" value="Internal from x301
alex"/>
</variables>
</user>
</include>
But when I try to extract those variables in a lua script (eg. the
extension handling "201"), they don't seem to be there.
It's as though they weren't exported from A-Leg to B-Leg.
What am I missing?
How can I arrange for variables set in the <user> to be readable in the
b-leg dialplan?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2241 / Virus Database: 3162/5822 - Release Date: 05/13/13