Дано: AP2520, к нему по Е1 подключен Panasonic TDA200, по ip: Asterisk, Panasonic TDA600 и Ericsson BP250. Изначальная цель - чтобы все могли звонить на Ericsson. Пока же получается сделать звонок только от TDA200 на Ericsson. Звонок, приходящий по IP, не может уйти дальше на IP, только на Е1 и наоборот. Где копать?
dial-peer 16 - смотрит в сторону Ericsson. Звонки на TDA600 от Астерикса и назад ходят ч-з TDA200 (Voice 1 pots - в сторону TDA200 и TDA600). Все исходящие звонки из TDA200 по IP идут на Астериск.
вот конфиг:
-------------------------------------------------------------------------------- Command base-URL: /exec/show/running-config User ID: root
--------------------------------------------------------------------------------
! version 8.126 ! hostname volvo-vostok-vg1 ! ! no ip-share enable ! ! interface ether0.0 ip address aaa.aaa.aaa.aaa 255.255.255.240 qos-control line-ctrl full-duplex ! interface ether1.0 no ip address ! no arp reset ! snmp name Volvo ! route 0.0.0.0 0.0.0.0 aaa.aaa.aaa.1 ! ntp offset 03:00 ntp server 194.149.67.130 ! ip-tos rtp precedence 5 ip-tos rtp delay ip-tos rtp throughput ip-tos sig precedence 5 ip-tos sig delay ip-tos sig throughput ! ! ! ! ! ! VoIP configuration. ! ! ! Controller configuration. ! controller e1 0/0 channel-group timeslots 1-31 0 chan-number-order ascending isdn overlap-receiving isdn t310 40 ! ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 9600 h323 call start fast h323 call response alert ! ! ! Voice port configuration. ! voice-port 0/0 0 ! E1 input gain -2 dial-tone-generate no announcement ! ! ! ! ! Pots peer configuration. ! dial-peer voice 1 pots destination-pattern 5[4-9]..F numbering-type national port 0/0 0 forward-digits from 0 huntstop ! dial-peer voice 14 pots destination-pattern 74957390000 numbering-type national port 0/0 0 forward-digits from 0 huntstop ! dial-peer voice 15 pots destination-pattern 74957860000 numbering-type national port 0/0 0 forward-digits from 0 huntstop ! ! ! ! Voip peer configuration. ! dial-peer voice 10 voip destination-pattern 5[0-9]..F session target bbb.bbb.bbb.bbb codec g729 voice-class codec 0 dtmf-relay h245-alphanumeric no vad description Office_Numbers ! dial-peer voice 11 voip destination-pattern 8[2-9]......... session target bbb.bbb.bbb.bbb voice-class codec 0 dtmf-relay h245-alphanumeric no vad translate-outgoing called-number 2 translate-outgoing calling-number 1 ! dial-peer voice 12 voip destination-pattern [12345679]......F session target bbb.bbb.bbb.bbb voice-class codec 0 dtmf-relay h245-alphanumeric no vad translate-outgoing called-number 3 translate-outgoing calling-number 1 ! dial-peer voice 13 voip destination-pattern 8T session target bbb.bbb.bbb.bbb voice-class codec 0 dtmf-relay h245-alphanumeric no vad translate-outgoing called-number 2 translate-outgoing calling-number 1 ! dial-peer voice 16 voip destination-pattern [01237]..F session target ccc.ccc.ccc.ccc voice-class codec 0 dtmf-relay h245-alphanumeric no vad description SPB_Office_Number ! ! ! ! ! ! gatekeeper ! ! ! Gateway configuration. ! gateway h323-id voip.87.245.166.170 ! ! ! Codec classes configuration. ! voice class codec 0 codec preference 1 g729 codec preference 2 g711ulaw ! ! ! ! Translation Rule configuration. ! translation-rule 1 rule 0 T 4957394810%98 ! translation-rule 2 rule 0 8 7 ! translation-rule 3 rule 0 1 74951 rule 1 2 74952 rule 2 3 74953 rule 3 4 74954 rule 4 5 74955 rule 5 6 74956 rule 6 7 74957 rule 7 9 74959 ! ! ! ! SIP UA configuration. ! sip-ua ! ! ! MGCP configuration. ! mgcp codec g711ulaw ! ! ! 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 400 400 0 0 -12 ! voice class line-lock-tone 425 0 150 150 0 0 -12 ! ! ! ! --------------------------------------------------------------------------------
|