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:<div><div>-- make the call</div><div>session = freeswitch.Session(DIALSTRING_PREFIX .. phone_num)</div>
<div>session:setVariable("caller_id_number", phone_num)</div><div>session:setVariable("playback_terminators", "#");</div><div>session:setHangupHook("hangup");</div><div>session:setInputCallback("my_cb", "arg");</div>
</div><div><br></div><div><br></div><div>This was working fine earlier today, but now I can't get the call to work:</div><div><div>2010-05-05 18:05:46.051908 [NOTICE] sofia.c:4789 Hangup sofia/internal/<a href="http://sip:1001@127.0.0.1:61770">sip:1001@127.0.0.1:61770</a> [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]</div>
<div>2010-05-05 18:05:46.053759 [ERR] switch_ivr_originate.c:2430 Cannot create outgoing channel of type [user] cause: [NORMAL_TEMPORARY_FAILURE]</div><div>2010-05-05 18:05:46.053759 [ERR] switch_cpp.cpp:604 session is not initalized</div>
<div>2010-05-05 18:05:46.053759 [ERR] switch_cpp.cpp:604 session is not initalized</div><div>2010-05-05 18:05:46.053759 [ERR] freeswitch_lua.cpp:194 session is not initalized</div><div>2010-05-05 18:05:46.053759 [ERR] freeswitch_lua.cpp:222 session is not initalized</div>
</div><div><br></div><div><br></div><div>I can paste more details, but seeing as this was working a short time ago, I'm wondering whether it is something silly. Thanks in advance.</div><div><br></div><div>-Neil</div>