Andrey Safonov Posted September 3, 2014 · Report post Добрый день. Попросили настроить 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 . Подскажите, что надо в авае включить, чтобы эта строка появилась? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Andrey Safonov Posted September 4, 2014 · Report post Нашел причину: https://support.avaya.com/forums/showthread.php?t=576&highlight=forbidden Решил пустить без регистрации, но возникла другая проблема. Входящие звонки есть, а исходящих нет, кто-то может подсказать причину? Для примера два инвайта. Первый с аваи, второй нормальный. Кто-нибудь может подсказать что этой авае надо настроить, чтобы слала нормальные инвайты? INVITE Tel:+2125046 SIP/2.0Via: SIP/2.0/UDP 192.168.111.55:5060;rport;branch=z9hG4bK6a2f8e6f0f047d44642403fb986020e5From: Tel:+2126000;tag=12cf766eb72b6e4fTo: Tel:+2125046Call-ID: a3ae6b0f600ecc07a8ded41e9f3bcf1a@192.168.111.55CSeq: 2128123613 INVITEContact: Tel:+2126000Max-Forwards: 70Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFOContent-Type: application/sdpContent-Length: 305v=0o=UserA 3871466459 3742126832 IN IP4 192.168.111.55s=Session SDPc=IN IP4 192.168.111.55t=0 0m=audio 49152 RTP/AVP 8 18 4 0 101a=rtpmap:8 PCMA/8000a=rtpmap:18 G729/8000a=rtpmap:4 G723/8000a=rtpmap:0 PCMU/8000a=fmtp:18 annexb = noa=rtpmap:101 telephone-event/8000a=fmtp:101 0-15INVITE sip:9382125380@192.168.111.254 SIP/2.0Accept: application/sdpAllow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS,REGISTER,REFER,SUBSCRIBE,MESSAGE,PUBLISHCall-ID: 41bab62b5mp4hfy3e@192.168.111.101Contact: "89186723241" <sip:89186723241@192.168.111.101:5060;user=phone>CSeq: 462 INVITEExpires: 3600From: "89186723241" <sip:89386723241@192.168.111.101:5060;user=phone;cpc=ordinary>;tag=h9abbk0724To: "2125380" <sip:9382125380@192.168.111.101:5060>Organization: IskratelUser-Agent: SI3000Via: SIP/2.0/UDP 192.168.111.101:5060;branch=z9hG4bK-fl4v4-qkcwmMax-Forwards: 70Subject: Call from CS6111P-Asserted-Identity: "89386723241" <sip:89386723241@192.168.111.101:5060;user=phone>Privacy: noneContent-Length: 191Content-Type: application/sdpContent-Disposition: session;handling=requiredv=0o=- 6840240 4456210 IN IP4 192.168.111.114s=-c=IN IP4 192.168.111.114b=AS:64t=0 0m=audio 24260 RTP/AVP 8 0a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=ptime:20a=sendrecv[/Code] Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
paradox_ Posted September 5, 2014 · Report post вбейте в гугл avaya tel to sip uri решение есть в виде нескольких команд, сам видел Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...