====== How to use JS API Sample Page ====== System provides a sample page in which you can test JS API, we suggest you read first [[how_to_use_http_push_sample_page_to_receive_system_events]] if you didn't. * Login as agent and check-in {{:en:custom_development_guide:portal_check_in.jpg?650|}} * check [Menu] -> [JS interface testing], open the sample page {{:en:custom_development_guide:portal_cji.jpg?650|}} * put the ip of astercc server, click [Use the IP] {{:en:custom_development_guide:cji_config.jpg?650|}} * click [start] under get call event, and make a call from agent, you will see events output {{:en:custom_development_guide:cji_events.jpg?650|}} * put agent no. and agent password, you will see feedback message from the server {{:en:custom_development_guide:cji_action.jpg?650|}}