Anthony:<br><br>Can you kindly describe why is it not a good practice to do accounting in the script? And what's the major benefit for doing accounting from a separate system?<br><br>Henry<br><br><span style="color: black;"><div dir="ltr">
<div></div><div style="padding: 10px 0pt 5px; font-family: arial,sans-serif; font-size: 13.3px;"><span style="color: gray;">Chat</span> <img src="http://www.images.wisestamp.com/skype.png" style="vertical-align: middle; padding-right: 5px;" alt="" height="16" width="16"><font style="color: gray; font-weight: bold; font-size: 9pt;">Skype: </font><font style="vertical-align: middle;">unicsolution</font> <img src="http://www.images.wisestamp.com/msn.png" style="vertical-align: middle; padding-right: 5px;" alt="" height="16" width="16"><font style="color: gray; font-weight: bold; font-size: 9pt;">MSN: </font><font style="vertical-align: middle;"><a href="mailto:b_ball_henry@hotmail.com">b_ball_henry@hotmail.com</a></font></div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;"><span style="color: gray;">Contact Me</span> <a href="http://www.linkedin.com/pub/henry-huang/1/654/578" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/linkedin.png" alt="Linkedin" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a><a href="http://www.facebook.com/profile.php?id=595148342" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/facebook.png" alt="Facebook" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a><a href="http://twitter.com/unicsolution" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/twitter.png" alt="Twitter" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a></div>
</div></span><br><br><div class="gmail_quote">On Sat, May 29, 2010 at 3:41 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
you can'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"><div><div></div><div class="h5">On Fri, May 28, 2010 at 12:43 PM, Frank @ Impact <span dir="ltr"><<a href="mailto:frank@impactfax.com" target="_blank">frank@impactfax.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span><font size="3" face="Arial"><span style="font-size: 12pt; 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: 12pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="3" face="Arial"><span style="font-size: 12pt; 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: 12pt; 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;">("bridge","{route=sofia/gateway/US/15555551212}
sofia/gateway/US/15555551212")</span></font></p>
<p class="MsoNormal"><font size="3" face="Arial"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><span><font size="3" face="Arial"><span style="font-size: 12pt; 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></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</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>