org.echarts.servlet.sip.features.monitorControl
Interface MonitorControlMachineToJava


public interface MonitorControlMachineToJava

Interface defining callbacks from MonitorControlMachine at different points in a call.


Method Summary
 void connected()
          Called when the caller and callee are connected.
 void disconnected()
          Called when the call is disconnected, due to a BYE.
 void failed()
          Called when the call is disconnected, due to error response to INVITE or a CANCEL.
 void inviteSent()
          Called immediately after the the outgoing INVITE has been sent to callee.
 void publish(java.lang.String sasId)
          Called automatically when machine calls org.echarts.servlet.sip.EChartsMachineToJava#getInstance().
 void ringing()
          Called each time 18x message is received from callee (indicating that callee's endpoint is "ringing").
 

Method Detail

publish

void publish(java.lang.String sasId)
Called automatically when machine calls org.echarts.servlet.sip.EChartsMachineToJava#getInstance(). This method publishes the SIP application session ID of the machine calling getInstance().


inviteSent

void inviteSent()
                throws java.lang.Exception
Called immediately after the the outgoing INVITE has been sent to callee.

Throws:
java.lang.Exception

ringing

void ringing()
             throws java.lang.Exception
Called each time 18x message is received from callee (indicating that callee's endpoint is "ringing").

Throws:
java.lang.Exception

connected

void connected()
               throws java.lang.Exception
Called when the caller and callee are connected.

Throws:
java.lang.Exception

failed

void failed()
            throws java.lang.Exception
Called when the call is disconnected, due to error response to INVITE or a CANCEL.

Throws:
java.lang.Exception

disconnected

void disconnected()
                  throws java.lang.Exception
Called when the call is disconnected, due to a BYE.

Throws:
java.lang.Exception