<div dir="ltr"><div>Do you mean the default dialplan context? If so, why does that matter for an outbound channel that you've explicitly created? Perhaps you could expound a little on what you're doing here.<br><br>
</div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 9:26 AM, Ira Tessler <span dir="ltr"><<a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have a lua script that I am creating a new session:</div><div><br></div><div><pre style="font-family:Consolas">
legA = freeswitch.Session(dialA);
</pre><pre style="font-family:Consolas">Where dial is:</pre><pre style="font-family:Consolas"><font color="#000000" face="Consolas">{dtmf_type=none,originate_timeout=60,instant_ringback=true,origination_caller_id_name=xxxxxxxxxx,origination_caller_id_number=xxxxxxxxxx,followme_callid=e9886a3f-58c5-456a-949a-b5bd89b11b38}sofia/gateway/sr/</font>xxxxxxxxxx|sofia/gateway/<a href="http://voipinnovations.com/xxxxxxxxxx" target="_blank">voipinnovations.com/xxxxxxxxxx</a><br>
</pre></div><div>When the session gets created, it is in the "default" context. How can I set the context for the channel to be created in?</div><span class="HOEnZb"><font color="#888888"><br clear="all"><div>Ira Tessler<br>
Lead Software Engineer<br>ConnectMe<br>
<a href="tel:%28732%29%20490-9007%20x2" value="+17324909007" target="_blank">(732) 490-9007 x2</a><br><a href="mailto:ira@connectmevoice.com" target="_blank">ira@connectmevoice.com</a></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>