Каждый порт регистрируется на * отдельно под своим именем (номером).
Но вызовы в направлении *->AP200B попадают на произвольные порты в хаотическом порядке.
Вызовы в направлении AP200B->* с порта 0/1 проходят, а с порта 0/0 * отказывает в доступе:
[Mar 3 09:57:34] WARNING[23621]: chan_sip.c:8507 check_auth: username mismatch, have <7032>, digest has <7031>
[Mar 3 09:57:34] NOTICE[23621]: chan_sip.c:13971 handle_request_invite: Failed to authenticate user <sip:****.ru>;tag=3d49067ba4
Подскажите как быть!!!
Вот конфиг:
Using 2947 out of 65332 bytes
!
version 8.237
!
hostname AP200
!
!
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 192.168.10.2 192.168.10.254 255.255.255.0
dhcp-list 1 option dns use-dhcp
dhcp-list 1 option router-option 192.168.10.1
!
nat-list 0 pat address 192.168.0.125
nat-list 0 pat static-entry tcp 1720 local
nat-list 0 pat static-entry udp 5060 local
nat-list 0 pat group-static-entry tcp 10000 10003 local
nat-list 0 pat group-static-entry tcp 14000 14003 local
nat-list 0 pat group-static-entry tcp 18000 18003 local
nat-list 0 pat group-static-entry udp 22000 22001 local
nat-list 0 pat group-static-entry udp 23000 23007 local
nat-list 0 pat static-entry tcp 80 local
nat-list 0 pat static-entry tcp 21 local
nat-list 0 pat static-entry icmp ping local
nat-list 0 pat static-entry tcp 23 local
nat-list 0 pat static-entry tcp 20 local
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address dhcp
!
interface ether0.1
no ip address
shutdown
!
interface ether0.2
no ip address
shutdown
!
interface ether1.0
ip address 192.168.10.1 255.255.255.0
description LAN
ip nat-group 0 pat ether0.0
ip dhcp-group 1
!
interface ether1.1
no ip address
!
interface ether1.2
no ip address
!
snmp name AP200B
!
no arp reset
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
timeout tring 90
busyout monitor gatekeeper
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
!
!
! FXS
voice-port 0/1
!
!
!
!
!
voice service voip
minimize-voip-port multiply 2
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern T
port 0/0
user-name 7031
user-password ****
huntstop
diversion 0
inbound-pots-peer 0
out-barred-group 0
!
dial-peer voice 1 pots
destination-pattern T
port 0/1
user-name 7032
user-password ****
huntstop
diversion 1
inbound-pots-peer 1
out-barred-group 1
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
dtmf-relay rtp-2833
no vad
!
!
!
dial-peer ipaddr-prefix n
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.16.12
gkip 1719 128 128
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server ****.ru 5060 0
timeout tregtry 60
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
!
!
|