Lub Cim: Yuav ua li cas rau nruab IP Telephony Software

Lub hnub qub, yuav ua li cas rau nruab

Zoo kawg Nws yog ib tug Pub dawb thiab qhib qhov chaw platform los siv koj tus kheej VoIP-based switchboard rau koj lub lag luam me lossis koom haum. Ua li no, koj tuaj yeem txhim kho koj cov khoom lag luam thiab tuaj yeem pab koj cov neeg yuav khoom hauv qhov kev xaiv zoo dua nrog txhua lub xov tooj koj muaj.

Hauv phau ntawv no koj yuav kawm yuav nruab thiab teeb nws hauv Ubuntu, raws li nws yog ib qho ntawm cov nyiam faib tshaj plaws. Tab sis cov kauj ruam tuaj yeem ua tau zoo heev rau lwm qhov kev faib tawm ntawm Debian, thiab txawm rau lwm yam GNU / Linux kev cuam tshuam, raws li nws yuav raug ntsia los ntawm qhov chaws, sau los tsim cov binary.

Rau lwm lub platform, xws li Microsoft Windows lossis macOS, koj yuav tsis tas yuav sau los ntawm cov peev txheej, koj tuaj yeem nrhiav twb tau tso ua ke pob npaj rau nruab.

Nruab Asterisk los ntawm kauj ruam

Yuav tsum tau nruab ib lub hnub qub ntawm koj lub system, koj tsuas yog yuav tsum ua raws li cov qeb yooj yim no ...

Yam yuavtsum tau kawm uantej

Ua ntej pib txoj kev nruab Asterisk, koj yuav tsum xub muaj tag nrho cov tsim nyog pob mus ua ke. Feem ntau, nws zoo li tias koj faib khoom twb muaj lawv, tab sis koj tuaj yeem nyab xeeb los ntawm kev khiav cov haujlwm hauv qab no (yog tias lawv tau nruab lawv yuav tsis ua dab tsi):

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install wget build-essential subversion

Qhov ntawd yuav nruab pob ntawv wget, los rub cov chaw, Subversion version tswj kab ke, thiab cov pob khoom tseem ceeb rau tsim lub pob los ntawm qhov chaw.

Download Lub Cim Yug

Hauv qab no yuav yog download tau lub fonts Asterisk software, uas yog, lub hauv paus ntsiab lus los ntawm cov uas koj tuaj yeem tsim binary ntawm qhov program no. Ua li no, los ntawm qhov xaus koj yuav tsum ua:

Qhov no rub tawm lub Asterisk 18.3.0 version ntawm lub software, uas yog qhov tseeb ntawm no sau.

cd /usr/src/

sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk/asterisk-18.3.0.tar.gz

sudo tar zxf asterisk-18.3.0.tar.gz

cd asterisk-18.3.0

Daws kev vam khom

Cov kauj ruam tom ntej yog daws kev vam khom uas Asterisk muaj, tshwj xeeb tshaj yog thaum nws los txog rau MP3 module xav tau ntawm kev hu. Ua li no, los ntawm cov davhlau ya nyob twg koj tuaj yeem khiav cov lus txib hauv qab no kom siv cov ntawv sau uas muaj rau cov laj thawj no:

sudo contrib/scripts/get_mp3_source.sh
sudo contrib/scripts/install_prereq install

Cov lus txib no yuav daws cov kev vam khom thiab muab cov lus teeb tsa ua tiav yog tias nws ua tiav.

Nruab Nruab Nruab Hnub Qub

Tam sim no yog lub sijhawm los tso ua ke thiab nruab Asterisk xws li. Txhawm rau ua qhov no, cov kauj ruam yuav ua raws li yog yooj yim heev, koj tsuas yog yuav tsum siv:

Nyeem cov ntawv LEADME yog tias koj muaj teeb meem los sis sim ua kom tiav lwm cov ntawv. Tej zaum yuav muaj qhov sib txawv me ntsis.

sudo ./configure

sudo make menuselect

Los ntawm cov ntawv qhia zaub mov, xaiv fwm_mp3 thiab ntaus F12, koj tuaj yeem siv cov keyboard thiab xaiv Txuag & Tawm thiab nias ENTER.

Tom qab ntawd koj tuaj yeem pib txheej txheem ntawm muab tso ua ke xws li:

sudo make -j2

Koj tuaj yeem hloov kho tus naj npawb uas sib xyaw -j los ntawm tus naj npawb ntawm cov xoos ntawm koj lub processor. Piv txwv li, yog tias koj muaj 8 cores koj tuaj yeem siv -j8 kom ua kom ceev cov ntawv sau cia. Yog tias koj tsuas muaj ib lub noob pob, koj tuaj yeem txwv qhov -j xaiv.

Kev teeb tsa yooj yim

Thaum cov ntawv ua tiav tiav, uas yuav siv sijhawm ntau dua los yog tsawg dua nyob ntawm kev ua haujlwm ntawm koj lub khoos phis tawm, hauv qab no yog kev teeb tsa los ntawm binary:

sudo make install

Nws twb tau nruab lawm. Tab sis cov txheej txheem tsis tau ua tiav. Cov kauj ruam tom ntej yog los nruab qee qhov pib PBX teeb tsa cov ntaub ntawv: 

sudo make basic-pbx

sudo make config

sudo ldconfig

Cov kauj ruam tom ntej hauv kev teeb tsa Asterisk tseem ceeb yog los tsim tus neeg siv tshiab. Rau kev ruaj ntseg, nws yog qhov zoo dua tsim tus neeg siv tshiab:

sudo adduser --system --group --home /var/lib/asterisk --no-create-home --gecos "Asterisk PBX" asterisk

Tam sim no, koj yuav tsum qhib cov ntaub ntawv teeb tsa ua haujlwm hauv qab no / thiab lwm yam / default / asterisk nrog koj cov kab ntawv nyiam thiab tsis nkag siab ob kab (tshem tus # txij thaum pib):

  • AST_USER = »asterisk»
  • AST_GROUP = »

Tom ntej no yog los ntxiv rau cov neeg siv tsim rau lub dialout thiab suab pawg tias IP tus xov tooj yuav tsum tau ua haujlwm:

sudo usermod -a -G dialout,audio asterisk

Tam sim no koj yuav tsum hloov kho kev tso cai thiab tus tswv ntawm qee cov ntaub ntawv thiab cov ntawv sau tseg yuav siv nrog cov neeg siv tsim thiab tsis nrog tus siv los ntawm kev pib Asterisk:

sudo chown -R asterisk: /var/{lib,log,run,spool}/asterisk /usr/lib/asterisk /etc/asterisk

sudo chmod -R 750 /var/{lib,log,run,spool}/asterisk /usr/lib/asterisk /etc/asterisk

Pib txoj kev

Thaum txhua yam tau teeb tsa, cov hauv qab no yog pib muab kev pabcuam uas pib tus txheej txheem Asterisk. Ua li no, cia li khiav:

sudo systemctl start asterisk

sudo systemctl enable asterisk

Rau paub tseeb tias nws ua haujlwm:

sudo asterisk -vvvr

Yog tias nws tsis ua haujlwm, tshawb xyuas tias koj tau pib ua haujlwm zoo lossis yog tias koj muaj qee yam kev coj ntawm txoj cai Firewall lossis kev ruaj ntseg system uas tuaj yeem thaiv nws.

Cov Lus Qhia Ntxiv - Huab Tais Liab

Lub hnub qub teeb

Lub hnub qub, lwm txoj hauv kev

Thaum txhua yam ua tiav, koj yuav tsum muaj koj VoIP tus xov tooj server khiav kom koj lub xov tooj txuas nrog koj LAN tuaj yeem ua haujlwm tau zoo. Txawm li cas los xij, yog tias koj yuav tsum ua qee yam kev teeb tsa Hauv kev tshwj xeeb, koj tuaj yeem coj mus rau hauv kev txiav txim siab cov ntawv tseem ceeb ntawm Asterisk:

  • /etc/asterosk/asterisk.conf: yog lub ntsiab txheej txheem cov ntaub ntawv. Hauv nws koj tuaj yeem kho tag nrho cov hauv paus txog qhov system nws tus kheej, xws li cov ntawv sau npe qhov chaw seem ntawm cov kev teeb tsa, cov ntaub ntawv suab, cov qauv, thiab lwm yam, thiab cov haujlwm tseem ceeb ntawm cov kev pabcuam.
  • /etc/asterisk/sip.conf: nws yog lwm cov ntaub ntawv teeb tsa tseem ceeb, nws txhais tau li cas SIP raws tu qauv ua haujlwm, ob qho tib si los txhais cov neeg siv ntawm cov kab ke, nrog rau cov servers uas lawv yuav tsum txuas. Sab hauv koj yuav pom ob ntu tseem ceeb, ib qho [hais txog], rau ntiaj teb cov txwv thiab lwm ntu lossis cov ntsiab lus rau cov neeg siv thiab lwm tus.
  • /etc/asterisk/extensions.conf: lwm qhov tseem ceeb Asterisk teeb tsa cov ntaub ntawv. Hauv nws koj tuaj yeem txiav txim siab seb nws yuav coj zoo li cas.
  • /etc/asterisk/queues.conf- txhawm rau txheeb xyuas cov queues thiab cov kab mob siab, uas yog cov tswv cuab.
  • /etc/asterisk/chan_dahdi.conf: qhov twg cov pab pawg thiab cov tsis ntawm daim npav sib txuas lus tau teeb tsa.
  • /etc/asterisk/cdr.conf: qhov twg nws yog qhia yuav ua li cas khaws cov ntaub ntawv ntawm hu ua.
  • /etc/asterisk/features.conf: cov yam ntxwv tshwj xeeb xws li kev hloov tsheb, graciones, thiab lwm yam.
  • /etc/asterisk/voicemail.conf- Cov suab lus thiab cov chaw.
  • /etc/asterisk/confbridge.conf- Los kho kom haum rau cov neeg siv chav sib tham, chav thiab chav xaiv ua.
  • lwm leej lwm tus: Asterisk yog ntau yam thiab hloov tau, yog li muaj peev xwm ua tau ntau yam ntxiv, txawm hais tias cov no yog qhov tseem ceeb.

Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

2 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   Tus Saib Xyuas Computer said

    Heev nthuav hais tias ib tug neeg tau raug txhawb kom sau cov teeb tsa thiab teeb tsa ntawm Asterisk, ua tsaug rau Isaac.

    Koj puas npaj mus txuas ntxiv nrog lwm cov ntawv ntawm qhov kev kawm? Kuv tshuav xav tau ntau. Kuv nkag siab tias tsis yog txhua tus ntawm peb muaj lub xov tooj network tab sis peb puas tuaj yeem sim VoIP software ntawm peb lub xov tooj ntawm tes? (piv txwv)

    Pab kev zoo siab thiab kuv vam tias koj yuav raug txhawb kom txuas ntxiv delving mus rau hauv lub ncauj lus.

    ua tsaug ntau ntau

  2.   Magda said

    https://www.freepbx.org/

    Tej zaum koj yuav tau nyob ntawm no ua ntej. Nws suav nrog asterix (ntau dua lossis tsawg dua) thiab zam txhua phau ntawv teeb tsa ntawm chav tswj kav. Nyob rau hauv txhua rooj plaub, koj yuav tsum mob siab lub sijhawm thiab ua siab ntev rau nws.

    Hmoov zoo rau cov uas muab kev lom zem !!!