Anthony:
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?
Henry
you can't, at least the way you are trying.you should not be doing accounting in your script, rather, you should make a separate system to processcall data.
On Fri, May 28, 2010 at 12:43 PM, Frank @ Impact <frank@impactfax.com> wrote:
_______________________________________________FreeSWITCH Version 1.0.head (git-) from 5/28/10
I have a lua script called from the dialplan that bridges the call with
session:execute("bridge","{route=sofia/gateway/US/15555551212} sofia/gateway/US/15555551212")
after the call ends, I am trying to get some variables out of the Bleg session, the bridged leg. But I do not have a session handle to get the variables. I know what the uuid is from global variable_bridge_uuid. But how can I get the session of the B-leg so that I can do a getVariable()? The variables I want are not available in any of the global variables I can see with info.
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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_______________________________________________
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