Login Form






Lost Password?
No account yet? Register
Home arrow Forums
ECharts
Welcome, Guest
How to execute the application's ECharts machine (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: How to execute the application's ECharts machine
#350
Vital (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
How to execute the application's ECharts machine 1 Year ago  
Hi,
There is a de_script_ion as below in section 8.1 of "ECharts for SIP Servlets User Mananual Version 2.5 Beta":
"the execution of the application's ECharts machine".
But how to execute the application's ECharts machine? Could you take the example of "timeBomb" as an example to explain? Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#351
Gregory W. Bond (User)
Expert Boarder
Posts: 81
graph
User Offline Click here to see the profile of this user
Re:How to execute the application's ECharts machin 1 Year ago  
if you ran the test (mentioned in the paragraph prior to the one you quote) then you've executed the echarts machine
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#352
Vital (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Re:How to execute the application's ECharts machin 1 Year ago  
Thank you very much.
But what is its outcome? How to check its outcome? and How to apply a machine into a SIP application? Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#353
Eric Cheung (Admin)
Admin
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Re:How to execute the application's ECharts machin 1 Year ago  
E4SS automatically dispatches incoming SIP messages to the application's ECharts machine to trigger transitions. See section 5.2 for details. Basically the SIP Servlet container invokes the EChartsSipServlet class, which in turn dispatches the message to the machine's BoxPort or SipPort.

So using timeBomb as an example, when an initial INVITE is received by the container and the container invokes the timeBomb app, TimeBombFSM will be triggered (in this case acts as a B2BUA and sends an INVITE out). When TimeBombFSM reaches TICKING state, the timer starts, and when timer runs out, the FSM transitions to END state and E4SS sends BYE on both sides.

You can see the outcome by observing the SIP messages coming in and going out. You can look at the SIP messages and state transitions in the application's log. (see 8.1)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#354
Gregory W. Bond (User)
Expert Boarder
Posts: 81
graph
User Offline Click here to see the profile of this user
Re:How to execute the application's ECharts machin 1 Year ago  
i would recommend you read the introductory sections of the E4SS user manual for an overview of the programming model - you will find the answers to your questions there

for a list of other introductory material see: http://echarts.org/ECharts-for-SIP-Servlets/Getting-Started-with-ECharts-for-SIP-Servlets.html
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Copyright © 2006-2009 echarts.org