46 lines
925 B
Markdown
46 lines
925 B
Markdown
# Donar
|
|
|
|
## Linphone configuration
|
|
|
|
Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients.
|
|
Go to manage account.
|
|
Add a new SIP proxy.
|
|
|
|
```
|
|
Username: <username>@127.13.3.7:<SIP_PORT>
|
|
Proxy: 127.13.3.7:<SIP_PORT>
|
|
Leave the rest empty.
|
|
Uncheck all the checkboxes.
|
|
```
|
|
|
|
## Docker build
|
|
|
|
```
|
|
sudo docker build -t registry.gitlab.inria.fr/qdufour/donar .
|
|
sudo docker push registry.gitlab.inria.fr/qdufour/donar
|
|
```
|
|
|
|
```
|
|
mkdir -p ./{xp1-shared,xp1-res}
|
|
sudo chown -R 1000 ./{xp1-shared,xp1-res}
|
|
|
|
sudo docker run -t -i \
|
|
--privileged \
|
|
-v `pwd`/xp1-shared:/home/donar/shared \
|
|
registry.gitlab.inria.fr/qdufour/donar \
|
|
xp1-server
|
|
|
|
sudo docker run -t -i \
|
|
--privileged \
|
|
-v `pwd`/xp1-res:/home/donar/res \
|
|
-v `pwd`/xp1-shared:/home/donar/shared \
|
|
registry.gitlab.inria.fr/qdufour/donar \
|
|
xp1-client 1000 100 100
|
|
|
|
```
|
|
|
|
## Run an XP instance
|
|
|
|
```
|
|
sudo ./scripts/xp1 1000 100 100
|
|
```
|