Hi ,

I am getting this error when trying to run the java code

---error start------
java.lang.UnsatisfiedLinkError: org.freeswitch.swig.freeswitchJNI.new_JavaSession__SWIG_0()J
    at org.freeswitch.swig.freeswitchJNI.new_JavaSession__SWIG_0(Native Method)
    at org.freeswitch.swig.JavaSession.<init>(JavaSession.java:37)
    at Ping_MakeCall.call(Ping_MakeCall.java:68)
    at Ping_MakeCall.run(Ping_MakeCall.java:61)
    at java.lang.Thread.run(Thread.java:744)
----error ends ------

---
​Java code line where I am getting the error----
  JavaSession sessionAPI = new JavaSession();
 org.freeswitch.swig.API a = new API(sessionAPI);
------
I have already included freeswitch.jar file in path.

​
​What could be the possible reason for this error.?


Anurag Rana
M.Tech CSE, IIIT-Delhi,