Skip to content

Instantly share code, notes, and snippets.

"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"
@iwada
iwada / Voxbeam
Created June 21, 2014 23:25
Voxbeam
<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>
cd = {"Tenant"=> "cgrates.org",
"Direction"=>"*out",
"Account"=> "1006",
"ActionPlanId"=> "PREPAID_10",
"AllowNegative" =>"true",
}
@iwada
iwada / README.rst
Created April 15, 2016 22:26 — forked from dupuy/README.rst
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

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.

@iwada
iwada / cgradmin_install_guide.md
Last active April 21, 2016 10:25
Installing cgradmin - CGRateS Admin Web Interface

Installing cgradmin - CGRateS Admin Web Interface

At the End, you should have this:::

Image of Running cgradmin

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:

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}]
@iwada
iwada / .deliver_config
Created May 2, 2019 00:23 — forked from andreapavoni/.deliver_config
Edeliver configuration to deploy a Phoenix app compiling and digesting assets locally
# 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"