[Freeswitch-users] outbound sip call via lua: NORMAL_TEMPORARY_FAILURE

Neil Patel neilp at cs.stanford.edu
Wed May 5 18:13:09 PDT 2010


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");


This was working fine earlier today, but now I can't get the call to work:
2010-05-05 18:05:46.051908 [NOTICE] sofia.c:4789 Hangup sofia/internal/
sip:1001 at 127.0.0.1:61770 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2010-05-05 18:05:46.053759 [ERR] switch_ivr_originate.c:2430 Cannot create
outgoing channel of type [user] cause: [NORMAL_TEMPORARY_FAILURE]
2010-05-05 18:05:46.053759 [ERR] switch_cpp.cpp:604 session is not
initalized
2010-05-05 18:05:46.053759 [ERR] switch_cpp.cpp:604 session is not
initalized
2010-05-05 18:05:46.053759 [ERR] freeswitch_lua.cpp:194 session is not
initalized
2010-05-05 18:05:46.053759 [ERR] freeswitch_lua.cpp:222 session is not
initalized


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.

-Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100505/1b3029d8/attachment.html 


More information about the FreeSWITCH-users mailing list