Пытаюсь связать AddPac GS 1002 и Asterisk.
Проблема в том, что AddPac не посылает запросов на регистрацию на Asterisk.
На стороне Asterisk'a слушаю и Sip debug'ом и tcpdump'ом - тишина.
В iptables все чисто...
Вот только пинги с AddPac'а на Asterisk проходят какие-то странные с задержкой 0 мс:
PING 192.168.0.11 (192.168.0.12): 56 data bytes
64 bytes from 192.168.0.11: icmp_seq=0 ttl=64 time=0 ms
64 bytes from 192.168.0.11: icmp_seq=1 ttl=64 time=0 ms
64 bytes from 192.168.0.11: icmp_seq=2 ttl=64 time=0 ms
64 bytes from 192.168.0.11: icmp_seq=3 ttl=64 time=0 ms
64 bytes from 192.168.0.11: icmp_seq=4 ttl=64 time=0 ms
--- 192.168.0.11 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss'
round-trip min/avg/max = 0/0/0 ms
Вот конфиг AddPac:
GS1002# show run
Building configuration...
Current configuration:
!
version 8.51.008
!
hostname GS1002
!
username root password router administrator
username guest password guest user
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
no ip address
ip nat outside
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.0.12 255.255.255.0
ip nat inside
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1 10
!
!
!
!
http server
!
dns name-server 192.168.0.1
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
protocol sip
dtmf-relay out-of-band
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
connection plar 600
dial-tone-generate
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! GSM
voice-port 0/1
connection plar 600
dial-tone-generate
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! FXO
voice-port 0/2
connection plar 600
caller-id enable
!
!
! FXO
voice-port 0/3
connection plar 600
caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern .T
port 0/0
call-waiting
user-name GSM1
user-password GSM1
!
dial-peer voice 2 pots
destination-pattern T
port 0/1
user-name GSM2
user-password GSM2
!
dial-peer voice 3 pots
destination-pattern .T
port 0/2
user-name FXO1
user-password FXO1
!
!
!
! Voip peer configuration.
!
dial-peer voice 0 voip
destination-pattern .T
session target ip 192.168.0.11
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
description asterisk
!
!
!
!
dial-peer call-hold h
dial-peer call-transfer h
!
dial-peer hunt 2
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.12
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g711alaw
!
!
!
! Translation Rule configuration.
!
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-username AddPac
sip-password AddPac
sip-server 192.168.0.11
called-party-number to-field
register e164
!
!
! Tones
!
!
!
!
! SMTP sendmail configuration
!
sms-delivery
!
!
!
line console
!
line vty
!
mobile dev-restart-by-unreg 300
!
mobile 0/0
gsm sms-language utf8
!
mobile 0/1
gsm sms-language utf8
!
end
GS1002#
Причем вначале запросы были, но пока разбирался чо к чему, пропали, и я не могу их заставить снова появиться...
Может будут мысли где копнуть?