<div dir="ltr">How are you creating a B leg? Bridging to user/ ?<br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div></div><br><div class="gmail_quote">
On Tue, May 14, 2013 at 3:07 PM, Alex Lake <span dir="ltr"><<a href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've just discovered a yawning hole in my knowledge of Freeswitch...<br>
<br>
When I make an internal call, I would like to be able to set variables<br>
that are originator specific.<br>
<br>
I had previously done this in the directory part of conf with things<br>
like this:<br>
<br>
<include><br>
<user id="9903301"><br>
...<br>
<variables><br>
<variable name="tenant_id" value="9903"/><br>
<variable name="a_ext" value="301"/><br>
<variable name="accountcode" value="301"/><br>
<variable name="user_context" value="dp9903"/><br>
<variable name="internal_caller_id_name" value="Internal from x301<br>
alex"/><br>
</variables><br>
</user><br>
</include><br>
<br>
But when I try to extract those variables in a lua script (eg. the<br>
extension handling "201"), they don't seem to be there.<br>
<br>
It's as though they weren't exported from A-Leg to B-Leg.<br>
<br>
What am I missing?<br>
<br>
How can I arrange for variables set in the <user> to be readable in the<br>
b-leg dialplan?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>