I don't know how to paste to pastebin, I have registered with <a href="http://freeswitch.org">freeswitch.org</a>, but it seems I need a different login for pastebin?<br>Meanwhile here's what I do in javascript:<br>
<br><i>session.setVariable("test_var", pin);</i><br><i>session.setVariable("hangup_after_bridge", "false"); <br> session.execute("transfer",destnum);</i><br><br>Basically somebody calls into fs and then dials out via gateway. I see my <i>variable_test_var </i>in channel state events, and then in channel hangup and destroy, but nothing in answer event. <br>
I just tested that with the latest trunk.<br><br><br><div class="gmail_quote">On Mon, Jun 1, 2009 at 12:59 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you pastebin a simple script that demonstrates the issue? Also, include any dialplan/configuration changes you use. Finally, please paste in a sample event with and without the variable in question. Once we have more information we will see what we can do to help.<br>
<font color="#888888">
<br>-MC<br><br></font><div class="gmail_quote"><div class="im">On Sun, May 31, 2009 at 5:52 PM, <a href="mailto:paul.degt@gmail.com" target="_blank">paul.degt@gmail.com</a> <span dir="ltr"><<a href="mailto:paul.degt@gmail.com" target="_blank">paul.degt@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi,<br>
I am setting a custom var from a javascript code, I do see it in channel<br>
state events and others up to channel answer. In channel answer event it<br>
somehow disappears,<br>
and then comes back in channel destroy event. My problem is that I<br>
really need it in channel answer event.<br>
What can be wrong here? I did put verbose_event action everywhere I<br>
could think of.<br>
Help would be greatly appreciated.<br>
Thanks.<br>
<br></div></div><div class="im">
_______________________________________________<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>
</div></blockquote></div><br>
<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>