Добрый день.
Стоит 2800. На ней оконечиваются SIP-аккаунты.
Задача - добавить ещё один аккаунт.
Делаю по методичке: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/sip/...Прописываю:
credentials number 74232492622 username xxxx password yyyy realm sipproxy.telphin.ru
Не регистрируется.
Дебаг показывает, как я понимаю неверное имя:
Нужно, что бы передавалось имя "xxxx", вместо него я вижу номер телефона "74232492622"
Sent:
REGISTER sip:sipproxy.telphin.ru:5068 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bKEC6CA43
From: <sip:4232492622@sipproxy.telphin.ru>;tag=903201E8-1D
To: <sip:4232492622@sipproxy.telphin.ru>
Received:
SIP/2.0 403 forbidden
Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bKEC6CA43;rport=5060;received=194.186.233.90
From: <sip:4232492622@sipproxy.telphin.ru>;tag=903201E8-1D
To: <sip:4232492622@sipproxy.telphin.ru>;tag=d1cabfa489a75766c080cf390c6ad6cf.1495c2a4
Как заставить передавать имя, если оно с номером не совпадает?
Относящийся конфиг:
version 15.1
service timestamps debug datetime msec localtime
service timestamps log datetime msec
service password-encryption
!
...
...
!
isdn switch-type primary-net5
!
!
!
voice service pots
!
voice service voip
ip address trusted list
...
allow-connections sip to sip
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
...
...
!
voice register pool 1
id mac 0015.6582.D3FD
number 1 dn 1
codec g711ulaw
!
!
!
controller E1 0/1/0
framing NO-CRC4
pri-group timeslots 1-31
!
!
!
interface FastEthernet0/0
...
...
!
interface Serial0/1/0:15
...
...
!
!
!
control-plane
!
!
voice-port 0/1/0:15
no comfort-noise
cptone RU
timeouts call-disconnect 1
timeouts wait-release 3
!
...
...
!
dial-peer voice 1 voip
...
...
!
dial-peer voice 1 pots
...
...
!
dial-peer voice 8 voip
description telphin
destination-pattern 4232492622
session protocol sipv2
session target dns:sipproxy.telphon.ru:5068
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 9 pots
destination-pattern 4232492622
direct-inward-dial
port 0/1/0:15
forward-digits all
!
!
gateway
timer receive-rtp 1200
!
sip-ua
credentials ...
credentials number 4232492622 username xxxx password 7 yyyy realm sipproxy.telphin.ru
authentication username xxxx password 7 yyyy realm sipproxy.telphin.ru
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
registrar 1 ...
registrar 2 ...
registrar 3 ...
registrar 4 dns:sipproxy.telphin.ru:5068 expires 3600
sip-server ipv4:192.168.1.2
connection-reuse
host-registrar
!