I'm not sure what I should show you from the debug but I'll explain the situation better. An incoming call initially hits my dialplan - and here I insert a custom channel variable using application="export". Then this same dialplan sends this call to a queue in mod_callcenter. Later, this call is answered and on the CHANNEL_ANSWERED event I try to collect the custom channel variable I inserted at the beginning. But the variable is no longer there.<br>
<br>
<br><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 3:07 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can you pastebin the debug log of this actually happening? Also, when you say "persist" what exactly do you mean? At some point in the call flow the channel variable is set and at some point later in the call flow it is not set? Again, a console debug log might yield some information.<div>
<br></div><div>-MC<br><br><div class="gmail_quote"><div class="im">On Wed, Nov 17, 2010 at 4:21 PM, elijah <span dir="ltr"><<a href="mailto:elijah@crankenstein.com" target="_blank">elijah@crankenstein.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<p class="MsoNormal">There is a channel variable I am adding to calls as they
arrive that I would like to see within raised events. Specifically, I am adding
my own database index to the A-leg, passing the call to mod_callcenter, then
capturing the CHANNEL_ANSWER event where I am looking for this same index
value. Unfortunately, I am not able to persist this custom channel variable for
the duration of the call, despite using ‘export’. Could you suggest how I may
accomplish a channel variable’s persistence in this situation?</p><br>
<br></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></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>