#AddPac200B config Using 3068 out of 65332 bytes ! version 8.10 ! hostname AP200 ! no ip routing ! ! no bridge spanning-tree ! proxy-arp ! dhcp-list 0 type server dhcp-list 0 address server interface ether0.0 dhcp-list 0 option dhcp-lease-time 600 ! dhcp-list 1 type server dhcp-list 1 address server 10.1.1.2 10.1.1.254 255.255.255.0 ! ! no ip-share enable ip-share interface net-side ether0.0 ip-share interface local-side ether1.0 ! interface ether0.0 ip address xxx.xxx.xxx.xxx 255.255.255.0 //IP address ans netmask qos-control 4096 2000 line-ctrl promiscuous bridge ! interface ether1.0 no ip address line-ctrl promiscuous bridge ! snmp name AP200B ! no arp reset ! route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx //defualt gateway ! ! ! ! ! ! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 9600 h323 call start fast announcement language english busyout monitor gatekeeper busyout monitor voip-interface ! ! ! Voice port configuration. ! voice-port 0/0 ! FXS ! ! voice-port 0/1 ! FXS ! ! ! ! ! Pots peer configuration. ! dial-peer voice 1 pots destination-pattern 200 port 0/0 ! dial-peer voice 2 pots destination-pattern 201 port 0/1 ! ! ! ! Voip peer configuration. ! //диалпир для звонков на софтсвитч VoIP eXchange по протоколу SIP, все номера с префиксом 0 отправляются на него dial-peer voice 16 voip destination-pattern 0T session target 212.53.35.244 5060 session protocol sip voice-class codec 723 dtmf-relay rtp-2833 translate-outgoing called-number 0 ! //диалпир для звонков на софтсвитч VoIP eXchange по протоколу h.323, все номера в E.164 отправляются на него dial-peer voice 34 voip destination-pattern T session target 212.53.35.34 1720 voice-class codec 723 dtmf-relay h245-alphanumeric ! ! ! ! ! ! Gateway configuration. ! gateway h323-id voip.xxx.xxx.xxx.xxx ! ! ! Codec classes configuration. ! voice class codec 723 codec preference 1 g7231r53 codec preference 2 g7231r63 codec preference 3 g729 codec preference 4 g711alaw codec preference 5 g711ulaw ! voice class codec 729 codec preference 1 g729 codec preference 2 g7231r53 codec preference 3 g7231r63 codec preference 4 g711alaw codec preference 5 g711ulaw ! voice class codec 711 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g7231r53 codec preference 4 g7231r63 codec preference 5 g729 ! ! ! ! Translation Rule configuration. ! translation-rule 0 rule 0 0T T ! ! ! ! SIP UA configuration. ! sip-ua sip-username eq_login //логин вашего оборудования (см. раздел оборудование вашего аккаунта) sip-password eq_password //пароль вашего оборудования sip-server 212.53.35.244 ! ! ! MGCP configuration. ! mgcp codec g711ulaw ! ! ! Tones ! ! !