北京赛车黑马人工计划

ChunkPlayer

Contents

General information

  • the ChunkPlayer is the sample code for embedding active call's player
  • the code's directory is in WEBROOT/api/chunkplayer (example: /var/www/html/api/chunkplayer)
  • the code in this directory can be adjusted and embedded into another code

Configuration

  • set appropriate variables in the configuration.php file:
<?php

define('VPMANAGERHOST', '127.0.0.1');
define('VPMANAGERPORT', 5029);

define("MYSQL_HOST", "127.0.0.1");
define("MYSQL_DB", "voipmonitor");
define("MYSQL_USER", "root");
define("MYSQL_PASS", "");

?>
  • the VPMANAGERHOST and VPMANAGERPORT are used if the sensor id is not used in the play request

Example of use

  • required access thot sensor's manage port
  • enter html page
  • enter callref and sensor id
  • the player will play the active call

how to get callref parameter

  • from the sensor via manager port
e.g.
echo 'listcalls' | nc SENSOR_IP SENSOR_MANAGE_PORT

北京赛车黑马人工计划see the parameter 'callreference' in the output. (it's hexadecimal number.)

秒速赛车6码计划 三分彩计划软件下载 分分11选5精准计划群 幸运快3追号计划 超级时时彩缩水计划