Echoセルフテスト機能ガイド

はじめに

概要

一部の産業用アプリケーションでは、デバイスのスピーカーとマイクを自動的にチェックする必要がある場合があります。これはエコーセルフテスト機能によって行われます。原理は簡単です。デバイスはスピーカーから音声を再生し、マイクで録音して、スピーカーとマイクの両方が正しく動作しているかどうかを確認します。以下のセクションでは、産業用デバイスで音声セルフテストを実行する方法を説明します。

対応モデル

アクセス制御、インターホン、その他の業界固有の端末。

前提条件

① インターホンデバイス1台(このガイドではi12を例として使用)、PoEスイッチまたはDC電源、Yunyiサーバー1台。デバイスをスイッチに接続します。
② 設定用PCとサーバーを同じスイッチに接続し、PCとデバイス間のネットワーク通信が確認されていること。

デバイスとPCの接続図

i12をスイッチに接続し、サーバーを同じスイッチに接続し、PCもそのスイッチに接続して、PCとデバイスがネットワーク経由で通信できることを確認します。以下に示します。

デバイスとPCの接続図

エコーセルフテストの方法

エコーセルフテストは、いくつかの異なる方法で実装できます。各方法を以下に説明します。

アクティブURI方式

アクティブURIは、リモートコンソールからHTTP GETリクエストを送信することで機能します。デバイスには組み込みHTTPサーバーがあり、リクエストを解析してコマンドを実行し、デバイスのリモート制御を可能にします。

テスト形式は次のとおりです:
http://Device_IP/cgi-bin/ConfigManApp.com?key=ECHO_TEST

デバイスIP: テスト対象のデバイスのIPアドレス。この例では、IPアドレスは172.18.8.15です。
戻り結果: スピーカーとマイクの両方が接続されて正しく動作している場合、結果はsuccessになります。スピーカーまたはマイクが切断または損傷している場合、結果はFailureになります。

例: ブラウザのアドレスバーに次のアドレスを入力します。デバイスのスピーカーとマイクが正常に動作している場合、戻り結果はsuccessになります。図1に示します。

http://172.18.8.15/cgi-bin/ConfigManApp.com?key=ECHO_TEST

ブラウザでのエコーセルフテスト成功結果

HTTP API方式

HTTP APIは、サードパーティアプリケーションや管理システムとの統合のために設計されています。デバイスはHTTPサーバーとして機能し、URL http://ip/xmlserviceを介してAPIサービスを提供します。サードパーティアプリケーションはHTTPクライアントとして機能し、XMLコンテンツを含むHTTP POSTリクエストを送信します。

HTTP APIリクエスト形式は次のとおりです:

クライアント -> サーバーリクエスト:



URI="cmd:echo_test"

これは、要求されたコマンドがエコーセルフテストであることを示します。

サーバー -> クライアントレスポンス:



URI="cmd:echo_test"
0


戻り結果: スピーカーとマイクの両方が接続されて正常に動作している場合、結果はsuccessです。スピーカーまたはマイクが切断または損傷している場合、結果はFailureです。

: PostmanまたはApiPostを使用してテストできます。POSTリクエストをhttp://Device_IP/xmlserviceに送信し、正しいXMLリクエストボディを入力し、Sendをクリックします。リクエストが正しければ、デバイスはテスト結果を正常に返します。図2に示します。

エコーセルフテストのためにデバイスにPOSTリクエストを送信

タイムプラン方式

タイムプラン設定に音声セルフテスト項目を追加できます。デバイスは設定された時間または設定された時間帯に自動的にセルフテストを実行し、Action URLメカニズムを通じて結果を報告します。

デバイスのWebインターフェースにログインし、Intercom Settings --- Time Plan --- Time Plan Rulesに移動し、新しいタイムプランを作成します。図3に示します。

実行タイプ: Voice Self-Testを選択します。
実行時間: 必要な時間帯を選択します。デバイスはその設定された期間中にセルフテストを実行します。

音声セルフテストのタイムプラン設定

ルールが正常に追加されると、Time Planセクションに新しいタイムプランエントリが表示されます。予定された時間になると、デバイスは自動的にセルフテストを実行します。

SIPメッセージ方式

パブリックネットワーク環境では、SIPメッセージ方式は、サーバーがMessage Active URIコマンドをデバイスに送信することで機能します。デバイスはMessageリクエストに200 OKで応答します。次に、セルフテストの結果を含むMessageレスポンスをプラットフォームに送信し、プラットフォームは200 OKで応答します。

1. サーバーにデバイスアカウントを登録します。

2. サーバー上でセルフテストタスクを作成します。この例では、Yunyiサーバーを使用します。YunyiサーバーのWebインターフェースにログインし、Self-Test Task --- Addに移動して、新しいセルフテストタスクを作成します。

3. タスクを追加したら、タスクを選択して実行をクリックします。デバイスのスピーカーとマイクが接続されて正しく動作している場合、タスクは正常に完了します。スピーカーまたはマイクが切断または損傷している場合、実行は失敗し、サーバーインターフェースに異常なステータスが表示されます。サーバーのWebインターフェースでSelf-Test Resultに移動して、結果を直接表示することもできます。

サーバーでのセルフテスト結果の表示

デバイスでパケットをキャプチャして、セルフテストが成功したか失敗したかを確認することもできます。セルフテストを開始する前に、デバイスのwebインターフェースにログインし、System --- Tools --- Network Packet Captureに移動して、Startをクリックします。

デバイスでのネットワークパケットキャプチャ

セルフテストが完了したら、デバイスのWebインターフェースでStopをクリックします。キャプチャしたパケットファイルをWiresharkで開き、sipでフィルタリングします。MESSAGEパケットにSuccessフィールドが表示されている場合、セルフテストは成功です。結果がFailまたはFailureを示している場合、セルフテストは失敗です。

パケットキャプチャでのセルフテスト結果の表示

カタログ
顧客サービス 電話
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .