Настройка связки NSG-3524 <=> Asterisk
Голосовой шлюз NSG-3524 (Welltech) имеет 4 FXS порта на борту. Создадим в FreePBX 4 extension-а примерно такого содержания:
User Extension: 777
Dislpay Name: 777
secret: 777_passwordUser Extension: 778
Dislpay Name: 778
secret: 778_passwordUser Extension: 779
Dislpay Name: 779
secret: 779_passwordUser Extension: 780
Dislpay Name: 780
secret: 780_password
Теперь прошиваем шлюз прошивкой с поддержкой SIP и настраиваем его. Прошивку, а также руководство пользователя можно взять на сайте nsgate.ru, здесь я эти функции описывать не буду. Дальше после конфигурирования и перезагрузки должно получиться следующее:
rom -print
Download Method : TFTP Boot Rom : sdboot.200 Application Rom : 4asipfxs.114 DSP App : 48302ce3.140 DSP Kernel : 48302ck.140 DSP Test Code : 483cbit.bin Hold Tone : holdtone.101
ifaddr -print
Internet address informationWAN IP address : 10.70.131.200Subnet mask : 255.255.252.0Default gateway : 10.70.128.1DHCP startup : OFFSNTP : mode=0, sntp offIPSharing : no IPSharing device.HTTP port : 80Primary DNS Server : 89.222.212.129Secondary DNS Server : 168.95.1.2Security : OFF
sysconf -print
System information Gateway Service : 0 Inter-Digits time : 3 BusyForward : OFF Keypad DTMF type : RFC2833 End of Dial Digit : # Caller ID Type : FSK(ETSI) DTMF Caller ID Start Symbol : D DTMF Caller ID End Symbol : C RFC2833 Payload Type : 101 FAX Payload Type : 96 Disconnect Supervision : OFF Loop Current Drop Time(ms) : 500 Duration Value in INFO : 160 user=phone parameter : ON IVR Auto Hang up : Disable Billing Sig Mode : None Transfer Mode : Disable MWI subscription : OFF Special number : x SIP port assigning manner : Disable Billing Method Mode : Only Once Call Waiting : OFF Include Ptime : ON
sip -print
Run Mode : PROXY MODEPrimary Proxy address : pbx.spnet.ruPrimary Proxy port : 5060Secondary Proxy address : nullSecondary Proxy port : 5060OutBound Proxy address : nullOutBound Proxy port : 5060Prefix string : nullLine1 : 777Line2 : 778Line3 : 779Line4 : 780Line1 Status : OpenLine2 Status : OpenLine3 Status : OpenLine4 Status : Openpbook search : OFFLocal Ringback Tone : OFFPRovisional ACKnowledgment : OFFLate Media : OFFSIP listen port : 5060RTP receive port : 16384Expire : 60Session Expire : xMinimum Session Expire : xUser agent : xRetransmission T1 : 500Retransmission T2 : 4000Retransmission T4 : 5000General Linger Timer : 32000
security -print
Line1 account informationUsername : 777Password : ************Line2 account informationUsername : 778Password : ************Line3 account informationUsername : 779Password : ***********Line4 account informationUsername : 780Password : ***********
line -print
Line information and configurationLine Reg. Status=================1 OK Ready2 OK Ready3 OK Ready4 OK Ready
voice -print
Voice codec setting relate informationSending packet size :G.723.1 : 60 msG.729A : 40 msG.711U : 40 msG.711A : 40 msPriority order codec :g7231 g729a g711u g711aVolume levels :voice volume : 28input gain : 28dtmf volume : 23No sound compress & CNG :G.723.1 : OffG.729A : There is no settingG.711(U-Law) : OffG.711(A-Law) : OffEcho canceller : On On On OnJitter buffer :Min Delay : 90Max Delay : 150
support -print
Special Voice function support manipulationT.38(FAX) support : DisabledModem relay : DisabledFaxecm : DisabledRedundancy depth : 0Modem volume : 6Fax max rate : 14400Line1 Forward NumbersBusy Forward number :NoAnswer Forward number :Uncondition Forward number :Line2 Forward NumbersBusy Forward number :NoAnswer Forward number :Uncondition Forward number :Line3 Forward NumbersBusy Forward number :NoAnswer Forward number :Uncondition Forward number :Line4 Forward NumbersBusy Forward number :NoAnswer Forward number :Uncondition Forward number :