FrontPage

About Fake raiden

It created based on SIProp. It is the application used as the base of raiden.

Contents

  • If it accesses from the telephone corresponding to SIP to Web chat application, the message according to operation of telephone will be displayed on Web chat application as a chat message.

Details

  • The event from SIProp is changed into the form which can be used with Web chat application, and it enables it to communicate between 2 persons.
  • This application is implemented as application on fake raiden. It is divided into two portions.
    • Web chat application portion
      • It is the Web chat application using Ajax+Comet.
    • SIP application portion
      • It notifies to a fake raiden portion by making a SIP request into an event.
    • Login event
      • It is published by making INVITE request into a trigger.
      • User of a From header is used as Login-ID.
    • Chat message event
      • It is published by making DTMF event of INFO request into a trigger.
      • The DTMF signal of an INFO request is taken out and it is considered as the chat message.
        raiden_chat_en.png

Special mention

  • Extension of SIProp
    • The Router part was changed into ServiceMix from the original implement.
      Thereby, extension of each layer became easy. For example, a Logger layer (creation of LoggerManager?) is defined newly and it becomes possible only by forking on ServiceMix? to notify the message from a Stack layer to Logger.

Download

  • A set of application is here.
  • A set of source code is here

How to use fake raiden

Required environment

  • Environment where 5.0 or more Java operates
  • SIP Phone

Download

  • A set of application is here.
    • A set of source code is here

Starting of fake raiden

  1. Rewriting of a properties
    1. raiden.properties
      1. resourceBase is rewritten according to the unpacked place.
      2. localAddress is rewritten to the network of self-PC.
  2. start.bat is executed.

How to use chat application

  1. By a web browser, it accesses to http://{IP of self-PC}:8913/chat/chat.html.
    raiden_chat_start.png
    1. A user name is put into the "Username" column and "Join" is clicked.
      raiden_chat_login.png
    2. If login is successful, the "has joined the chat" message will be displayed on a left-hand side message window, and he will be added to a right-hand side user list.
      raiden_chat_logined.png
    3. Please write in a message. As follows, a message should be displayed on a message window.
      raiden_chat_send_message.png

Usage in telephone

  1. SIP client's SIPProxy is changed into {IP of self-PC}:5060.
  2. It telephones. If it does so, it logs in by the addresser number of telephone to a chat.
    raiden_chat_sip_logined.png
  3. The dial key is pressed and DTMF is published. If it does so, the number of DTMF will be displayed on a chat page.
    raiden_chat_sip_send_dtmf.png