2012-10-17 3 views
2

중간에 하나의 사용자 지정 SIP 프록시가있는 두 개의 Lync 도메인을 현재 페더레이션하려고합니다. 문제는 Lync 서버가 프록시를 통과 한 후 다른 Lync 도메인에서 들어오는 요청 (msrtc-adrl-categorylist)을 구독하기 위해 "413 - Entity too large"이라고 회신합니다.LYNC - SIP "413 - 요청 엔터티가 너무 큽니다."오류가 발생했습니다.

그러나 SIP 프록시 인 SIPp를 사용하여 비슷한 메시지를 보냈는데 SIP 프록시를 거쳤음에도 가입은 허용됩니다.

두 메시지는 매우 유사합니다. 프록시는 레코드 경로를 추가하고 From 태그의 끝에 ID를 추가합니다. 그것은 몸에 손을 넣지 않습니다.

SIPp가 본문 끝 부분에 CRLF를 추가하기 때문에 내용 길이의 차이가 발생합니다. Lync에서는 그렇지 않습니다.

요청에 아무 것도 표시되지 않습니다. 다음 메시지가 대상 도메인의 Lync Edge에 기록되었습니다.

Start-Line: SUBSCRIBE sip:[email protected] SIP/2.0 
From: <sip:[email protected]>;epid=75bdd22553;tag=vl57cpy2rb72lu15i7awk22h0100003f1410 
To: <sip:[email protected]> 
CSeq: 1 SUBSCRIBE 
Call-ID: 3ad1662aa2d84bc5a7de15f5d2ecd0be 
Record-Route: <sip:smf1.testucfed.com:5061;lr> 
Max-Forwards: 68 
Via: SIP/2.0/TLS smf1.testucfed.com:5061;branch=z9hG4bKfspbWpOjnrsr3kELP8S9 
Via: SIP/2.0/TCP 10.0.0.6:5060;branch=z9hG4bKfspbkK8M7FQrQmqN99a9 
User-Agent: UCCAPI/4.0.7577.4103 OC/4.0.7577.4109 (Microsoft Lync 2010) 
Event: presence 
Accept: application/msrtc-event-categories+xml, application/xpidf+xml,  text/xml+msrtc.pidf, application/pidf+xml, application/rlmi+xml, multipart/related 
Supported: com.microsoft.autoextend 
Supported: ms-piggyback-first-notify 
ms-asserted-verification-level: ms-source-verified-user=verified 
Content-Type: application/msrtc-adrl-categorylist+xml 
Content-Length: 464 
Contact: <sip:smf1.testucfed.com:5061> 
Message-Body: 
<batchSub xmlns="http://schemas.microsoft.com/2006/01/sip/batch-subscribe"    uri="sip:[email protected]" name=""> 
    <action name="subscribe" id="104999392"> 
     <adhocList>  
      <resource uri="sip:[email protected]"/> 
     </adhocList> 
     <categoryList xmlns="http://schemas.microsoft.com/2006/09/sip/categorylist"> 
      <category name="state"/> 
      <category name="note"/> 
      <category name="services"/> 
      <category name="contactCard"/> 
      <category name="calendarData"/> 
     </categoryList> 
    </action> 
</batchSub> 

SIPP 구독

거부 ​​- -

LYNC 구독으로 받아 들여지는

Start-Line: SUBSCRIBE sip:[email protected] SIP/2.0 
From: <sip:[email protected]>;epid=75bdd22553;tag=1iy5s1s4humjf184oeqyeitztd0100003f1410 
To: <sip:[email protected]> 
CSeq: 1 SUBSCRIBE 
Call-ID: [email protected] 
Record-Route: <sip:smf1.testucfed.com:5061;lr> 
Max-Forwards: 68 
Via: SIP/2.0/TLS smf1.testucfed.com:5061;branch=z9hG4bKfspbIP0PgNyO4vZelNvG 
Via: SIP/2.0/TCP 10.0.0.6:5060;branch=z9hG4bKfspbWS366kCidcbxJt9m 
Event: presence 
Accept: application/msrtc-event-categories+xml, application/xpidf+xml,  text/xml+msrtc.pidf, application/pidf+xml, application/rlmi+xml, multipart/related 
User-Agent: UCCAPI/4.0.7577.4103 OC/4.0.7577.4109 (Microsoft Lync 2010) 
Supported: com.microsoft.autoextend 
Supported: ms-piggyback-first-notify 
ms-asserted-verification-level: ms-source-verified-user=verified 
Content-Type: application/msrtc-adrl-categorylist+xml 
Content-Length: 466 
Contact: <sip:smf1.testucfed.com:5061> 
Message-Body: 
<batchSub xmlns="http://schemas.microsoft.com/2006/01/sip/batch-subscribe"  uri="sip:[email protected]" name=""> 
    <action name="subscribe" id="104999648"> 
     <adhocList> 
      <resource uri="sip:[email protected]"/> 
     </adhocList> 
     <categoryList xmlns="http://schemas.microsoft.com/2006/09/sip/categorylist"> 
      <category name="state"/> 
      <category name="note"/> 
      <category name="services"/> 
      <category name="contactCard"/> 
      <category name="calendarData"/> 
     </categoryList> 
    </action> 
</batchSub> 

응답

Start-Line: SIP/2.0 413 Request entity too large 
From: <sip:[email protected]>;epid=75bdd22553;tag=vl57cpy2rb72lu15i7awk22h0100003f1410 
To: <sip:[email protected]>;tag=5F72F2201902C33E22FE6C4063EC56AD 
CSeq: 1 SUBSCRIBE 
Call-ID: 3ad1662aa2d84bc5a7de15f5d2ecd0be 
Via: SIP/2.0/TLS  10.0.0.7:38020;branch=z9hG4bKDA21D3D8.2E84E1112774D915;branched=FALSE;ms-received- port=38020;ms-received-cid=400 
Via: SIP/2.0/TLS  smf1.testucfed.com:5061;branch=z9hG4bKfspbWpOjnrsr3kELP8S9;received=212.166.45.124;ms-received-port=51456;ms-received-cid=A3300 
Via: SIP/2.0/TCP 10.0.0.6:5060;branch=z9hG4bKfspbkK8M7FQrQmqN99a9 
ms-diagnostics: 4008;reason="Input data too large - One of the paramaters to the sproc  exceeds limit";source="ARIW002.lync2.com" 
Server: RTC/4.0 
Content-Length: 0 
Message-Body: – 

사람이 오류를 트리거 할 수 있는지 알고 있나요? 오류 메시지는 여기에 큰 도움이되지 않습니다 ...

+0

거부 ​​된 메시지의 From 헤더는 'From : 입니다 (허용 된 메시지의 헤더에있는 ** lyn1 ** instread ** lync1 **에 유의하십시오). 의도 된거야? 일부 SIP 서버는 적절한 도메인이 아닌 메시지를 거부합니다. – tozka

+0

이것은 실수입니다. 이 게시물에 대한 도메인 이름을 의도적으로 변경했습니다. – mdef

답변

0

마침내 문제를 발견 할 수있었습니다.

Lync Server는 "Call-ID"+ "From 태그"+ "To 태그"인 "대화 ID"를 저장합니다. "From tag"끝에 추가 데이터를 추가하면 "Dialog ID"의 크기가 제한 크기를 초과합니다.