FXO шлюз ADDPAC AP200D Asterisk
ADDPAC AP200D
Welcome to AP200 ! voice service voip fax protocol bypass fax rate 9600 h323 call start fast ! ! Voice port configuration. ! voice-port 0/0 ! FXO connection polling \\шлюз даст тон набора \\ или connection plar 100 \\шлюз наберет 100 high-dtmf-gain -7 ! voice-port 0/1 ! FXO connection polling high-dtmf-gain -7 ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern .T port 0/0 preference 2 user-name addpac1 user-password mypassword ! ! dial-peer voice 1 pots destination-pattern .T port 0/1 preference 1 user-name addpac2 user-password mypassword ! ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern .T session target 192.168.0.225 session protocol sip codec g711alaw voice-class codec 711 dtmf-relay rtp-2833 no vad ! ! Gateway configuration. ! ! Translation Rule configuration. ! ! SIP UA configuration. ! sip-ua user-register sip-server 192.168.0.225 remote-party-id ! ! MGCP configuration. ! mgcp ! ! Tones voice class clear-down-tone 0 425 0 300 300 ! AP200#
Asterisk FreepBX
Trunk Name: addpac1
PEER Details:
host=dynamic type=friend username=addpac1 secret=mypassword qualify=yes context=from-trunk
Trunk Name: addpac2
PEER Details:
host=dynamic type=friend username=addpac2 secret=mypassword qualify=yes context=from-trunk