Для 192.168.5.50 (на портах, номера 100, 101, 102 ....)
voice service voip fax protocol t38 redundancy 0 fax rate 9600 h323 call start fast h323 call channel early h323 call tunnel enable hold-tone-play ring-back local-ringback-tone timeout tring 180 timeout tidt 5 timeout tttl 300 max-frame g729 6 max-frame g711 3 busyout monitor gatekeeper no busyout monitor sip-server no busyout monitor callagent busyout monitor voip-interface display send none ! ! Voice port configuration. ! ! FXS voice-port 0/0 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! voice-port 0/1 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! voice-port 0/2 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! dial-peer voice 0 pots destination-pattern 100 port 0/0 ! dial-peer voice 1 pots destination-pattern 101 port 0/1 ! dial-peer voice 2 pots destination-pattern 102 port 0/2 ! voice service voip minimize-voip-port multiply 1 ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern 2T session target 192.168.5.51 voice-class codec 1 codec-variant g729 annex-a dtmf-relay d no vad preference 1 ! dial-peer ipaddr-prefix n dial-peer call-pickup *0 dial-peer call-hold h dial-peer call-transfer h ! Codec classes configuration. ! voice class codec 1 codec preference 1 g729 codec preference 2 g711alaw ! ! Tones voice class dial-tone 425 0 0 0 0 0 -12 ! voice class ring-back-tone 425 0 1000 4000 0 0 -12 ! voice class line-busy-tone 425 0 350 350 0 0 -12 ! voice class reorder-tone 425 0 349 350 0 0 -12
Перехват звонка (*0) Перевод звонка ( flash, набор, положить трубку) Холд (flash, набор, разговор, flash(возврат к звонку)) Просто внутренняя связь (101,102,103,104) PS. но Это все в пределах удаленного аддпака только.
Для 192.168.5.51: voice service voip fax protocol t38 redundancy 0 fax rate 9600 h323 call start fast h323 call channel early h323 call tunnel enable hold-tone-play ring-back local-ringback-tone timeout tring 180 timeout tidt 5 timeout tttl 300 max-frame g729 6 max-frame g711 3 busyout monitor gatekeeper no busyout monitor sip-server no busyout monitor callagent busyout monitor voip-interface display send none ! ! Voice port configuration. ! ! FXS voice-port 0/0 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! voice-port 0/1 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! voice-port 0/2 no comfort-noise fax-early-detect caller-id enable caller-id name disable ! dial-peer voice 0 pots destination-pattern 200 port 0/0 ! dial-peer voice 1 pots destination-pattern 201 port 0/1 ! dial-peer voice 2 pots destination-pattern 202 port 0/2 ! voice service voip minimize-voip-port multiply 1 ! dial-peer voice 1000 voip destination-pattern 1T session target 192.168.5.50 voice-class codec 1 codec-variant g729 annex-a dtmf-relay d no vad preference 1 ! dial-peer ipaddr-prefix n dial-peer call-pickup *0 dial-peer call-hold h dial-peer call-transfer h ! Codec classes configuration. ! voice class codec 1 codec preference 1 g729 codec preference 2 g711alaw ! ! Tones voice class dial-tone 425 0 0 0 0 0 -12 ! voice class ring-back-tone 425 0 1000 4000 0 0 -12 ! voice class line-busy-tone 425 0 350 350 0 0 -12 ! voice class reorder-tone 425 0 349 350 0 0 -12
факс будет ходить по протоколу T38, а голос по кодеку G729, если канал позволяет, то можно настроить и факс и голос на G711
|