GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"9090","1000","5000","default","2014-06-02 23:38:39","2014-06-02 23:38:39","2014-06-02 23:38:42","3","3","NORMAL_CLEARING","c8e1c005-3d32-460d-8188-21c5a841f33a","","1000","GSM","GSM" | |
"1000","1000","5000","default","2014-06-02 23:39:59","2014-06-02 23:39:59","2014-06-02 23:40:09","10","10","NORMAL_CLEARING","f9248341-bbec-49ed-af93-a574861cca3b","","1000","GSM","GSM" | |
"1000","1000","5000","default","2014-06-02 23:40:22","2014-06-02 23:40:22","2014-06-02 23:40:52","30","30","NORMAL_CLEARING","49f88527-0d1e-4511-a8b8-52aac64205e9","","1000","GSM","GSM" | |
"1000","1000","5000","default","2014-06-02 23:40:59","2014-06-02 23:40:59","2014-06-02 23:41:08","9","9","NORMAL_CLEARING","a78879f8-5ab8-4eb2-99ff-b1f562d0756a","","1000","GSM","GSM" | |
"1000","1000","5000","default","2014-06-02 23:41:33","2014-06-02 23:41:33","2014-06-02 23:41:37","4","4","NORMAL_CLEARING","671a7114-a81f-4515-9953-ae28248bedc6","","1000","GSM","GSM" | |
"1000","1000","5000","default","2014-06-02 23:43:13","2014-06-02 23:43:14","2014-06-02 23:43:17","4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<gateway name="Voxbeam"> | |
<param name="register" value="false"/> | |
<param name="username" value="iwada.bassey"/> | |
<param name="from-user" value="iwada.bassey"/> | |
<param name="password" value="MY_PASSWORD"/> | |
<!-- tried using sbc.voxbeam.com as Values here --> | |
<param name="proxy" value="108.59.2.133"/> | |
<param name="realm" value="108.59.2.133"/> | |
</gateway> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd = {"Tenant"=> "cgrates.org", | |
"Direction"=>"*out", | |
"Account"=> "1006", | |
"ActionPlanId"=> "PREPAID_10", | |
"AllowNegative" =>"true", | |
} |
At the End, you should have this:::
cgradmin is an administrative interface for CGRateS. At the end of this tutorial, you should have cgradmin running at http://localhost:8080. An Assumption is made that Debian would be used.
We would be needing the following Softwares installed:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming HTTPoison.get produces this on a Failed API call | |
[:ok, | |
%HTTPoison.Response{body: "{\"ACTION\":\"avail.datacenters\",\"DATA\":{},\"ERRORARRAY\":[{\"ERRORMESSAGE\":\"Authentication failed\",\"ERRORCODE\":4}]}", | |
headers: [{"Server", "nginx"}, {"Date", "Sat, 08 Apr 2017 18:13:06 GMT"}, | |
{"Content-Type", "application/json;charset=UTF-8"}, | |
{"Transfer-Encoding", "chunked"}, {"Connection", "keep-alive"}, | |
{"X-Powered-By", "Tiger Blood"}, {"Access-Control-Allow-Origin", "*"}, | |
{"Strict-Transport-Security", "max-age=31536000"}], status_code: 200}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MYAPP/.deliver/config | |
APP="<APP NAME>" | |
MAIN_HOST="<BUILD & PRODUCTION HOST>" | |
MAIN_USER="<MAIN USER FOR BUILD AND DEPLOY>" | |
BUILD_HOST="${MAIN_HOST}" | |
BUILD_USER="${MAIN_USER}" | |
BUILD_AT="/tmp/edeliver/${APP}/builds" |
OlderNewer