Active
Project:
JsSIP
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2016 at 07:41 UTC
Updated:
9 Jul 2016 at 11:06 UTC
Jump to comment: Most recent
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
Comment #2
pocock commentedTry 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.
Comment #3
smurfxx commentedThank 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
Comment #4
ramdas gaikar commentedLinux :
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
Comment #5
smurfxx commentedThank you very much, the "VERSION" file is essential and I didn't know it was necessary. Now it works!
Comment #6
edrigor29 commentedDoes 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.