-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported version 1.8 of mjsip from http://mjsip.org/.
- Loading branch information
Showing
575 changed files
with
53,918 additions
and
42,826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
Make MjSIP HOW-TO | ||
Make-MjSIP HOW-TO | ||
__________________________________________________________________ | ||
(by Luca Veltri, 29/6/2010) | ||
(by Luca Veltri, 21/4/2016) | ||
|
||
|
||
Note: Now JMF (Java Multimedia Framework) has been made optional. In order to build a standard java SIP UA you have just to make the UA (make ua) without any other configuration. If still you encounter JMF-related problems you can simply remove the folder 'local.media.jmf'. | ||
|
||
1) How to compile all packages | ||
-------------------------------------- | ||
# execute the following commands: | ||
javac -d classes src/org/zoolu/net/*.java src/org/zoolu/rtp/*.java src/org/zoolu/sdp/*.java src/org/zoolu/sound/*.java src/org/zoolu/util/*.java | ||
javac -classpath classes -d classes src/org/zoolu/sip/address/*.java src/org/zoolu/sip/authentication/*.java src/org/zoolu/sip/call/*.java src/org/zoolu/sip/dialog/*.java src/org/zoolu/sip/header/*.java src/org/zoolu/sip/message/*.java src/org/zoolu/sip/provider/*.java src/org/zoolu/sip/transaction/*.java | ||
javac -classpath classes -d classes src/local/media/*.java src/local/net/*.java src/local/ua/*.java | ||
javac -classpath classes -d classes src/local/server/*.java src/local/sbc/*.java | ||
|
||
|
||
1) How to compile all packages under Windows OS (see section 3 for building mjUA with JMF support): | ||
2) How to make the jar files | ||
-------------------------------------- | ||
- just run 'make all' | ||
- otherwise you can separately do 'make' with the selected target (e.g. 'make ua') | ||
|
||
# execute the following commands: | ||
cd classes | ||
jar -cf ../lib/sip.jar org -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
jar -cf ../lib/ua.jar local/media local/net local/ua -C ../resources media/local/ua | ||
jar -cf ../lib/server.jar local/server | ||
jar -cf ../lib/sbc.jar local/net local/sbc | ||
cd .. | ||
|
||
|
||
2) How to compile all packages under linux OS (see section 3 for building mjUA with JMF support): | ||
3) Alternatively, how to compile all packages and make all jars with 'make' under Windows OS | ||
-------------------------------------- | ||
- in file 'makefile-config' set 'OS=Linux' | ||
- just run 'make all' | ||
- otherwise you can separately do 'make' with the selected target (e.g. 'make ua') | ||
# just run 'make all' | ||
# otherwise you can separately do 'make' with the selected target (e.g. 'make sip' or 'make ua') | ||
|
||
|
||
4) Alternatively, how to compile all packages and make all jars with 'make' under linux OS | ||
-------------------------------------- | ||
# in file 'makefile-config' set 'OS=Linux' | ||
# run 'make all' | ||
# otherwise you can separately do 'make' with the selected target (e.g. 'make sip' or 'make ua') | ||
|
||
|
||
3) How to build mjUA with JMF support: | ||
5) Problems with JDK bin folder | ||
-------------------------------------- | ||
- if you have JMF installed you can bulid a JMF-powered UA with video support; you can do this byusing the jmf' target, i.e. run 'make jmf' | ||
# if you have not the JDK bin folder correctly configured in your PATH environment variable, you may modify the file 'make-config' and properly set the parameters 'JDK_HOME=..' and 'JDK_BIN=$(JDK_HOME)/bin/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
javac -d classes src/org/zoolu/net/*.java src/org/zoolu/sound/*.java src/org/zoolu/sound/codec/*.java src/org/zoolu/sound/codec/amr/*.java src/org/zoolu/sound/codec/g711/*.java src/org/zoolu/sound/codec/g726/*.java src/org/zoolu/sound/codec/gsm/*.java src/org/zoolu/util/*.java src/org/mjsip/rtp/*.java src/org/mjsip/sdp/*.java src/org/mjsip/sdp/field/*.java src/org/mjsip/media/*.java src/org/mjsip/net/*.java | ||
javac -classpath classes -d classes src/org/mjsip/sip/address/*.java src/org/mjsip/sip/authentication/*.java src/org/mjsip/sip/call/*.java src/org/mjsip/sip/dialog/*.java src/org/mjsip/sip/header/*.java src/org/mjsip/sip/message/*.java src/org/mjsip/sip/provider/*.java src/org/mjsip/sip/transaction/*.java | ||
javac -classpath classes -d classes src/org/mjsip/ua/*.java src/org/mjsip/ua/cli/*.java src/org/mjsip/ua/gui/*.java | ||
javac -classpath classes -d classes src/org/mjsip/server/*.java src/org/mjsip/server/sbc/*.java | ||
cd classes | ||
jar -cf ../lib/sip.jar org/zoolu org/mjsip/rtp org/mjsip/sdp org/mjsip/sip -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
jar -cf ../lib/ua.jar org/mjsip/media org/mjsip/net org/mjsip/ua -C ../resources media/org/mjsip/ua -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
jar -cf ../lib/server.jar org/mjsip/net org/mjsip/server -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
javac -d classes src/org/zoolu/net/*.java src/org/zoolu/sound/*.java src/org/zoolu/sound/codec/*.java src/org/zoolu/sound/codec/amr/*.java src/org/zoolu/sound/codec/g711/*.java src/org/zoolu/sound/codec/g726/*.java src/org/zoolu/sound/codec/gsm/*.java src/org/zoolu/util/*.java src/org/mjsip/rtp/*.java src/org/mjsip/sdp/*.java src/org/mjsip/sdp/field/*.java src/org/mjsip/media/*.java src/org/mjsip/net/*.java | ||
javac -classpath classes -d classes src/org/mjsip/sip/address/*.java src/org/mjsip/sip/authentication/*.java src/org/mjsip/sip/call/*.java src/org/mjsip/sip/dialog/*.java src/org/mjsip/sip/header/*.java src/org/mjsip/sip/message/*.java src/org/mjsip/sip/provider/*.java src/org/mjsip/sip/transaction/*.java | ||
javac -classpath classes -d classes src/org/mjsip/ua/*.java src/org/mjsip/ua/cli/*.java src/org/mjsip/ua/gui/*.java | ||
javac -classpath classes -d classes src/org/mjsip/server/*.java src/org/mjsip/server/sbc/*.java | ||
cd classes | ||
jar -cf ../lib/sip.jar org/zoolu org/mjsip/rtp org/mjsip/sdp org/mjsip/sip -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
jar -cf ../lib/ua.jar org/mjsip/media org/mjsip/net org/mjsip/ua -C ../resources media/voip/application/ua -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
jar -cf ../lib/server.jar org/mjsip/net org/mjsip/server -C ../lib COPYRIGHT.txt -C ../lib license.txt | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -367,10 +367,10 @@ | |
#registrar=example.net | ||
|
||
# Contact URL. | ||
# If not defined (default), it is formed as sip:user@via_address:host_port. | ||
# If not defined (default), it is formed as sip:user@via_addr:host_port. | ||
# Normally you can leave it undefined. | ||
#contact_url=sip:[email protected]:5070 | ||
|
||
# User's name used for server authentication. | ||
#auth_user=alice | ||
|
||
|
@@ -383,7 +383,15 @@ | |
# Absolute path (or complete URL) of the jar archive, where various UA media (gif, wav, etc.) are stored. | ||
# Use value 'NONE' for getting resources from external folders. | ||
# Default value: ua_jar=lib/ua.jar | ||
#ua_jar=./ua.jar | ||
#ua_jar=lib/ua.jar | ||
|
||
# Absolute path (or complete URI) of the folder containing UA's resources. | ||
# By default, the local folder "resources" is used. | ||
#res_path=resources | ||
|
||
# Relative path of UA media resources (gif, wav, etc.) within the UA jar file or within the resources folder. | ||
# By default, the folder "media/local/ua" is used. | ||
#media_path=media/local/ua | ||
|
||
# Absolute path (or complete URL) of the buddy list file where the buddy list is and loaded from (and saved to). | ||
# Default value: buddy_list_file=buddy.lst | ||
|
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.