This is project for proxy (sip and rtp) calls.
Instructions for https://hub.docker.com/repository/docker/dalsearan/proxy_for_sip/general
for expirienced users to dig in config - branch master
- Debian 10/11
- At least 10 GB of free disk space
- 1 GB of RAM
- Public static ip-address
- Installed git
-
Clone this repo to a local VDS/VPS:
# git clone https://github.com/Dalsearan/sipproxy.git
-
Go to the sipproxy directory:
# cd sipproxy
-
Run command to make executable:
# chmod +x setup-sipproxy.x
-
Then run as a root on Debian system:
# ./setup-sipproxy.x
-
Follow the installation instructions.
# apt update && apt -y install git && git clone https://github.com/Dalsearan/sipproxy.git && cd sipproxy && chmod +x setup-sipproxy.x && ./setup-sipproxy.x
Set the ip-address and port 25060 of sipproxy as an outbound proxy in your SIP phone settings.
Set the parameter "outboundproxy=ip-address of sipproxy:25060" for the SIP-trunk in sip.conf, for example:
outboundproxy=192.168.0.1:25060
https://wiki.asterisk.org/wiki/display/AST/PJSIP+with+Proxies
In a SIP trunk parameter file such as "sip-trunk.xml", add the following parameter , for example:
<include>
<!--gateway name required, you will use this in the outbound dialplan -->
<gateway name="sip-trunk">
...
<param name="outbound-proxy" value="192.168.0.1:25060"/>
...
</gateway>
</include>