Alamar alama: Yadda ake girka Software na Wayar IP

Alamar alama, yadda ake girkawa

alama Yana da dandamali kyauta da buɗaɗɗen tushe don aiwatar da allonku na tushen VoIP don karamar kasuwancin ku ko kungiyar ku. Ta wannan hanyar, zaku iya inganta yawan aikin ku kuma ku sami damar yiwa kwastomomin ku hidima ta hanya mafi kyau duka tare da duk wayoyin da kuke dasu.

A cikin wannan jagorar zaku koyon yadda ake girka da saita shi a cikin Ubuntu, kamar yadda yake ɗayan shahararrun rarrabawa. Amma matakan na iya zama kwatankwacin na sauran abubuwan rarrabawa na Debian, har ma da na sauran GNU / Linux distros, kamar yadda za a girka daga lambar tushe, a tattara don samar da binary.

Don wasu dandamali, kamar su Microsoft Windows ko macOS, ba kwa buƙatar tattarawa daga tushe, zaku iya samun abubuwanda aka riga kun haɗa su a shirye don girkawa.

Shigar da Alamar mataki-mataki

Don samun damar shigar da alama a kan tsarinku, kawai ku bi waɗannan matakai masu sauƙi ...

Abubuwan da ake bukata

Kafin fara shigar da Alamar taurari, yakamata ka fara samun duka fakitin buƙata harhadawa. Gabaɗaya, da alama rarrabawarku ta riga ta same su, amma kuna iya zama lafiya ta hanyar gudanar da waɗannan shirye-shiryen masu zuwa (idan an girka su babu abinda zasuyi):

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install wget build-essential subversion

Wannan zai shigar da kunshin wget, don zazzage tushen, tsarin sarrafa sigar Subversion, da kuma muhimman abubuwanda za'a gina kunshin daga tushe.

Zazzage Alamar alama

Mai zuwa zai kasance zazzage nasu rubutun Asterisk software, ma'ana, lambar tushe wanda zaku iya gina binary na wannan shirin. Don yin wannan, daga tashar dole ne ku zartar:

Wannan yana saukar da sigar tauraron tauraron dan adam ta 18.3.0 na software, wanda shine sabon salo yayin wannan rubutun.

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

Warware masu dogaro

Mataki na gaba shine warware dogaro cewa Alamar tauraron tauraro tana da, musamman idan yazo da tsarin MP3 da ake buƙata don kira. Don yin wannan, daga tashar zaku iya gudanar da waɗannan umarni masu zuwa don amfani da rubutun wadatar don waɗannan dalilai:

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

Waɗannan dokokin za su warware waɗannan dogaro kuma su nuna saƙon shigarwa mai nasara idan ya ci nasara.

Shigar da alama

Yanzu ne lokacin tattarawa da shigar da alama kamar haka. Don yin wannan, matakan da za a bi suna da sauƙi, kawai kuna amfani da:

Karanta fayil ɗin LEADME idan kuna da matsaloli ko kuna ƙoƙarin shigar da wani sigar. Zai iya samun ɗan bambanci kaɗan.

sudo ./configure

sudo make menuselect

Daga menu, zaɓi tsari_mp3 kuma ka buga F12, zaka iya amfani da maballin kuma zaɓi Ajiye & Fita ka latsa Shigar.

Bayan haka zaka iya fara aiwatar da tari saboda haka:

sudo make -j2

Zaku iya canza lambar da ke rakiyar -j ta lambar maɓallan processor ku. Misali, idan kana da tsakiya 8 zaka iya amfani da -j8 don saurin tattarawa. Idan kwaya daya ce tak, zaka iya danne zabin -j.

Basic sanyi

Da zarar an kammala aikin, wanda na iya ɗaukar fiye ko lessasa ya dogara da aikin kwamfutarka, mai zuwa shine kafuwa daga binary:

sudo make install

Tuni za'a girka shi. Amma aikin bai kammala ba. Mataki na gaba shine shigar da wasu fayilolin sanyi na PBX: 

sudo make basic-pbx

sudo make config

sudo ldconfig

Mataki na gaba a cikin saiti mai mahimmanci na Star shine ƙirƙirar sabon mai amfani. Saboda dalilan tsaro, ya fi kyau ƙirƙiri sabon mai amfani:

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

Yanzu, dole ne ku buɗe fayil ɗin daidaitawa mai zuwa / sauransu / tsoho / alama tare da editan rubutun da kuka fi so da layin layi guda biyu (cire # daga farko):

  • AST_USER = »alama
  • AST_GROUP = »alama»

Abu na gaba shine ƙara mai amfani da aka kirkira zuwa tattaunawa da rukunin sauti cewa tsarin wayar tarho na IP yana buƙatar aiki:

sudo usermod -a -G dialout,audio asterisk

Yanzu dole ne ku canza izini da mai shi na wasu fayiloli da kundayen adireshi don ayi amfani dasu tare da mai amfani da aka ƙirƙira ba tare da wanda tsoffin alama yake amfani dashi ba:

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

Fara aikin

Da zarar an daidaita komai, mai zuwa shine fara sabis wanda ya fara aiwatar da alama. Don yin wannan, kawai gudu:

sudo systemctl start asterisk

sudo systemctl enable asterisk

para tabbatar cewa yana aiki:

sudo asterisk -vvvr

Idan bai yi aiki ba, bincika cewa kun fara yadda yakamata ko kuma kuna da wasu irin tsarin mulki Firewall ko tsarin tsaro wannan na iya toshe shi.

Informationarin bayani - Wiki na alama

Sanyawa alama

Alamar alama, madadin

Da zarar duk abin da aka gama, ya kamata ka riga ka sami sabar wayar salula ta VoIP da ke gudana don wayoyinku da aka haɗa da LAN ɗinku suyi aiki da kyau. Koyaya, idan kuna yin wasu irin saiti Musamman, zaku iya yin la'akari da waɗannan mahimman fayilolin alama.

  • /etc/asterisk/asterisk.conf: shine babban fayil ɗin daidaitawa. A ciki zaku iya saita dukkan abubuwan yau da kullun game da tsarin da kanta, kamar kundin adireshi inda aka sami ragowar yanayin daidaitawa, fayilolin sauti, kayayyaki, da sauransu, gami da mahimman ayyuka na sabis ɗin.
  • /etc/asterisk/sip.conf: shine wani mahimmin fayil ɗin daidaitawa, yana bayyana yadda yarjejeniyar SIP ke aiki, duka don ayyana masu amfani da tsarin da kuma sabobin da dole ne su haɗu da su. A ciki zaka ga muhimman bangarori guda biyu, daya [general], don sigogin duniya da sauran bangarori ko mahallin masu amfani da sauransu.
  • /etc/asterisk/extensions.conf: wani mahimmin fayil ɗin daidaitawa na alama. A ciki zaku iya tantance yadda zata kasance.
  • /etc/asterisk/queues.conf- Don daidaita jerin gwano da wakilai, ma’ana membobi.
  • /etc/asterisk/chan_dahdi.conf: inda aka daidaita rukuni da sifofin katunan sadarwa.
  • /etc/asterisk/cdr.conf: inda aka nuna yadda ake adana bayanan kiran da aka yi.
  • /etc/asterisk/features.conf: fasali na musamman kamar canja wuri, graciones, da dai sauransu.
  • /etc/asterisk/voicemail.conf- Asusun saƙon murya da saituna.
  • /etc/asterisk/confbridge.conf- Don saita masu amfani da ɗakin taro, ɗakuna da zaɓukan menu.
  • wasu: Alamar tauraron taurari tana da sassauƙa sosai, saboda haka za'a iya samun ƙarin daidaitawa da yawa, kodayake waɗannan sune manyan.

Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

2 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Computer Guardian m

    Abin sha'awa sosai cewa an ƙarfafa wani don yin rubutun shigarwa da daidaitawar alama, godiya Ishaku.

    Shin kuna shirin ci gaba da wasu labaran akan batun? Na bar son ƙarin. Na fahimci cewa ba duka muke da wayoyin sadarwa ba amma zamu iya gwada software ta VoIP akan wayoyin mu na hannu? (misali)

    Na ce taya murna kuma ina fata ana ƙarfafa ku don ci gaba da zurfafawa cikin batun.

    Muchas gracias

  2.   Magda m

    https://www.freepbx.org/

    Wataƙila kun isa nan da wuri. Ya haɗa da asterix (ƙari ko lessasa) kuma ya guji duk tsarin saiti na ƙungiyar sarrafawa. Ala kulli hal, lallai ne ku sadaukar da lokaci da haƙuri da shi.

    Fatan alheri ga wadanda suka faranta rai !!!

bool (gaskiya)