[Freeswitch-users] lua session question

Michael Collins msc at freeswitch.org
Mon Oct 14 19:31:38 MSD 2013


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 at 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 at connectmevoice.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131014/1e672ec6/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list