forked from sipXcom/sipxecs
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 20ca8b2
Showing
256 changed files
with
31,620 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: d725489c5302e763c1be6c7822f5775b | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
4 changes: 4 additions & 0 deletions
4
_downloads/ca0c143bed6e39623be3a2bd971bda8a/100reldisable.cfg
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,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd"> | ||
<voIpProt.SIP voIpProt.SIP.supportFor100rel="0" /> | ||
</polycomConfig> |
5 changes: 5 additions & 0 deletions
5
_downloads/d14dc2602f7048ba91f73a663d2ced88/blindxferdefault.cfg
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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd"> | ||
<call call.DefaultTransferType="Blind"> | ||
</call> | ||
</polycomConfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,17 @@ | ||
.. index:: API Reference | ||
|
||
============= | ||
API Reference | ||
============= | ||
|
||
At the heart of the platform are an extensive collection of REST and SOAP web service APIs that enable developers to customize the user experience, or build new applications and integrations. | ||
|
||
REST API Refrence | ||
----------------- | ||
|
||
:ref:`rest-api-reference` | ||
|
||
SOAP API Reference | ||
------------------ | ||
|
||
:ref:`soap-api-reference` |
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,165 @@ | ||
.. index:: building | ||
|
||
============ | ||
Building | ||
============ | ||
|
||
Server Build | ||
----------------- | ||
|
||
You may build sipXcom on a physical server or cloud image where you intend to host the software or create RPMS. | ||
|
||
- 2x CPU/vCPU | ||
- 8GB RAM | ||
- 50GB or larger disk | ||
- Minimal CentOS7 OS installation | ||
|
||
|
||
Docker Build | ||
----------------- | ||
|
||
To build sipXcom in a docker image, instantiate a container with the following command: | ||
|
||
.. code-block:: bash | ||
docker run -it --hostname=sipxecs --name=sipxecs-centos7 --privileged --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --label='org.label-schema.build-date=20201113' --label='org.label-schema.license=GPLv2' --label='org.label-schema.name=CentOS Base Image' --label='org.label-schema.schema-version=1.0' --label='org.label-schema.vendor=CentOS' --label='org.opencontainers.image.created=2020-11-13 00:00:00+00:00' --label='org.opencontainers.image.licenses=GPL-2.0-only' --label='org.opencontainers.image.title=CentOS Base Image' --label='org.opencontainers.image.vendor=CentOS' --runtime=runc -d centos:centos7 | ||
Prepare Server | ||
----------------- | ||
|
||
|
||
- Log on as root via ssh | ||
|
||
- On first boot you may need to edit */etc/sysconfig/network-scripts/YourNICCard*. Change `ONBOOT="no"` to `ONBOOT="yes"` | ||
|
||
- Run `yum update -y` | ||
|
||
- Increase Max Number of open files and max user processes for MongoDB (important for larger systems) | ||
|
||
- edit */etc/sysctl.conf* to add fs.file-max = 65536 line. ONLY do this if the default returned from `cat /cproc/sys/fs/file-max` is less than 65536. | ||
|
||
- edit */etc/security/limits.conf* to add the following block of text: | ||
|
||
.. code-block:: bash | ||
* soft nproc 65535 | ||
* hard nproc 65535 | ||
* soft nofile 65535 | ||
* hard nofile 65535` | ||
- Run `reboot` | ||
Update System | ||
----------------- | ||
- Run `yum update -y` | ||
- Run `yum install -y sudo git wget` | ||
Add sipx User | ||
----------------- | ||
sipXcom must be built by a user called *sipx* with sudo privileges. Add the *sipx* user as follows: | ||
- Run `useradd -m sipx` | ||
- If not on docker, run `passwd sipx` | ||
- Run `visudo` and append: | ||
.. code-block:: bash | ||
# add sipx as sudo user | ||
sipx ALL=(ALL) NOPASSWD:ALL | ||
Checkout sipXcom | ||
----------------- | ||
- Run `mkdir /src` and `cd /src` | ||
- Run `git clone https://github.com/onrelay/sipxecs.git` | ||
- Run `chown -R sipx.sipx sipxecs` | ||
Run Master Build Script | ||
----------------------- | ||
- Run `su sipx` to operate as sipx user | ||
- Run `cd /src/sipxecs` | ||
You can now use `sudo ./master-build.sh [options]` to configure and build the source in one step. | ||
This script will create /src/sipxecs/build and /usr/local/sipx directories where all build results are saved. | ||
Building Executables For Current Server | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
To build on a host server where you intend to run sipXcom, simply run `sudo ./master-build.sh`. | ||
Building RPMs on Docker | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
To build all rpms on a docker image, simply run `sudo ./master-build.sh --rpm`. | ||
Other Master Build Options | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Additionally, the master-build.sh script has the following options: | ||
- **-p | --platform**: OS platform of sipxcom RPM to build, e.g. centos-7 (default), rocky-9 | ||
- **-a | --architecture**: Hardware architecture of sipxcom RPM to build, e.g. x86_64 (default) | ||
- **-s | --subproject**: subproject to build or sipx for building all RPMs, e.g. sipx (default), sipXconfig, sipXproxy | ||
- **-v | --version**: sipXcom cersion to build, e.g 24.01 (default), 24.07 | ||
- **-r | --rpm**: Include this option if building rpms | ||
Advanced Builds | ||
--------------- | ||
For more advanced builds, sipXcom relies on GNU autoconf and make mechanisms to build its source. To use these mechanisms directly, you may use the following steps: | ||
- Prepare build folders: | ||
- Run `mkdir -p /src/sipxecs/build` | ||
- Run `cd /src/sipxecs/build` | ||
- Run `sudo mkdir -p /usr/local/sipx` | ||
- Run `sudo chown sipx.sipx /usr/local/sipx` | ||
- To exclude *oss_core* module from build: | ||
- Run `sudo echo oss_core >> .modules-exclude` | ||
- Run `sudo yum install -y oss_core oss_core-devel oss_core-debuginfo` | ||
- Run `sudo mkdir -p /usr/local/sipx/lib` | ||
- Run `sudo ln -s /usr/lib64/liboss_core.la /usr/local/sipx/lib/liboss_core.la` | ||
- Run `sudo ln -s /usr/lib64/liboss_carp.la /usr/local/sipx/lib/liboss_carp.la` | ||
- Run `sudo mkdir -p /usr/local/sipx/opt` | ||
- Run `sudo ln -s /usr/opt/ossapp /usr/local/sipx/opt/ossapp` | ||
- Configure: | ||
- Run `cd /src/sipxecs` | ||
- Run `sudo autoreconf -ivf` | ||
- Run `sudo chown -R sipx.sipx build` | ||
- To build locally: | ||
- Run `cd build` | ||
- Run `sudo ../configure` | ||
- Run `sudo make sipx` | ||
- Create a repo to build RPMs with mock: | ||
- Run `sudo yum install -y createrepo rpm-build mock` | ||
- Run `sudo wget http://li.nux.ro/download/nux/misc/el7/x86_64/thttpd-2.25b-33.el7.nux.x86_64.rpm` | ||
- Run `sudo rpm -ivh thttpd-2.25b-33.el7.nux.x86_64.rpm` | ||
- Run `rm -f thttpd-2.25b-33.el7.nux.x86_64.rpm` | ||
- Run `sudo usermod -a -G mock sipx` | ||
- Run e.g. `sudo ../configure --enable-rpm DISTRO="centos-7-x86_64"` | ||
- Run `sudo make sipx.rpm` (run `sudo chown -R sipx.sipx repo` if it gives a permission error on first try) | ||
Resolving Dependencies | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
If compilation stops for a subproject, it is possible to list all its dependencies: | ||
- E.g. run `cd /src/sipxecs/sipXproxy` | ||
- Run `grep -R '^BuildRequires' | awk '{print $2}'` | ||
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,16 @@ | ||
*** | ||
FAQ | ||
*** | ||
|
||
Why sipxcom over asterisk, freepbx, etc? | ||
---------------------------------------- | ||
|
||
The biggest difference is sipxcom proxy is a `stateless proxy <https://tools.ietf.org/html/rfc3261#page-116>`_, where other proxies such as Asterisk are `B2BUAs <https://tools.ietf.org/html/rfc7092>`_. | ||
|
||
This means sipxcom is only involved in the call setup. It is never involved in relaying audio or video (RTP) media unless you're using a b2bua function, like :ref:`conferencing` , :ref:`voicemail`, :ref:`auto-attendants`, or :ref:`call-queue`. | ||
Once there is a 200 OK with SDP to a INVITE, and ACK to the 200 OK with SDP, the media (RTP) is direct between phone to phone. | ||
|
||
Because of this sipxcom (on sufficient hardware) can handle 10s of thousands of SIP transactions per second, per proxy instance. Some services such as proxy and registrar can run on multiple servers, increasing capability and reliability. | ||
|
||
Compare against Asterisk where `their wiki <https://wiki.asterisk.org/wiki/display/~mmichelson/SIP+performance+notes>`_ indicates the calls per second rate is somewhere between 30 to 40 on a HP DL360, and it is standalone. | ||
At the time of this writing, that wiki entry was last modified Jan 31st of 2011. In 2011 a (Gen 7) HP DL360 would support a max of two Intel socket FCLGA1366 (Xeon 55xx) processors and 384GB of RAM. |
Oops, something went wrong.