GithubHelp home page GithubHelp logo

papierkorb / sipgate.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sipgate/sipgate.io

0.0 2.0 0.0 184 KB

sipgate.io Documentation

License: Other

Clojure 8.84% Common Lisp 5.52% Go 3.96% Java 16.55% JavaScript 10.05% Perl 2.79% PHP 7.87% Prolog 5.41% Python 6.93% Ruby 1.35% Scala 6.66% C++ 24.08%

sipgate.io's Introduction

sipgate.io

This README documents the sipgate.io functionality. A demo page can be found here.

Requirements

Documentation

The POST request

Our API sends a simple POST request with an application/x-www-form-urlencoded payload. The payload contains the following parameters:

Parameter Description
from The calling number (e.g. "492111234567" or "anonymous")
to The called number (e.g. "4915791234567")

That's all!

You can simulate this POST request and test your server with a simple cURL command:

curl -X POST --data "from=492111234567&to=4915791234567" http://localhost:3000

Server Examples

We compiled a collection of server examples to get you started:

Troubleshooting

sipgate.io Log

You can enable logging within your account for debugging purposes. You will find each request and the corresponding response in the logging table.

How do I inspect network traffic?

You can use ngrep to inspect the incoming requests on your side:

sudo ngrep -dany -Wbyline port 3000

A word about security

HTTP vs. HTTPS

We strongly encourage you to use a HTTPS server. Although we support plain HTTP connections we do not recommend pushing sensitive call details over unencrypted connections. By default, the API does not accept self-signed certificates, but you can enable them in the dashboard.

Authentication

The API supports HTTP Basic Authentication. You can include your username and password within the URL (e.g. https://username:[email protected]:8080).

Help us make it better

Please tell us how we can make the API better. If you have a specific feature request or if you found a bug or would like to add an example, please use GitHub Issues or fork these docs and send a pull request with your improvements.

sipgate.io's People

Contributors

blackmac avatar fuglu avatar kr1schan avatar olivercsr avatar olivermg avatar papierkorb avatar siczy avatar theck avatar tpxtron avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.