you can&#39;t, at least the way you are trying.<div><br></div><div>you should not be doing accounting in your script, rather, you should make a separate system to process</div><div>call data.</div><div><br></div><div><br></div>
<div><br><br><div class="gmail_quote">On Fri, May 28, 2010 at 12:43 PM, Frank @ Impact <span dir="ltr">&lt;<a href="mailto:frank@impactfax.com">frank@impactfax.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
















<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial">FreeSWITCH</span></font></span><font face="Arial"><span style="font-family:Arial"> Version 1.0.head (<span>git</span>-) from </span></font><font face="Arial"><span style="font-family:Arial">5/28/10</span></font><font face="Arial"><span style="font-family:Arial"></span></font></p>


<p class="MsoNormal"><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial">I have a <span>lua</span> script called from
the <span>dialplan</span> that bridges the call with </span></font></p>

<p class="MsoNormal"><span><span><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial">session:</span></font></span><font face="Arial"><span style="font-family:Arial">execute</span></font></span><font face="Arial"><span style="font-family:Arial">(&quot;bridge&quot;,&quot;{route=sofia/gateway/US/15555551212}
sofia/gateway/US/15555551212&quot;)</span></font></p>

<p class="MsoNormal"><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><span><font size="3" face="Arial"><span style="font-size:12.0pt;font-family:Arial">after</span></font></span><font face="Arial"><span style="font-family:Arial"> the call ends, I am trying to get
some variables out of the <span>Bleg</span> session, the bridged
leg. <span> </span>But I do not have a session
handle to get the variables.<span>  </span>I know
what the <span>uuid</span> is from global <span>variable_bridge_uuid</span>.<span>  </span>But how can I get the session of the
B-leg so that I can do a <span><span>getVariable</span></span><span>(</span>)?<span>  </span>The
variables I want are not available in any of the global variables I can see
with info.</span></font></p>

</div>

</div>


<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>