BJ и evghoul! Спасибо!!! добавил direct-inward-dial и translation-profile. Все работает!!!
Пока конфиг в таком виде:
boot-start-marker
boot system flash c5350-ik9su2-mz.124-11.T.bin
no boot startup-test
boot-end-marker
!
resource-pool disable
!
aaa session-id common
clock calendar-valid
spe default-firmware spe-firmware-1
ip cef
!
!
multilink bundle-name authenticated
isdn switch-type primary-net5
!
!
voice translation-rule 1
rule 1 /327881/ /237891/
!
!
voice translation-profile 2
translate called 1
!
trunk group 1
hunt-scheme round-robin both down
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 3/1
framing NO-CRC4
pri-group timeslots 1-31
!
interface Serial3/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem 64
no fair-queue
no cdp enable
!
interface Serial3/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem
no cdp enable
!
interface Group-Async0
no ip address
encapsulation slip
no ip mroute-cache
no snmp trap link-status
no peer default ip address
no fair-queue
group-range 1/00 1/59
!
!
dialer clid group 123
!
!
call leg event-log
!
voice-port 3/0:D
input gain -3
output attenuation -3
cptone RU
bearer-cap 3100Hz
!
voice-port 3/1:D
input gain -3
output attenuation -4
echo-cancel coverage 64
cptone RU
bearer-cap 3100Hz
!
!
!
dial-peer voice 100 pots
translation-profile incoming 2
huntstop
incoming called-number 327881
direct-inward-dial
!
dial-peer voice 101 pots
destination-pattern 237891
port 3/0:D
forward-digits all
!
!
ss7 mtp2-variant Bellcore 0
ss7 mtp2-variant Bellcore 1
ss7 mtp2-variant Bellcore 2
ss7 mtp2-variant Bellcore 3
!
line con 0
line aux 0
modem InOut
transport input all
transport output all
line vty 0 4
access-class 1 in
exec-timeout 30 0
line vty 5 15
access-class 1 in
line 1/00 1/58
session-timeout 30
no flush-at-activation
modem InOut
transport preferred none
transport input all
transport output none
escape-character BREAK
line 1/59
session-timeout 30
no flush-at-activation
modem InOut
monitor
transport preferred none
transport input all
transport output none
escape-character BREAK
!
scheduler allocate 10000 400
ntp master 1
end