ãŸããå 責äºé
ã¢ã¹ã¿ãªã¹ã¯ã®æ§æã¯ããµã€ãããã©ãŒã©ã ãããã³voip-info.orgãªã©ã®ããŒã¿ã«å šäœã«åœãŠãããŸãã ãããããã®ãããã¯ã鬱forestãšãã森ã§ãã人ã ã¯åžžã«ååšãã補åã¯ãæšæ¥ãçºå£²ãããªããã°ãªããŸããã 1ãæååãç§ã¯ã¢ã¹ã¿ãªã¹ã¯ã«ã€ããŠç¥ã£ãŠããŸããã ãã®äœåã¯ãç§ã®åŸã«åãç¶æ³ã«ãã人ãã¡ã®ç掻ã楜ã«ããããšã®ã¿ãç®çãšããŠããŸãã ããããããã£ãŒããããã®ãšã©ãŒãå«ãŸããå ŽåããããŸãã ããªããã¢ã¹ã¿ãªã¹ã¯æ§æã®ç¬¬äžäººè ã§ããå Žå-ãšã©ãŒãææããç§ã¯ãããä¿®æ£ããŸããåå«ã¯ããªãã«æè¬ããŸãã
æåã¯èšèã§ãã
ããæç¹ã§ãç§ã®åªåã«ãããäŒç€Ÿã®ã€ã³ãã©ã¹ãã©ã¯ãã£éçºæŠç¥ã¯æåéãäžäžéã«ãªããŸããã ç®æšãšç®çã®æŠèŠã瀺ããããéãç¯çŽããããã«åçãªã¢ãã€ã«ãµãŒããŒã€ã³ãã©ã¹ãã©ã¯ãã£ãå¿ èŠã§ããããšãæããã«ãªããŸãããããã«ãããåé¡ãçºçããå Žåã«ãå¥ã®å Žæã§è¿ éã«å埩ããã³/ãŸãã¯äžæããããŒããŠã§ã¢ã®äžè©±ããããããããªã©ãå¯èœã«ãªããŸãã nã
ããããåé¡ããããŸãã
äžè¬çã«ããã¹ãŠãçŽã®äžã§çŸãããç°¡åã§ããã ããã¯åãªãå±éã§ããã
æåã¯æ°åããªããµãŒããŒã2å°è³Œå ¥ããŸããã ã³ã¢i7-930ãSATAãã©ã€ãäžã®ã¡ã¢ãª12GBããã³12TBã ãããã®ãµãŒããŒã«ã¯ç¡æã®Xen Serverãã€ã³ã¹ããŒã«ããããªã¢ãŒãã®åŸæ¥å¡çšã®ä»®æ³ãµãŒããŒãšã¯ãŒã¯ã¹ããŒã·ã§ã³ãå±éãããŸããã
å€éšã¹ãã¬ãŒãžãšããŠãç¶æ¿ãããQNAP-ovsky NASã䜿çšãããŸãã
ãã©ãã€ãã®ããŒã«ã«ã¹ãã¬ãŒãžã¯ãéåžžã«å€§ããªã¡ãã£ã¢ãã³ã¯ãæ ŒçŽããããã«ã®ã¿å¿ èŠã§ãã ãµãŒããŒèªäœã®ééã¯3ãã©ãã€ãæªæºã§ãã
ãµãŒããŒã®1ã€ã¯ãå€ãPanasonic TDE-200ã眮ãæããã¢ã¹ã¿ãªã¹ã¯ã§ããã ãªããªã å瀟ã«ã¯å®äŸ¡ãªéä¿¡ãããŸããŸãªåœã§ã®çŽæ¥ã®é»è©±çªå·ãåŸæ¥å¡éã®èªç±ãªäº€æžãå¿ èŠãªããã12ã·ã§ã±ã«ã®ä»£æ¿æ段ã¯ãããŸããã
1æ¥ç®ïŒMake World
Citrix Xenã®CentOSãã€ãã£ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ã¢ã¹ã¿ãªã¹ã¯ãå±éããããšã決å®ãããŸããã åãRedHatãåŽé¢ã®ã¿ã ããã«äºçŽããŸãïŒç§ã¯ãã£ãšWindowsã管çããŠããŸãããã* nixã¯ä»®æ³ãã·ã³ã§ã®ã¿ããã¬ã€ããããããŒããŠã§ã¢äžã®ããã€ãã®WebãµãŒããŒã¯ã«ãŠã³ãããŸããã ãããã£ãŠãCitrix Xenã§ã®ã¢ã¹ã¿ãªã¹ã¯ã®ãã®å±éã¯ãçµéšè±å¯ãªäººã ã®èŠ³ç¹ããã¯ããããã®çŽ æŽããäžããŸãã
äžè¬ã«ãç§ã¯å®èšŒæžã¿ã®ãã¹ããã©ããŸãããå ¬åŒããã¥ã¢ã«ãããããŒã®è©³çŽ°ãªããŠããŒæ瀺ãã©ãããããã§éãããæåéããµãŒããŒäžã§ã€ãã·ã¢ãããªãã§å®è¡ãããŸãã ãã¹ãŠããããã©ã«ããç¶æ ã§æ§æãããŠåäœããæåã®å®å šããã¯ã¢ãããäœæããããšãããŒããŒã¢ãžã£ã¹ã¿ãŒãåŸã§åçã§ããŸãã
2æ¥ç®ïŒyum installã¢ã¹ã¿ãªã¹ã¯-y
ããã»ã©é©ããããã§ã¯ãããŸããããå®ã¯ç¬ç«ããã©ã€ãã¢ã¹ã¿ãªã¹ã¯ã®3ã€ã®åå²ïŒ1.4ã1.6ã1.8ïŒãæ¢ã«ååšããããšãçºèŠãããšããç§ã¯ããªãã¿ã®ã·ã°ãã«ãã³ã«å©èšãæ±ããŸããã ãããã®ããããã¯ãç¬èªã®ãŽãããªãšããŒã·ã§ã³ãæã£ãŠããŸãã ãªããªã ç§ã¯ãã¢ã¹ã¿ãªã¹ã¯ãç°¡åã«å æãããšããåžæã«é äºãããŸããã§ãããèšå®ã®æ倧éã®äºææ§ãåŸãããã«ãå人ã®ããã«ããŒãžã§ã³1.4ãã€ã³ã¹ããŒã«ããããšã«ããŸããã ãã ãããã®åŸã1.4ã§TCPããµããŒããããªãã£ãããããã®ãããªå¿ èŠæ§ãçãããšãã«1.6ã«äžããå¿ èŠããããŸããã
ãããè¡ãã«ã¯ãCentOSã«digiumãªããžããªãã€ã³ã¹ããŒã«ããããããAsteriskãã€ã³ã¹ããŒã«ããŸããã
åãä»ãã¯åé¡ãªãè¡ãããŸããã åºæ¬çã«ã voip-infoã䜿çšããã€ã³ããªãžã§ã³ããªæ®µéçãªããŒããããã䜿çšãããŸãã ã
iptablesã¯ãSIPããŒãã§ã®ãã©ãã£ãã¯ãèš±å¯ããããã«ããã«ä¿®æ£ãããŸããã
ããã«ã§ã¯ãªããå°æ¥ã®äžä»£ã®ããã«ã fail2banãšããããã±ãŒãžãããã«ã€ã³ã¹ããŒã«ããŠæ§æããããšããå§ãããŸãã ã€ã³ã¿ãŒãããäžã§å ¬éãããŠãããµãŒããŒäžã®äœåãªããã°ã©ã ã§ã¯ãããŸããã ã€ã³ã¹ããŒã«ã®1æ¥åŸã«ãiptablesããå€æãããšãå°æ¹Ÿå šäœãããããããŸããã
3æ¥ç®ïŒPBXæ©èœã®TK
æãèå³æ·±ãããš-ââèšç»ãéå§ããŸãã æ§æããã»ã¹ã®åã«ã顧客ã®ãã¹ãŠã®èŠæãèšé²ããã³æ§æããããããããŸã£ããéãããšãããã©ãŒã ã®ãããªã競åãé¿ããããã«ãå¿ ãå¥çŽã«çœ²åããå¿ èŠããããŸãã ç§ã®å Žåã顧客ã¯ç§ãåããŠããäŒç€Ÿã§ãããäœãå€ãããŸããã æ©èœã®æè¡çãªã¿ã¹ã¯ãäœæãã責任è ãšè©±ãåããéããåãé€ããæçµããŒãžã§ã³ã«çœ²åããŸãã
æ§æã®TKã¯æ¬¡ã®ããšãæããã«ããŸããã
- é»è©±çªå·ã¯4æ¡ã§ãã
- çªå·ã®æåã®æ°åã¯ããªãã£ã¹ãããåœã®èšå·ã§ãã
- åéšéã®çªå·ã¯ã次ã®100ã®æåã®æ¡ããå§ãŸããŸãã
- åéšéã¯åå¥ã®ã³ãŒã«ã°ã«ãŒãã§ãã
- åŒã³åºããããµãã¹ã¯ã©ã€ããŒãäœããã®æ¹æ³ã§ã³ãŒã«ã«äœ¿çšã§ããªãå Žåãã³ãŒã«ã¯ã°ã«ãŒãå šäœã«è»¢éãããŸãã
- çä¿¡ãµãŒãã¹ããžãã¯ïŒ
1.å話åšãæã¡äžããŸãã
2.æšæ¶ã倱ããŸãã
3.çŸåšã®ããã¢ãŒã·ã§ã³ã«é¢ããåºåãåçããŸãã
4.ããŸããŸãªéšéã®é話ãªãã·ã§ã³ãåçããããå å ¥è çªå·ã®ãã€ã€ã«ãç³ãåºãŸãã
5.ãã€ã³ã2ããéå§ããŠãã³ãã³ããå ¥åããŸãã
6.ã¹ããã4ãå®äºããåŸãããã«10ç§éåŸ ã£ãŠã³ãã³ããå ¥åããŸãã
7.ã³ãã³ãããªãå Žåã¯ãé話ãªãã·ã§ã³ãããäžåºŠåçããŸãã
8.ãµãã¹ã¯ã©ã€ããŒããŸã å£ããããªãå Žåã¯ãã³ãŒã«ãç§æžã«è»¢éããŸãã - ãã®ãããªãµãŒãã¹ãå¿ èŠãªãŠãŒã¶ãŒã®å Žåããã€ã¹ã¡ãŒã«ãåºå®ããŸãã ãã®å ŽåããŠãŒã¶ãŒãäœããã®æ¹æ³ã§é話ã§ããªãå Žåã¯ãé話ããã€ã¹ã¡ãŒã«ã«è»¢éããŸãã
- ããã©ã«ãã§ã¯ãé話ã¯ãã·ã¢ãšã€ã¿ãªã¢ïŒåœç€Ÿãäž»ã«å€åããŠããåœïŒã«ã®ã¿èš±å¯ãããŠããŸãã ä»ã®æ¹åã¯ãæãçããã¹ã¯ã«ãã£ãŠå¿ èŠã«å¿ããŠéãããŸãã ããã¥ãŒãã®é»è©±ãªãã¬ãŒã¿ãŒãã«é¢ããæããã話ã誰ããèŠããŠããŸããããæ¥ãPBXãã·ãšã©ã¬ãªãã®14ãã£ã³ãã«ãã¹ãŠã1ãã£ã³ãã«ããã14ãã«ã§çªç¶åŒã³åºãå§ããªãããã«ããŠããŸãã
äžèŠãã¿ã¹ã¯ã¯ç°¡åã§ãããå®éã«ã¯ãã®èª¿æŽã«ããªãã®éã®è¡æ¶²ãè²»ããããŸããã ç¹ã«ãæ瀺çã«èš±å¯ãããŠãããã®ãé€ãããã¹ãŠã®æ¹åã®çŠæ¢ã®æ¿èªã«ã€ããŠã ãã®ã¯ã©ã€ã¢ã³ãã§ã¯ãPBXã«æ¥ç¶ãããåããã€ã¹ã§VPNãæ§æããå¿ èŠæ§ããªããã°ãé¿ããããªããã®ã«ã®ã¿åæããå¿ èŠããããŸããã ç§ã¯ãæãåçŽã§æãç解ããããæ§æãå³å®ããããšããŠããŸãããã¯ã©ã€ã¢ã³ãã«ã¯ãã·ã¹ãã ã«ããã€ãã®æ©èœãè¿œå ããããšã¯ãæŒãã ãã®ãã¿ã³ã2ã€ãã§ããããã«æããŸãã
4æ¥ç®ïŒnano sip.conf
楜ãã¿ã¯å§ãŸããŸãïŒèšå®ããã»ã¹ã
ãã§ã«é·ãèšäºãé ãããªãããã«ãåæèšå®ãšãã®åŸã®ãã¥ãŒãã³ã°ã®èŠçã®è©³çŽ°ãªèª¬æãè² æ ããŠãç§ã¯çŸåšã®èšå®ã«äœã®ã³ã¡ã³ããä»ããŠè¡šç€ºããã ãã§ãã
[general] context=default ; allowguest=no ; , allowoverlap=no ; . â . alwaysauthreject=yes ; , â . . useragent=Orgue de Barbaris ; â . , , .. . defaultexpiry=360 ; . callevents=yes ; , music on hold limitonpeer=yes ; . tcpenable=yes ; TCP SIP. rtptimeout=60 ; , . language=ru ; . . bindport=5060 ; . , . bindaddr=0.0.0.0 ; , .. . srvlookup=yes tos_sip=cs3 ; <a href="http://www.voip-info.org/wiki/view/Asterisk+sip+tos">http://www.voip-info.org/wiki/view/Asterisk+sip+tos</a> tos_audio=ef disallow=all ; allow=alaw ;, , . . allow=g729 allow=g723 allow=ulaw dtmfmode=rfc2833 ; Asterisk- info, rfc. rtpholdtimeout=300 rtpkeepalive=5 canreinvite=no ; . . g.729, . , alaw<->g.729a . Core i7-930 . externip=xxx.xxx.xxx.xxx ; IP. -, Asterisk NAT, . . allowexternaldomains=yes ; <a href="http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf"></a> , - . domain=mydomain.com,default fromdomain=mydomain.com ; . SIP- Asterisk . . , , . . register => tcp://@multifon.ru::@sbc.megafon.ru/~60 ; SIP- - [multifon] ; , type=peer secret= username= host=sbc.megafon.ru port=5060 insecure=port,invite call-limit=1 context=incoming canreinvite=no qualify=yes transport=tcp dtmfmode=inband ; â . , , , . : [defaults](!) canreinvite=no ; disallow=all allow=alaw allow=g729 allow=g723 [peer](!,defaults) type=peer host=dynamic ; qualify=yes ; nat=yes ;, NAT call-limit=1 ; - busylevel=1 ;, ââ rtpkeepalive=5 ; . [ext1000](peer) secret=secretsecretsecret [ext1001](peer) secret=secretsecretsecret [ext1002](peer) secret=secretsecretsecret ; - , : [ext1101](peer) secret=secretsecretsecret transport=tcp ; SIP TCP.
5æ¥ç®ïŒnano extensions.conf
PBXã®ããžãã¯å šäœãèŠå®ãããããã»ã©èå³æ·±ããã¡ã€ã«ã§ã¯ãããŸããã ãããã®èšäºã¯ããã€ã€ã«ãã©ã³ã®ããžãã¯ãç解ããã®ã«éåžžã«åœ¹ç«ã€ããšãå€æããŸããïŒ http : //inhibitz.ucoz.ru/publ/9-1-0-21ãhttp ïŒ //asterisk-pbx.ru/wiki/doku.php / asterisk_dialplan
ããã§ã¯ãè¡ããŸãããïŒ
[general] static=yes ; CLI writeprotect=yes ; CLI [globals] ; , . [macro-dial-ext] ; â 4- â exten => s,1,Answer() ; exten => s,2,Dial(SIP/ext${ARG1},20,tT) ; , 20 . exten => s,3,Goto(s-${DIALSTATUS},1) ; Dial. exten => s-NOANSWER,1,Macro(group-dial,${ARG1:0:2}00) ; exten => s-BUSY,1,Macro(group-dial,${ARG1:0:2}00) exten => s-CONGESTION,1,Macro(group-dial,${ARG1:0:2}00) exten => s-CHANUNAVAIL,1,Macro(group-dial,${ARG1:0:2}00) exten => _s-.,1,Hangup ; [macro-dial-vip] ; exten => s,1,Answer() exten => s,2,Dial(SIP/ext${ARG1},20,tT) exten => s,3,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(${ARG1}) ; . exten => s-BUSY,1,Voicemail(${ARG1}) exten => s-CONGESTION,1,Voicemail(${ARG1}) exten => s-CHANUNAVAIL,1,Voicemail(${ARG1}) exten => _s-.,1,Hangup [macro-secretary] ; exten => s,1,Answer() exten => s,3,Dial(SIP/ext2222,15,tTm) ; exten => s,n,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Macro(group-dial,${ARG1}) ; exten => s-CHANUNAVAIL,1,Macro(group-dial,${ARG1}) exten => s-BUSY,1,Macro(group-dial,${ARG1}) exten => s-UNKNOWN,1,Macro(group-dial,${ARG1}) exten => s-CONGESTION,1,Macro(group-dial,${ARG1}) exten => s-CHANUNAVAIL,1,Macro(group-dial,${ARG1}) exten => _s-.,1,Hangup [macro-group-dial] ; exten => s,1,Answer() exten => s,n,Queue(${ARG1}) ; queue, queues.conf exten => s,n,Goto(s-${DIALSTATUS},1) exten => s,n,Hangup exten => s-BUSY,1,Playback(all-circuits-busy-now) exten => s-BUSY,n,Macro(secretary,1100) ; , exten => s-NOANSWER,1,Macro(secretary,1100) exten => s-CHANUNAVAIL,1,Macro(secretary,1100) exten => s-CONGESTION,1,Macro(secretary,1100) exten => _s-.,1,Hangup ; . [default] ; Default context including all specials include => incoming include => multifon ; default ; exten => _[123]X00,1,Macro(group-dial,${EXTEN}) exten => _1[1-689]XX,1,Macro(dial-ext,${EXTEN}) exten => _17XX,1,Macro(dial-vip,${EXTEN}) exten => _[2]XXX,1,Macro(dial-vip,${EXTEN}) exten => _[3]XXX,1,Macro(dial-ext,${EXTEN}) ; . ; : ;<a href="http://sbelikov.ru/2009/03/golosovoe-menyu-v-asterisk/">http://sbelikov.ru/2009/03/golosovoe-menyu-v-asterisk/</a> ; , . : <a href="http://www.ivrvoice.ru/">http://www.ivrvoice.ru/</a> ; Asterisk : <a href="http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk">http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk</a> [incoming] exten => s,1,Goto(s-${CHANNEL(peername)},1) ;-, . . exten => s-sipcity,1,Answer() ; exten => s-sipcity,2,Background(it-greet) ; exten => s-sipcity,3,Background(advert) exten => s-sipcity,4,Background(it-route) exten => s-sipcity,n,Waitexten() exten => s-sipcity,n,Macro(group-dial,1100) exten => ,1,Answer() ; - exten => ,2,Macro(dial-vip,2001) ; exten => _s-zebra,1,Answer() ; exten => _s-zebra,2,Background(ru-greet) ;, exten => _s-zebra,3,Background(advert) exten => _s-zebra,4,Background(ru-route) exten => _s-zebra,n,Waitexten() exten => _s-zebra,n,Macro(group-dial,1100) exten => s-eng,1,Answer() ; exten => s-eng,2,Background(en-greet) ; - - exten => s-eng,3,Background(advert) exten => s-eng,4,Background(en-route) exten => s-eng,n,Waitexten() exten => s-eng,n,Background(en-route) exten => s-eng,n,Waitexten() exten => s-eng,n,Macro(group-dial,1100) exten => 5000,1,Answer() ; IVR, . . exten => 5000,2,Background(ru-greet) exten => 5000,3,Background(advert) exten => 5000,4,Background(ru-route) exten => 5000,5,Waitexten() exten => 5000,6,Background(ru-route) exten => 5000,n,Waitexten() exten => 5000,n,Macro(group-dial,1100) ; IVR exten => 1,1,Macro(group-dial,1100) ; â1â, 1100 exten => 2,1,Macro(group-dial,1200) exten => 3,1,Macro(group-dial,1300) exten => 4,1,Macro(group-dial,1400) exten => 5,1,Macro(group-dial,1500) exten => 6,1,Macro(group-dial,1100) exten => 9,1,Goto(s-sipcity,1) ; - exten => 0,1,Goto(s-eng,1) exten => _1[1-689]XX,1,Macro(dial-ext,${EXTEN}) ; exten => _17XX,1,Macro(dial-vip,${EXTEN}) exten => _2XXX,1,Macro(dial-vip,${EXTEN}) exten => _3XXX,1,Macro(dial-ext,${EXTEN}) exten => i,1,Goto(s-zebra,4) ; exten => t,1,Goto(s-zebra,4) ; â ; [zebra] ; ââ, e164. .. , â+â. : 74951234567. exten => _99ZXXXXXX,1,Dial(SIP/zebra/7495${EXTEN:2}) ; 495. â99â â â â, ZXXXXXX â 7- , 1. zebra 7495, â99â Asterisk . ; . , , . ;############################# ; International ;############################# ;Italy exten => _9939.,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99+39.,1,Dial(SIP/zebra/${EXTEN:3}) ; , , . SIP . rewrite, . ;Belorussia exten => _9937517XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99+37517XXXXXXX,1,Dial(SIP/zebra/${EXTEN:3}) ;Kazakhstan exten => _997727XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99+7727XXXXXXX,1,Dial(SIP/zebra/${EXTEN:3}) ;Ukraine exten => _99380XXXXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99+380XXXXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) ;############################# ; cellular ;############################# exten => _99790[3-9]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99791[0-79]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99792[569]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _997930XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99793[1-4678]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99795[0-3]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99796[0-578]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99798[0-5789]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _997997XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) ;############################# ; cities starting at 3 ;############################# exten => _99730[12]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99734[1-35-79]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99735[1-3]XXXXXXX,1,Dial(SIP/zebra-out/${EXTEN:2}) exten => _99738[1-5]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _997388XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99739[01]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99739[45]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) ;############################# ; cities starting at 4 ;############################# exten => _997401XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99741[1356]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99742[13467]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99747[1-5]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99748[1-7]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99749[1-689]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) ;############################# ; cities starting at 8 ;############################# exten => _99781[1-8]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _997820XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _997821XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99783[13-6]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99784[0-8]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99785[15]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99786[1-35-7]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2}) exten => _99787[1-37-9]XXXXXXX,1,Dial(SIP/zebra/${EXTEN:2})
6æ¥ç®ïŒnano Voicemail.confãnano queues.conf
ãã€ã¹ã¡ãŒã«ãæ·»ä»ããŸãã
å®éãããã§ãã»ãšãã©äœãå€æŽãããŠããããã©ã®å€æŽãéåžžã«å ·äœçã§ãããããæ§æãåºããããšã«ãæå³ããããŸããã ç§ã«ãšã£ãŠã®äž»ãªåé¡ã¯ãéæšæºã®ããŒããšsmtpèªèšŒã䜿çšããŠã¡ãŒã«ãéä¿¡ããããã«MTAãèšå®ããããšã§ããã å«ç ãã©ãŒã©ã ã§åæ¥æ®ºããåŸãç§ã¯ã€ãã«Eximãã€ã³ã¹ããŒã«ãããããéããŠã¡ãŒã«è»¢éãã»ããã¢ããããŸããã
ç§ã泚æãåããã2ã€ã®ãã€ã³ã-ç§ã®é³å£°ã¡ãã»ãŒãžã¯ãéä¿¡çŽåŸã«ã¢ã¹ã¿ãªã¹ã¯ã§æ®ºãããŸãã ããžãè©°ãŸãããªãããã«ã ãã®ãããªã¡ãã»ãŒãžã®é¢é£æ§ã¯æ°åã§æž¬å®ãããããããŠãŒã¶ãŒã«ãã€ã¹ã¡ãŒã«ããã¯ã¹ããã©ãããããšãæãã«æããŸãã ããã«ãã¡ãã»ãŒãžã«wav49圢åŒãèšå®ããŸããã ãã¡ã€ã«ãmp3ã«å§çž®ããã®ãé¢åã§ãã¡ãŒã©ãŒã§ã¯ãã«ãã¡ãã£ã¢ã¢ããªã±ãŒã·ã§ã³ã§ã¯å³ããã«ãŒã«ãé人éçã§ã-ãã¹ãŠã®mp3ã¯mp3ã®åœ¢åŒã®Spectrum "Exolon"ã«çœ®ãæããããŸãã
queues.confã§ãããã¹ãŠãç°¡åã§ãã
[general] persistentmembers = yes ; , autofill = yes ; autopause = no ; , - monitor-type = MixMonitor ; [1100] ; strategy = ringall ; â eventwhencalled = yes ; Fop2 ringinuse = no ; timeout = 20 ; retry = 1 ; 1 wrapuptime = 0 ; () maxlen = 0 ; . 0= ; â member => SIP/2222 member => SIP/1101 member => SIP/1102 member => SIP/1103 member => SIP/1104 member => SIP/1105 member => SIP/1106 member => SIP/1107 member => SIP/1108 member => SIP/1109 member => SIP/1110
7æ¥ç®ïŒããšãã
ãŸããç§èªèº«ã®ééããšãã®ãããªæ±ºå®ã®æãããªæ¬ ç¹ã«æ³šç®ããããšæããŸãã
-ãšã©ãŒïŒåŸæ¥ã®ãããã»ããã®ããã°ããŠãŒã¶ãŒçšã«è³Œå ¥ãããSkypeãŸãã¯TSãä»ããéä¿¡ã«èªå® ã§äœ¿çšãããŠããŸãã ããã¯å®å šã«äžé©åãªãªãã£ã¹ãœãªã¥ãŒã·ã§ã³ã§ãã ãããã»ãããè³ã«åºãããŸãŸäžæ¥äžåº§ã£ãŠããã®ã¯ãæ®éã®äººã«ãšã£ãŠéåžžã«ç²ããã ããã®ã«ã¡ã©ãããã»ããã¯ããªãŒããããã±ããã®ãããªãã®ã§ãã ããã«ã女æ§ããŒã ã¯ããããã³ãä»ããããã»ããïŒããã¢ã¹ã¿ã€ã«ããããŸãïŒãïŒãåãå ¥ããŸããã 解決çã¯ãäºç®ã®è¯ã人åãã®USBãã³ãã»ãããŸãã¯SIPãã¹ã¯ãããé»è©±ã§ãã
-ãšã©ãŒïŒãããæãŸããã«ã¯æ¥ããå¿ èŠã§ãã ã¢ã¹ã¿ãªã¹ã¯ãäœã§ãããäœãšäžç·ã«é£ã¹ãããã®ãããããªãå Žåã¯ãä»ããå匷ãå§ããæ¹ãè¯ãã§ãããã 泚ææ·±ãå匷ããŠãã ããã ãšããã®ãããã®ç¥èã¯å¿ èŠã§ããããã€ãã®ããã«ããæšæ¥æºåãã§ããããã«ããšããèšèã§ã Asteriskãã€ã³ã¹ããŒã«ããå¿ èŠããããšããã®ã¯äºå®ã§ã¯ãããŸããããVoIPããã³ãã€ã€ã«ãã©ã³æ§ç¯ã®äžè¬çãªçè«ã¯éåžžã«åœ¹ç«ã¡ãŸãã ç§ãã¡ã®ãªãã£ã¹ã»ã³ã¿ãŒã®é»è©±äŒç€Ÿã®ç¬å è ãšã®å³ãã察ç«ã®ããã«ãç§ã¯å€åºå ã§ãã¹ãŠãèšå®ããŠç¿åŸããããã«æåéãããŒã¹ããçºå°ãããªããã°ãªããŸããã§ããã
-ä¿¡é Œæ§ã ã¢ã¹ã¿ãªã¹ã¯ã®ã»ããã¢ããããã»ã¹ã®åŸã«çœé«ªãæé·ãããŸã§ãPBXãåžžã«ç£èŠããŸãã ç§ã¯ãã¹ãŠãæ£ããè¡ã£ããã©ãããŸã åãããªãã äœåºŠã圌女ã¯çç±ããªãç§ã®ã¯ã©ã€ã¢ã³ãã«ãµãŒãã¹ãæäŸããªããªããŸããããããŠä»ç§ã¯åœŒå¥³ãç¡äººã§å»ãããšãæããŠããŸãã
-ãã¡ãã¯ã¹ã¯ãããŸããã ããæ£ç¢ºã«ã¯ã圌ãã¯ããã«ããããã«èŠããŸãããçŽç²ã«ã·ã§ãŒã®ããã§ãã éæ¿ã䜿çšããªããšãéåžžã®ãã¡ãã¯ã¹éä¿¡ã¯éåžžã«é£ãããªããŸãã
-äžåœãªé話å質ã ã©ããªåºããã£ã³ãã«ã«åº§ã£ãŠããŠãããšã«ããããããŸããäžå€ã®ç¶æ ã§ãããªãã¯ããŽããŽãæ¥ç¶ãã®ã¯ã¬ãŒã ãåãåããŸãã æè¡ã®æ¥éãªçºå±ãšããŒã¿äŒéãã£ãã«ã®æ¡å€§ã«ãããããããåé¡ã¯äŸç¶ãšããŠå®æçã«çºçããŠããŸãã æãåçŽãªäŸïŒã€ã¿ãªã¢ã®å°ããªããã«ã§ãäŒç€Ÿã®ä»£è¡šè ãããŸãã ããã«ã¯256Mã®ã¢ãããªã³ã¯ã§2Mãããã®ADSLã€ã³ã¿ãŒãããã䜿çšããŸãããããã¯WiFiçµç±ã§ã²ã¹ãã«ç¡æã§é ä¿¡ãããŸãã æ åœè ã¯ãã®ãã£ãã«ã䜿çšããŠãªãã£ã¹ã«é£çµ¡ããŸãããæ¥ç¶ã¯äžå¿«ã§ãã ããã«ã®èª°ããã¯ã©ã¹ã¡ãŒãã«12ã¡ã¬ãã¯ã»ã«ã®åçãæçš¿ããããšã決ãããšããããšã§ãã ãã€ãã®ããšã
-äºç®ãããã»ã©å€§ãããªãããã¹ã¯ãããé»è©±ã«ååã§ãªãå ŽåããŠãŒã¶ãŒã¯ZoiperãPhonerLiteãªã©ã®ãœãããŠã§ã¢ãã€ã€ã©ãŒã䜿çšããŠãé»è©±ãæäœããæ°ããæ¹æ³ãåŠç¿ããå¿ èŠããããŸãã ããã«ã* 77ããã€ã€ã«ããŠé話ã転éããããšãç ©ããããã¬ããŒãçãæŒãã ãã§ã以åãšåãããã«ããªããããšæã£ãŠããŸãã
-ãŸããç§ã®ãŠãŒã¶ãŒã¯ããæ§åŒã®æ¹æ³ã810ïŒåœã³ãŒãïŒïŒéœåžã³ãŒãïŒïŒé»è©±ïŒã§ã¯ãªãe164圢åŒã§çªå·ããã€ã€ã«ããå¿ èŠãããããšã«æ©ãŸãããŠããŸãã 810ãæ®ãããšãã§ããŸããããã®å Žåãéåžžã®ã€ã¿ãªã¢ã®ããã«ã®æ°ã¯ãå®å®ã®é·ã998103912345678901ã«ãªããŸããe164ã§ã¯ã3æ¡çããªããŸãã
äžè¬ã«ãåé¡ã®å€§éšåã¯ãå€åã®æ代ã«çããããšãããŠãŒã¶ãŒã®äžæ¬æã«ãã£ãŠåŒãèµ·ããããŸãã ããªã声ããççŽãªåŠšå®³è¡çºãŸã§ã ãŠãŒã¶ãŒã®èŠæ ã®ããŒãžãæ°ããŒãžãªã¹ãã§ããŸããããããã¯é£ãããããã¯ã§ãã ãã®å Žåã«æšå¥šã§ããå¯äžã®ããšã¯ãã¢ã¹ã¿ãªã¹ã¯ãžã®ç§»åãæ éã«èšç»ããããšã§ãã ãŠãŒã¶ãŒã«ãšã£ãŠå¯èœãªéãäžäŸ¿ãªãã®ã«ããŠãã ããã ãã¹ãŠãé©åã«èšç»ãããŠããã°ãå€ãæ¹æ³ã§åäœããå¯èœæ§ã®ããæ°ããããšãåŠã¶ããã«äººã ã®æ絊ã®æéãè²»ããããšã¯ãããžãã¹ã«ãšã£ãŠæçã§ã¯ãããŸããã
ä»ããœãªã¥ãŒã·ã§ã³ã®é·æïŒ
+æåã§æãæçœãªã®ã¯ãéã§ãã éä¿¡ã³ã¹ããçŽ15ååæžã§ããŸããã 以åã¯ãé»è©±ã®å¹³åè«æ±é¡ã¯æã«çŽ5,000ãã«ã§ããã ã¢ã¹ã¿ãªã¹ã¯ã®å°å ¥åŸã®1ãæéã§ã300ãã«ãå®è¡ãããŸããã§ããã ç¯çŽã®å€§éšåã¯ãããŸããŸãªåœã®åŸæ¥å¡éã®äŒè©±ã§ãã
+ã¢ããªãã£ã çªç¶äœããèµ·ãã£ãå Žåãããã¯ãŸã£ããåé¡ã§ã¯ãããŸãã-æ°ããã¢ã¹ã¯ã¯ã®åé»ã§ãã建ç©ã®ç«çœã§ã-ã€ã³ããŒãæ¹æ³ãç¥ã£ãŠãããã¹ãã£ã³ã°ã§ã¢ã¹ã¿ãªã¹ã¯ã䜿çšããŠä»®æ³ãã·ã³ãããã¯ã¢ããããã¯ã©ã€ã¢ã³ãã«æ°ããIP PBXãéç¥ããŸãã éåžžã®é»è©±ã§ã®é»è©±éä¿¡ãå©çšã§ããªãæéãæ³åããŠã¿ãŠãã ããã
+ãœãªã¥ãŒã·ã§ã³ã®åçŽãªæè»æ§ãšã»ãŒå®å šãªç¡æã ãã¡ãããããã«äœ¿ãããœãªã¥ãŒã·ã§ã³ã§ãéãç¯çŽããŠæéãè²»ãããŠããŸãããç§ã¯å人çã«ãããã©ã®ããã«æ©èœããããç¥ããããšæã£ãŠããŸããã
äœåºŠã質åãããšãããããã«åçããŠããªãã£ãå Žåãã³ã¡ã³ãã«è¡šç€ºãããŠãããšæããã質åã1ã€ãããŸãããElastixãFreePBXãPiaFãªã©ãå ¥ããªãã£ãã®ã¯ãªãã§ããã ããã¯ã»ããã¢ãããããããŒããããã§10åã§é·å¹Žã«ããã£ãŠæ©èœããŸãïŒãçãã¯ç°¡åã§ããWebãã§ã€ã¹ã®èåŸã«æ£®ã¯èŠããŸããã ã¯ããããã¯äŸ¿å©ã§ãããWebããºã«ã®æ©èœãå æããã«ã¯ãéæšæºã®æ§æãç·šéããå¿ èŠããããŸãã1ã€ã®ã³ã³ãã§ãã¹ãŠãå£ããŠããŸãå±éºããããŸãã ãããŠã1幎åŸã«äœãå¿ èŠã«ãªããæ³åãã§ããŸããã ããã«ãWebãã§ã€ã¹ã䜿çšãããšããã®æ©èœãšä»çµã¿ãããããªããªããŸãã ãããã£ãŠãçŽç²ãªã¢ã¹ã¿ãªã¹ã¯ãã³ã ãœã¢ãŒã«ã®ã¡ã³ããŒã¯å°é£ãªãããŠã¯ãªããŸããã
çŸåšããã®ãããªæ§æã®ã¢ã¹ã¿ãªã¹ã¯ã¯éåžžã«è¯å¥œã«æ©èœããŸãã å¥åŠãªéœåžã®PBXãåŒã³åºããšãã®ãšã³ãŒããäžéšã®å èµãµãŠã³ãã«ãŒãã®å«ãªäœæ¥ïŒäºç®ã®ãããã¶ãŒããŒãã®äººæ°ã®ããã¡ãŒã«ãŒã®1ã€ïŒãšãã£ãè¿·æãªããããªããšããããŸãããããã¯æ¥åžžçãªåé¡ã§ã-Zoiper Freeã«ãŽã£ããã®USBãã¥ãŒãã«ãã£ãŠè§£æ±ºãããŸãã
äžè¬ã«ãç§ãšç§ã®ãªãŒããŒã·ããã¯ãè¡ãããä»äºã«æºè¶³ããŠããŸãã ãã¡ã€ã«ãæäœããã ãã§ã次ã®ãããžã§ã¯ããéå§ã§ããŸãã
å®å šãªå¹žçŠã®ããã«ãä»ã«äœãå®äºããã®ãã
ãŠãŒã¶ãŒãã©ã®åŸæ¥å¡ãã©ã®ãããªç¶æ ã«ããããèŠãããšãã§ããããã«Fop2ãèšå®ããã³æ§æããŸããããã«ãããé話ãå¿ããå å ¥è ã«è»¢éããããšããé話ãèªåçã«ã°ã«ãŒãã«è»¢éããããšãã人ãæãå Žæã«çããªããšãã«ç¶æ³ãçºçããŸãã
é»è©±äº€æãé話ãããã³ãã¥ãŒã®ã¹ããŒã¿ã¹ããªã¢ã«ã¿ã€ã ã§ç£èŠããããã«ãç£èŠã·ã¹ãã ãé 眮ããŸãã
ããã€ãã®éåžžã«åçŽãªã³ãŒã«ã¬ããŒãã·ã¹ãã ãé 眮ããŸãã ã¿ã¹ã¯ã¯ãã¢ã«ãŠã³ããæ€èšŒããããã®åŒã³åºãã®æ°ãæ確ã«èŠèŠåããããšã®ã¿ã§ãã