MSPL 스크립트를 작성하여 모든 호출을 내 UCMA 응용 프로그램으로 리디렉션합니다. 간단하게 들리지만 작동시키지 못합니다. 나는 시도하고 스크립트 MSPL와 전화가 호출을 UCMA 응용 프로그램으로 리디렉션하는 MSPL 스크립트를 만드는 방법
내가 성공적으로 새로운-CsServerApplication 명령을 사용하여 MSPL 스크립트를 설치 한
를 설치 할 때 는 그리고 그것은 또한 내 스카이프 4 비즈니스 클라이언트를 충돌하고, 스크립트를 컴파일하고 오류없이 설치 . MSPL 스크립트의 문제는 도전적입니다.http://blog.greenl.ee/2011/09/04/rerouting-requests-ucma-application-mspl/ 페이지를 보았지만 여전히 작동하지 않습니다.
전화를 걸면 Skype 4 Business 클라이언트가 충돌합니다.
내가
<?xml version="1.0" encoding="utf-8"?>
<r:applicationManifest appUri="http://www.example.com/recording" xmlns:r="http://schemas.microsoft.com/lcs/2006/05">
<r:requestFilter methodNames="INVITE" strictRoute="true" registrarGenerated="true" domainSupported="true" />
<r:proxyByDefault action="true" />
<r:scriptOnly />
<r:splScript><![CDATA[
if (sipRequest && IndexOfString(sipRequest.Content, "m=audio") >= 0) {
// Check to see if the call has been already forwarded
if (ContainsString(sipRequest.From, "sip: [email protected]", true)) {
// Allow the call to continue to its original destination.
Log("Event", 1, "Allowed call to continue to its original destination");
ProxyRequest();
} else {
// Forward the call to the UCMA app.
Log("Event", 1, "Forwarded caller to UCMA app: ", sipRequest.From);
Respond("302", "Moved Temporarily", "Contact=<sip:[email protected]>");
}
}
]]></r:splScript>
</r:applicationManifest>
아래에있는 내 스크립트 사람이 루트는 UCMA 응용 프로그램을 호출하는 나에게 작업 MSPL 스크립트 예제를 보여 주시겠습니까 붙여 넣은?
은 내가보기 엔 전화가 장시간 알 수 없습니다 이상한 & 미묘한 방법으로 흐르고 당신이 가장 가능성이 많이 파괴되므로이 작업을 수행하지 않는 것이 좋습니다 것입니다 당신에게 모든