Skip to content

modularni-urad/open-sms-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-sms-gateway

API server for SMS sending via android phones. Client application is open-sms-gateway-android.

API:

  • POST: data predavana pres query params: num, mess (viz. sendreq.js)

server pro pripojeni android appek (AA)

websocket (WS) komunikace pomoci zprav: JSON: {typ: 'sendsms', num: tel cislo, message: zprava k odeslani}, reakce zprava od AA (viz. client.js) s obsahem "ok" kdyz SMS odeslana, jinak duvod failu v JSON.

NGINX conf

See details

location / {
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
  proxy_http_version 1.1;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header Host $host;
  proxy_pass http://socket_nodes;
}

About

API server for SMS sending via android phones

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published