I downloaded the latest version of jssip from here http://jssip.net/download/releases/
I tried to rename the file to jssip.js but libray is not detected.
Which version do I have to download?

Thanks!

Comments

smurfxx created an issue.

pocock’s picture

Try installing the JsSIP package (if you are running Debian or Ubuntu) or otherwise try downloading and unzipping the package manually and copying the contents into your Drupal tree.

smurfxx’s picture

Thank you, I tried with this package https://launchpad.net/ubuntu/+archive/primary/+files/jssip_0.6.34.orig.t...
Extracted to /sites/alla/libraries/jssip but drupal tells me that is not detected

ramdas gaikar’s picture

Linux :

1) Relative to the Drupal home,
mkdir -p sites/all/libraries/jssip
2) Download JsSIP.min.js from http://jssip.net/download into sites/all/libraries/jssip
Now the actual javascript file will be at : $(DRUPAL_HOME)/sites/all/libraries/jssip/jssip.js
3) Create the VERSION file:
echo "0.3.7" > sites/all/libraries/jssip/VERSION

Windows:

1) Create directory jsspi under sites/all/libraries
so directory will be : sites/all/libraries/jssip

2) Download JsSIP.min.js from http://jssip.net/download into sites/all/libraries/jssip
Now the actual javascript file will be at : $(DRUPAL_HOME)/sites/all/libraries/jssip/jssip.js

3) Create the VERSION file under sites/all/libraries/jssip/:

Write version number into this file. E.g. If VERSION of jsspi library is 0.3.7 then write this version into VERSION file

smurfxx’s picture

Thank you very much, the "VERSION" file is essential and I didn't know it was necessary. Now it works!

edrigor29’s picture

Does the directory look like this:

For jsSIP.js file = (DRUPAL_SITE)/sites/all/libraries/jssip/jssip.js?

Which is the right answer for VERSION.txt?

A. For VERSION file = (DRUPAL_SITE)/sites/all/libraries/jssip/VERSION.txt/echo "1.0.0"
or
B. For VERSION file = (DRUPAL_SITE)/sites/all/libraries/jssip/VERSION.txt/JsSIP v1.0.0
or
C. For VERSION file = (DRUPAL_SITE)/sites/all/libraries/jssip/VERSION.txt/1.0.0

Please adhere to this matter. Thanks.