[Freeswitch-users] how to get session of bridged Bleg

Frank @ Impact frank at impactfax.com
Fri May 28 13:29:58 PDT 2010


I am not trying to do accounting in the lua script.  
I am really just trying to determine which leg hung up on the bridge.
Is there another way to get that same information if it do it like I am
trying?
 
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Anthony Minessale
Sent: Friday, May 28, 2010 3:41 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] how to get session of bridged Bleg
 
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 process
call data.
 
 
 
On Fri, May 28, 2010 at 12:43 PM, Frank @ Impact <frank at 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 at 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 at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100528/612ce8dc/attachment-0001.html 


More information about the FreeSWITCH-users mailing list