资源描述:
《配置voip及pstn相互直拔流程-asterisk(freepbx)+linksys spa3000》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、配置VOIP与PSTN相互直拔流程-asterisk(freePBX)+linksysspa3000原文在此:http://jrklein.com/2006/10/15/configuring-sipura-spa-3000-as-trunk-within-asterisk-voip-pbx-server/我来补充实际截图吧。ConfiguringTrunkwithinAsteriskPBXusingAMPLogintoAMP(AsteriskManagementPortal).NavigatetoSetup,Trunks,andchoose
2、“AddSIPTrunk”.GeneralSettings1.OutboundCallerID:(leaveblank-cannotbeusedbyPOTSline)2.MaximumChannels:1(required-seenotebelow)NOTE:EachSPA-3000supportsasinglechannel.YouneedtosetupmultipletrunksformultipleSPA-3000devices.OutgoingDialRulesDialRules:1NXXXXXXXXX;prefix10digitdi
3、alingwith"1"这里是指1开头的11位手机号[23468]XXXXXXX;本地的市话,一般是以23468开头的8位OutgoingSettingsTrunkName:pstn_spa01PeerDetails:auth=md5context=from-pstndtmfmode=inbandfromuser=asteriskhost=10.10.10.21;IPaddressofSPAdeviceinsecure=verynat=yes;omitifnoNATexistsbetweenPBXandSPAport=5061secret=0
4、12345678901type=peerusername=asteriskIncomingSettingsUserContext:spa01UserDetails:allow=ulawcontext=from-pstndisallow=alldtmfmode=inbandhost=10.10.10.21;IPaddressofSPAdeviceinsecure=verynat=yes;omitifnoNATexistsbetweenPBXandSPAsecret=KzBTALezmG1atype=friendRegistration1.Reg
5、isterString:;omit-notnecessarytoregisterw/SPAdevice?这个我是留空了ConfiguringOutboundRoutingwithinAsteriskPBXusingAMPLogintoAMP(AsteriskManagementPortal).NavigatetoSetup,OutboundRouting,andchoose“AddRoute”.AddRouteRouteName:pstnspa1;userpreference,avoidspecialcharactershere?DialPa
6、tterns:;dial5plus11digit,10digit,and7digitnumbers;omiteach"5
7、"tousetrunkwithoutdialingprefix5
8、1NXXNXXXXXX;accept5+11digitdialing5
9、NXXNXXXXXX;accept5+10digitdialing5
10、NXXXXXX;accept5+7digitdialing俺家的总机外拔要加9...TrunkSequence:;addeachavailableSPA-3000trunkSIP/pstn_spa01SIP/pstn_
11、spa02SIP/pstn_spa03俺只有1个spa3000,有多个就加吧ConfiguringtheSipuraSPA-3000Thefollowingexampleonlyillustrateschangestodefaultsettings.StartbyperformingafactoryresetofyourSPA-3000.ConnectahandsettothePHONEjackontheSPA-3000anddial“****”toaccesstheconfigurationmenu,thendial“73738#”(aka
12、“RESET#”)toperformafactoryreset.这里是建议在配置SPA3000前先恢复出厂设置,拿个电话接FXS,然后拔:****73738#Log