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. -MC On Fri, Oct 11, 2013 at 9:26 AM, Ira Tessler <ira@connectmevoice.com> wrote:
I have a lua script that I am creating a new session:
legA = freeswitch.Session(dialA);
Where dial is:
{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/xxxxxxxxxx|sofia/gateway/voipinnovations.com/xxxxxxxxxx
When the session gets created, it is in the "default" context. How can I set the context for the channel to be created in?
Ira Tessler Lead Software Engineer ConnectMe (732) 490-9007 x2 ira@connectmevoice.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org