I have a mod-java script that is encountering an error on the latest version from svn.<br><br>The script runs successfully on build: FreeSwitch Version 1.0.pre3 (7616M)<br><br>When I retrieve the latest version from svn (8019) I get the following output from the console:<br>
<br>2008-04-04 02:03:15 [ERR] switch_cpp.cpp:146 getVariable() session is not initalized<br>2008-04-04 02:03:15 [ERR] switch_cpp.cpp:146 getVariable() session is not initalized<br>2008-04-04 02:03:15 [ERR] switch_cpp.cpp:153 execute() session is not initalized<br>
2008-04-04 02:03:15 [DEBUG] switch_cpp.cpp:98 ~CoreSession() CoreSession::~CoreSession desctructor<br><br>Java code that works on 7616 but fails on 8019:<br><br> public void run(String sessionUuid, String args)<br> {<br>
freeswitch.console_log("notice", "INBOUND UUID: " + sessionUuid + " ARGS: " + args + "\n");<br> JavaSession session = null;<br> <br> try<br> {<br>
session = new JavaSession(sessionUuid);<br> <br> session.setAutoHangup(false);<br> <br> String raw_dnis = session.getVariable("originate_caller_id_number");<br>
String raw_ani = session.getVariable("caller_id_number");<br><br>Has something changed on the Java module. Do I need any new additional initialization?<br><br>Jonathan<br><br>