Есть cisco 2801 Version 12.3(8r)T9 ,телефон SPA504G,
Пробовал sip пишет 404,, spcp ---- tokem rejected !!Читал много статей
Как делал:
ТЕЛЕФОН --Перевожу в SIP - ext1 - proxy ip циски - User ID: xxxx - Password: 4545 - Use Auth ID: 4545 Кнопки вроде загараються но всё ровно ощибка 404.
для spcp я так понимаю нужно xml генерить но пака думаю с sip разобраться.
Задача звонки с Cisco IP Communicator на SPA504g
-----
ПО SIP регестрирую на 2 pool
вот конфиг
------------------------------
ersion 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname haus
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 4096 informational
enable secret 5 $1$wu2x$W9uWOglhCbfYuZc7o1W.l.
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
!
aaa session-id common
memory-size iomem 20
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 192.168.20.1 192.168.20.2
!
ip dhcp pool LAN
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
domain-name haus.vpn22.ru
dns-server 192.168.20.1
option 150 ip 192.168.20.1
!
!
ip cef
ip domain name haus.local
ip name-server 8.8.8.8
no ipv6 cef
!
multilink bundle-name authenticated
!
voice service voip
clid network-provided
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol cisco
h323
sip
registrar server expires max 3600 min 3600
!
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
!
!
voice register global
mode cme
source-address 192.168.20.1 port 5060
max-dn 50
max-pool 24
authenticate register
time-format 24
date-format D/M/Y
tftp-path flash:
create profile sync 0003418920935923
!
voice register dn 1
number 200
!
voice register dn 2
number 201
!
voice register pool 1
id mac 001B.21AD.8E2A
number 1 dn 1
dtmf-relay rtp-nte
voice-class codec 1
no vad
!
voice register pool 2
id mac 58BF.EA11.3A68
number 1 dn 2
voice-class codec 1
username xxxx password 4545
!
voice-card 0
!
!
crypto pki trustpoint TP-self-signed-853865945
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-853865945
revocation-check none
rsakeypair TP-self-signed-853865945
!
!
crypto pki certificate chain TP-self-signed-853865945
certificate self-signed 01 nvram:IOS-Self-Sig#1.cer
!
!
username admin privilege 15 secret 5 $1$pLcB$UEYGs53EA4Zr0E2iE2xy4/
username root privilege 15 secret 5 $1$o0vO$BsmNYgzpx6iVp/YM7mqRZ1
archive
log config
hidekeys
!
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key 4545 address *****************
!
!
crypto ipsec transform-set VTI esp-aes 192 esp-sha-hmac
!
crypto ipsec profile VTI
set transform-set VTI
!
interface Tunnel0
ip address 10.0.0.2 255.255.255.0
tunnel source FastEthernet0/0
tunnel destination ************
tunnel mode ipsec ipv4
tunnel protection ipsec profile VTI
!
interface FastEthernet20/0
ip address ******** 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 **********
ip http server
ip http authentication local
ip http secure-server
!
!
ip dns server
ip nat inside source list 1 interface FastEthernet0/0 overload
ip nat inside source list 30 interface FastEthernet0/0 overload
!
access-list 30 permit 192.168.20.0 0.0.0.255
!
!
control-plane
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/0/2
!
voice-port 0/0/3
!
!
sip-ua
!
telephony-service
max-ephones 10
max-dn 10
ip source-address 192.168.20.1 port 2000
max-conferences 4 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1
number 100
description SCCP-test
name The Danil
!
!
ephone 1
device-security-mode none
mac-address 58BF.EA11.3A68
button 1:1
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
privilege level 15
logging synchronous
transport input ssh
!
scheduler allocate 20000 1000
end