Web Development

Ready to use tools for web development

Setting up Easy Host to POST cli data to a URL you want

 
Easy Host is a low weight .NET (Windows) host application based on CEHIDLibrary.dll
 
It's designed as a host application for windows applications but also can be setted up as a caller id repeater (sender) for your on-line (web) application
 
When you apply the settings described below, Easy Host will send all the caller ID information it receives to a URL of you want:
 
 
 
1. Download EasyHost and install it with this link :
 
 
2. Run EasyHost manualy for a first time after installation
 
3. Open/Run "Regedit" and find following the key in list:
 
HKEY_CURRENT_USER\SOFTWARE\Kybele Software\CID Easy\Easy Host X.X
 
4. Find the value "Web Connection URL/Post Suffix" in list and update it with your own url
 
http://www.xyz.com/callerid.php?caller=<CallerNumber>&devserial=<DeviceSerial>&port=<InputPort>&date=<Year><Month><Day>&time=<Hour><Minute>
 
Where the www.xyz.com is your own url and callerid.php is the your own receiver script stored in your site.
* Please do not change names in "<>"
** Please remove leading "--" from Registration Key from RegEdit to active POST operation
 
5. Restart your PC or manualyı restart (stop from task manager and restart) Easy Host for activate new settings
 
 
Note : Your receiver script (callerid.php in example link) must answer the request with json (Content-Type: text/json;) like this :
 
{"RESULT":"SUCCESS"}
 
For example :
 
<?php
   header('Content-Type: application/json; charset=utf-8');
   $theCaller    = $_GET["caller"]; 
   $theCallee    = $_GET["callee"]; 
   $theSerial    = $_GET["devserial"];    
   $theport      = $_GET["port"]; 
   $theDate      = $_GET["date"]; 
   $theTime      = $_GET["time"]; 
 
   /**
      Your Code Goes Here
   **/
 
   echo "{\"RESULT\":\"SUCCESS\"}";
?>
 
RAGIP TUZUN CAD. 136 / 123 YENIMAHALLE ANKARA / TR
+90 216 599 0515 (Istanbul) / +90 312 327 1210 (Ankara)
info@cideasy.com
Twitter instagram
© CidEasy / All rights reserved.