[Freeswitch-users] outbound sip call via lua: NORMAL_TEMPORARY_FAILURE
Neil Patel
neilp at cs.stanford.edu
Thu May 6 00:12:12 PDT 2010
from the CLI:
> luarun script.lua
On Wed, May 5, 2010 at 6:17 PM, Brian West <brian at freeswitch.org> wrote:
> How are you running this script?
>
> /b
>
> On May 5, 2010, at 8:13 PM, Neil Patel wrote:
>
> > I was testing a luascript that I am using to initiate calls from the
> command line using luarun. Here is the relevant snippet of the script:
> > -- make the call
> > session = freeswitch.Session(DIALSTRING_PREFIX .. phone_num)
> > session:setVariable("caller_id_number", phone_num)
> > session:setVariable("playback_terminators", "#");
> > session:setHangupHook("hangup");
> > session:setInputCallback("my_cb", "arg");
> >
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100506/7552a54f/attachment.html
More information about the FreeSWITCH-users
mailing list