<div dir="ltr">Hi,<div><br></div><div>In lua I bridge two sessions. When leg B hangup the call I need to set up some custom channel variables for odbc_cdr reporting.</div><div><br></div><div>freeswitch.bridge(session1, session2);<br></div><div>session2:execute(&quot;set&quot;, &quot;custom_var1=asdf&quot;);<br></div><div><br></div><div>But when the set command tries to run, the log says &quot;channel is hangup already&quot;.</div><div><br></div><div>Is there any way to do this properly?</div><div><br></div><div>Many thanks,</div><div>Zoltan</div></div>