Board logo

標題: Schemes for multiple Asterisk installation [打印本頁]

作者: 角色    時間: 2012-10-25 22:55     標題: Schemes for multiple Asterisk installation

In order to facilitate the future discussion, the following scheme be employed.

1) The first installation is Asterisk Engine + Asterisk-GUI
  - Using the tarball method to include Asterisk Engine with the install directory (configure --prefix=/opt).
  - In order to simplify the installation of Asterisk-GUI, you could use ipkg method to install Asterisk-GUI (ipkg asterisk-gui) or you may use SVN method to download the source code of Asterisk-GUI.
  - (SIP: 5060, RTP: 11000-11999)

2) The second one is Asterisk Engine 1.8 (configure --prefix=/opt/asterisk-1.8)
  - (SIP:5070, RTP: 12000-12999)

3) The third one is Asterisk Engine 11 (configure --prefix=/opt/asterisk-11)
  - (SIP: 5080, RTP: 13000-13999)

4) The fourth one may be Asterisk Engine 11 + Asterisk-GUI (configure --prefix/opt/asterisk-11-gui)
  - (SIP: 5090, RTP: 14000-14999)

5) FreeSWITCH using QPKG method
  - (to be defined later)
作者: 角色    時間: 2012-10-26 13:43

Apart from schemes shown above, is there any suggestion?
作者: 角色    時間: 2012-10-28 16:43

本帖最後由 角色 於 2012-11-2 13:49 編輯

Since my current Asterisk is running on another QNAP TS-119, the standard port number is 5060, I would like to revise the schemes as follows:

1) The first installation is Asterisk Engine + Asterisk-GUI
  - Using the tarball method to include Asterisk Engine with the install directory (configure --prefix=/opt).
  - In order to simplify the installation of Asterisk-GUI, you could use ipkg method to install Asterisk-GUI (ipkg asterisk-gui) or you may use SVN method to download the source code of Asterisk-GUI.
  - (SIP: 5070, RTP: 11000-11999)

2) The second one is Asterisk Engine 1.8 (configure --prefix=/opt/asterisk-1.8)
  - (SIP:5060, RTP: 12000-12999)

3) The third one is Asterisk Engine 11 (configure --prefix=/opt/asterisk-11)
  - (SIP: 5080, RTP: 13000-13999)

4) The fourth one may be Asterisk Engine 11 + Asterisk-GUI (configure --prefix/opt/asterisk-11-gui)
  - (SIP: 5090, RTP: 14000-14999)

5) FreeSWITCH using QPKG method
  - (to be defined later)
作者: 角色    時間: 2012-10-29 21:38

The first task that I wanted is to install HKBN 2b in /opt/etc/asterisk but my attempt failed. I believe the problem came from 1) port settings in /opt/etc/asterisk as described post #3 and the port forwarding in my router.
作者: 角色    時間: 2012-11-4 07:49

本帖最後由 角色 於 2012-11-4 08:00 編輯

Now I have moved the operating Asterisk in TS-119 to TS-269, the port number assignment has to be revised as follows:
The sip port has to be specified by bindport (e.g. add bindport=5080 deliberately in Asterisk 11) variable under the general context of sip.conf and the rtp port has to be specified in rtp.conf.

1st Asterisk server (SIP:5060, RTP: 10003-10999)
Asterisk 1.8 (configure --prefix=/opt/asterisk-1.8)

2nd Asterisk server (SIP: 5070, RTP: 11000-11999)
Asterisk 1.8 + Asterisk-GUI (configure --prefix=/opt)
  - Using the tarball method to install Asterisk 1.8.
  - In order to simplify the installation of Asterisk-GUI, we use the ipkg method to install Asterisk-GUI (ipkg install asterisk-gui) or you may use SVN method to download the source code of Asterisk-GUI.

3rd Asterisk Server (SIP: 5080, RTP: 12000-12999)
Asterisk 11 (configure --prefix=/opt/asterisk-11)
(since there is no bindport variable in the context of [general] of sip.conf, you have to deliberately add bindport=5080, otherwise port confliction will result)

4th Asterisk Server (SIP: 5090, RTP: 13000-13999)
  - Asterisk Server 11 + Asterisk-GUI (configure --prefix/opt/asterisk-11-gui)

FreeSWITCH using QPKG method
  - (to be defined later)




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2