Jump to content
Калькуляторы

Avaya поправить REGISTER

Добрый день.

Попросили настроить Avaya IPO 500. Создал Line, на SI3000 прописал абонента, дальше начались проблемы.

Схема примерно следующая: Avaya - SBC - SI3000

От аваи приходит такой трейс:

 

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.128.166:5060;rport;branch=z9hG4bKecaee6ae88ae4dd3390459d4107d37e2
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: 484be70a8df2a8da37fd7475f3339ccd@192.168.128.166
CSeq: 779031131 REGISTER
Contact: <sip:9842126***@192.168.128.166:5060;transport=udp>
Expires: 3600
Max-Forwards: 70
User-Agent: IP Office 4.0
Content-Length: 0

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031131 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031131 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031131 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

SIP/2.0 401 Unauthorized
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031131 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=p7a833qqfk
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
WWW-Authenticate: Digest realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",opaque="c946adc32387b044fb50d13245411bae",qop="auth"
Content-Length: 0

SIP/2.0 401 Unauthorized
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031131 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=p7a833qqfk
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
WWW-Authenticate: Digest realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",opaque="c946adc32387b044fb50d13245411bae",qop="auth"
Content-Length: 0

SIP/2.0 401 Unauthorized
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031131 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=p7a833qqfk
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKiag8fm302o71el86h5l1.1
WWW-Authenticate: Digest realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",opaque="c946adc32387b044fb50d13245411bae",qop="auth"
Content-Length: 0

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.128.166:5060;received=192.168.128.166;branch=z9hG4bKecaee6ae88ae4dd3390459d4107d37e2;rport=5060
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho799-p7a833qqfk
Call-ID: 484be70a8df2a8da37fd7475f3339ccd@192.168.128.166
CSeq: 779031131 REGISTER
Contact: <sip:9842126***@192.168.110.1:5060;transport=udp>
Expires: 3600
WWW-Authenticate: Digest realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",opaque="c946adc32387b044fb50d13245411bae",qop="auth"
Content-Length: 0

REGISTER sip:9842126***@192.168.110.1:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.128.166:5060;rport;branch=z9hG4bKad2508ccfc5ec2f751cad83eb00afe16
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: 484be70a8df2a8da37fd7475f3339ccd@192.168.128.166
CSeq: 779031132 REGISTER
Contact: <sip:9842126***@192.168.128.166:5060;transport=udp>
Expires: 3600
Authorization: Digest username="9842126***",realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",response="634e5d550036ccc1903f707e85106bc2",uri="sip:sip-gw.khbiksd.ru",algorithm=MD5,qop=auth,cnonce="71f7da9a18c7980d22c8",nc=******01
Max-Forwards: 70
User-Agent: IP Office 4.0
Content-Length: 0

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031132 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Authorization: Digest username="9842126***",realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",response="634e5d550036ccc1903f707e85106bc2",uri="sip:sip-gw.khbiksd.ru",algorithm=MD5,qop=auth,cnonce="71f7da9a18c7980d22c8",nc=******01
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031132 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Authorization: Digest username="9842126***",realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",response="634e5d550036ccc1903f707e85106bc2",uri="sip:sip-gw.khbiksd.ru",algorithm=MD5,qop=auth,cnonce="71f7da9a18c7980d22c8",nc=******01
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

REGISTER sip:sip-gw.khbiksd.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
CSeq: 779031132 REGISTER
Contact: <sip:9842126***@192.168.111.254:5060;transport=udp>
Expires: 3600
Authorization: Digest username="9842126***",realm="192.168.111.101",nonce="5405c59f3aa943a2043a04905be6ece629cf510a",response="634e5d550036ccc1903f707e85106bc2",uri="sip:sip-gw.khbiksd.ru",algorithm=MD5,qop=auth,cnonce="71f7da9a18c7980d22c8",nc=******01
Max-Forwards: 69
User-Agent: IP Office 4.0
Content-Length: 0
Route: <sip:192.168.111.101;lr>

SIP/2.0 403 Forbidden
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031132 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=ayaxr25w9o
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
Content-Length: 0

SIP/2.0 403 Forbidden
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031132 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=ayaxr25w9o
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
Content-Length: 0

SIP/2.0 403 Forbidden
Call-ID: SDj5ho701-6f218d20beec2a9300c5e94b8743fc5f-06av6v3
Contact: <sip:9842126***@192.168.111.254:5060>
CSeq: 779031132 REGISTER
Expires: 3600
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho701-cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=ayaxr25w9o
Via: SIP/2.0/UDP 192.168.111.254:5060;branch=z9hG4bKi2nb1v303ohgtl0lm681.1
Content-Length: 0

SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.128.166:5060;received=192.168.128.166;branch=z9hG4bKad2508ccfc5ec2f751cad83eb00afe16;rport=5060
From: <sip:9842126***@sip-gw.khbiksd.ru>;tag=cd4c20ed8e53621e
To: <sip:9842126***@sip-gw.khbiksd.ru>;tag=SDj5ho799-ayaxr25w9o
Call-ID: 484be70a8df2a8da37fd7475f3339ccd@192.168.128.166
CSeq: 779031132 REGISTER
Contact: <sip:9842126***@192.168.110.1:5060;transport=udp>
Expires: 3600
Content-Length: 0

Предполагаю, что причина отказа в регистрации - отсутствие строки во втором REGISTER типа:

Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE

.

Подскажите, что надо в авае включить, чтобы эта строка появилась?

Share this post


Link to post
Share on other sites

Нашел причину: https://support.avaya.com/forums/showthread.php?t=576&highlight=forbidden

 

Решил пустить без регистрации, но возникла другая проблема. Входящие звонки есть, а исходящих нет, кто-то может подсказать причину?

Для примера два инвайта. Первый с аваи, второй нормальный. Кто-нибудь может подсказать что этой авае надо настроить, чтобы слала нормальные инвайты?

 

INVITE Tel:+2125046 SIP/2.0
Via: SIP/2.0/UDP 192.168.111.55:5060;rport;branch=z9hG4bK6a2f8e6f0f047d44642403fb986020e5
From: Tel:+2126000;tag=12cf766eb72b6e4f
To: Tel:+2125046
Call-ID: a3ae6b0f600ecc07a8ded41e9f3bcf1a@192.168.111.55
CSeq: 2128123613 INVITE
Contact: Tel:+2126000
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO
Content-Type: application/sdp
Content-Length: 305

v=0
o=UserA 3871466459 3742126832 IN IP4 192.168.111.55
s=Session SDP
c=IN IP4 192.168.111.55
t=0 0
m=audio 49152 RTP/AVP 8 18 4 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:0 PCMU/8000
a=fmtp:18 annexb = no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

INVITE sip:9382125380@192.168.111.254 SIP/2.0
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISH
Call-ID: 41bab62b5mp4hfy3e@192.168.111.101
Contact: "89186723241" <sip:89186723241@192.168.111.101:5060;user=phone>
CSeq: 462 INVITE
Expires: 3600
From: "89186723241" <sip:89386723241@192.168.111.101:5060;user=phone;cpc=ordinary>;tag=h9abbk0724
To: "2125380" <sip:9382125380@192.168.111.101:5060>
Organization: Iskratel
User-Agent: SI3000
Via: SIP/2.0/UDP 192.168.111.101:5060;branch=z9hG4bK-fl4v4-qkcwm
Max-Forwards: 70
Subject: Call from CS6111
P-Asserted-Identity: "89386723241" <sip:89386723241@192.168.111.101:5060;user=phone>
Privacy: none
Content-Length: 191
Content-Type: application/sdp
Content-Disposition: session;handling=required

v=0
o=- 6840240 4456210 IN IP4 192.168.111.114
s=-
c=IN IP4 192.168.111.114
b=AS:64
t=0 0
m=audio 24260 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
[/Code]

Share this post


Link to post
Share on other sites

вбейте в гугл

avaya tel to sip uri

решение есть в виде нескольких команд, сам видел

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this