NTT DOCOMO and Hitachi Kokusai Electric Know-how & Confidential

com.docomo_um.module.net
インタフェース VoiceExtensible

既知の実装クラスの一覧:
VoiceSession

public interface VoiceExtensible

音声サービスを表すインターフェースです。


メソッドの概要
 void redirect()
          着信時に音声着信のセッションを転送先電話番号に転送します。
 void reject()
          着信時に音声着信を拒否します。
 void sendAnswering()
          着信時に音声着信のセッションを留守番電話サービスに転送します。
 void sendDTMF(java.lang.String message)
          DTMFを送信します。
 

メソッドの詳細

sendDTMF

void sendDTMF(java.lang.String message)
              throws SessionException,
                     CommunicationFailureException
DTMFを送信します。

送信可能な文字は{0-9、#、*、A-D、a-d}です。

パラメータ:
message - 送信する文字列を指定します。
例外:
SessionException - 内部エラーにより処理が中断した場合に発生します。
CommunicationFailureException - 通信異常の場合に発生します。

redirect

void redirect()
              throws SessionException,
                     CommunicationFailureException
着信時に音声着信のセッションを転送先電話番号に転送します。

例外:
SessionException - 転送電話サービス未契約の場合や転送先不明の場合など、正常に処理できなかった場合に発生します。
CommunicationFailureException - 通信異常の場合に発生します。

sendAnswering

void sendAnswering()
                   throws SessionException,
                          CommunicationFailureException
着信時に音声着信のセッションを留守番電話サービスに転送します。

例外:
SessionException - 留守番電話サービス未契約の場合など、正常に処理できなかった場合に発生します。
CommunicationFailureException - 通信異常の場合に発生します。

reject

void reject()
            throws SessionException
着信時に音声着信を拒否します。

例外:
SessionException - 内部エラーにより処理が中断した場合に発生します。

Copyright © 2013 NTT DOCOMO, INC. and Hitachi Kokusai Electric Inc. All Rights Reserved.