返回列表 發帖
本帖最後由 角色 於 2015-6-6 16:36 編輯

Installation of ssh server and client

1. Installation of the following two packages

apt-get install opessh-server openssh-client

2. Edit the /etc/ssh/sshd_config

Change the property of "PermitRootLogin" to "PermitRootLogin yes"

3. Restart ssh service

service sshd restart

you are able to remote login the Asterisk service if you know the IP address of the server. If you do not know you can use the command "ifconfig"

References:
https://wiki.debian.org/SSH#Introduction

TOP

本帖最後由 角色 於 2015-6-6 17:34 編輯

Network Configuration of Debian system

因为之前的QNAP TS-453 Pro安装的Debian时,很多settings都跟你network的DHCP和DNS信息,而VM里安装的Debian的Network Settings是1) IP=DHCP client取来,Gateway也是从DHCP Server给出,而DNS也从之前DNS Server。因为Asterisk Server一般都不用dynamic IP,而用static IP,所以我们要把Debian的network信息要进行调整一下。

1、Log in the Debian system and edit the file "/etc/network/interfaces" and modify from
  1. allow-hotplug eth0
  2. iface eth0 inet dhcp
複製代碼
to
  1. # The primary network interface
  2. allow-hotplug ethic
  3. iface eth0 inet static
  4.         address 10.0.88.14
  5.         netmask 255.255.255.0
  6.         gateway 10.0.88.1
複製代碼
After modification, you have to restart the network information to make it effective using the command
  1. /etc/init.d/networking restart
複製代碼
Reference
https://wiki.debian.org/NetworkConfiguration

TOP

Setting up the date and time of the system

1. Installation of the ntpdate package

apt-get install ntpdate

2. update the time

ntpdate pool.ntp.org


Reference:
https://www.debian-administratio ... rent_automatically.

TOP

本帖最後由 角色 於 2015-6-7 19:32 編輯

Installation of G729 code

If your voice quality is not very good due to the bandwidth available for VoIP, then you may consider to install G729 on your Asterisk box. You can use the following link to install the G729 for your system for the purpose of codec evaluation.

Celeron is Pentium3/Pentium4/Core with smaller cache.


How to check whether your system is 32-bit or 64-bit of your Debian system?

uname -m
x86_64 ==> 64-bit kernel
i686   ==> 32-bit kernel

Since my Debian system is a 32-bit OS sys,  I went to the link [1] and under ast13 directory, I obtained the file "codec_g729-ast130-gcc4-glibc-pentium4.so". I renamed it to codec_g729.so. I used the command "scp codec_g729.so root@10.0.88.14:/usr/lib/asterisk/modules". After the remote copy operation completed, I ssh to the remote site using the command "ssh root@10.0.88.14". It asked me to enter the password. I went to the directory /usr/lib/asterisk/modoules and chmod 755 codec_g729.so. Restarted the asterisk and issued the command "core show translation recalc 10", I got the following figure

Screen Shot 2015-06-07 at 7.08.31 PM.png

Reference:
[1] http://asterisk.hosting.lv

TOP

回復 35# hn4498

不错!有了这样的师兄把安装影片也编辑好,然后提供链接,那么对一些新手来说是有莫大裨益。

TOP

回復 38# hn4498

Now you are able to compile your own Asterisk 13 on Debian 8.1. You are able to do a lot of things but there are still many things that you have to learn. For instance,

1) how to integrate your Obi110 into your Asterisk system?
2) how to group your outbound trunks into a single out-going dial plan?
3) how to register the public voip SIP account?
4) how to handle incoming phone calls?

TOP

本帖最後由 角色 於 2015-6-24 14:05 編輯

Workshop 6 has already completed. The next Workshop 7 is the first workshop which lets you connect a trunk to external PSTN service via the Asterisk box. It allows both the outbound/inbound services from/to selected users.

TOP

本帖最後由 角色 於 2015-6-25 09:25 編輯

The Workshop 7 was just finished. It shows the way to configure the OBi110 such that the outbound call (PSTN, SP2) via the remote OBi110 could be realised.

TOP

回復 43# hn4498

Very good! Now you also contributed to the Forum for the dialing plan with "+" sign for international calls.

TOP

回復 42# testing

你这个问题,主要是你的FXO机不能指定某条线打出。如果用独立的FXO device就可以。

TOP

现在的2b又有新的settings,就是register string,最后的电话后面要加入hk。而dial plan也加上hk.

http://www.telecom-cafe.com/foru ... =6657&pid=41300

TOP

话!噻!如果不看Workshop 9,真的不知道那么复杂!!!谢谢hn4498。

TOP

大家要看的Asterisk天书,就是Asterisk: The Definite Guide,它是可以免费下载

Asterisk Definite Guide 4th Edition.png

TOP

member的8条HKBN 2b lines (8个numbers x 8 元 = 64元)终于搞定,现在member都用得非常爽!!!用香港的BR去申请的2b numbers超值!!!大家都可以考虑用BR去申请。

TOP

返回列表