{"_id":"@codehivetx/freepbx-pushover-smsbridge","name":"@codehivetx/freepbx-pushover-smsbridge","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@codehivetx/freepbx-pushover-smsbridge","version":"1.0.0","description":"Bridge between freepbx’s SMS and pushover","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Steven R. Loomis","email":"srl295@gmail.com"},"license":"Apache-2.0","dependencies":{"pushover-notifications":"^1.2.2"},"repository":{"type":"git","url":"git+https://github.com/srl295/freepbx-pushover-smsbridge.git"},"publishConfig":{"access":"public"},"gitHead":"90fb331d59a96a5a987e9ac232aa9e89ce4b704d","bugs":{"url":"https://github.com/srl295/freepbx-pushover-smsbridge/issues"},"homepage":"https://github.com/srl295/freepbx-pushover-smsbridge#readme","_id":"@codehivetx/freepbx-pushover-smsbridge@1.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ggBSQHtBJyS/xlT1kTM4NTBo2ESc9eXecvKoiqkDnKKjS+AcqlOoffAbCOjk0rWnYVCNOL0mf/SkbGq5MslulA==","shasum":"85da5fa1a927ef06bd74b07f71a086d6e12f9831","tarball":"https://registry.npmjs.org/@codehivetx/freepbx-pushover-smsbridge/-/freepbx-pushover-smsbridge-1.0.0.tgz","fileCount":4,"unpackedSize":16413,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOqOLgn7erirS+PM93x0PLouDhi7EfLfgQPFhomN53YAiEAxVXIk/ptchmHXCikhqrr5nu265PgcA05yitJkrMe1So="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGRH+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Iw/+JzdySFkevDG+DMMiQ18s90tGFoDlbqRypSgQjeM2TfqUQWcm\r\nwyMgi+v66OWuVuBcOCi/nsqRjId/5LUZ9OrrJcgwJ0AwNYswgoaVNf1CWlOJ\r\nVEnFWjLPeY417BI+wsx/qiHH13+jtcBlbHrgBhARLkmSG8wxvMhine2C/1W2\r\nz0AEP8vl7SrcxbDMZ/1h0bGKLtDMeUnxJMK9E0NIKTCx+x7OYzo9r0aWzVUM\r\noK4xA9Gfnll9GLCjNTuLf5Q9S/O5YaImpvJ7ua2YifLDT6kKVqZ79H1YxZSV\r\nfdDC806izjGaLrrTm6MUuI8dNEcSYd3fnTNew6P/hlaQae31e05Yvk7X4dgM\r\nrUG8wdg+CIPcBGgKnXRePtfU/k9WhTE02QUokJ7NLp9gx6buNPCJkZEZCqta\r\nmoflPfJVRf9Qt8GI8YVXLHqdwC/qngcH7mLjCajD9swoDZHXPub4q0fKU/6f\r\nqMsnekI4uuD3fUJcJMXKQMo3cqB20V9GnZy37opQnsj5svsuxI3XHNybYLi7\r\ncKJia9aAT2Ie//9LWSrO7kY+jwOK3ChAUjNeL7NRBB2hmrc6OibIt+/5gwk7\r\npW5ExFN7m9Ir4jAgn3yrJEr8ep9CIk2sM27usnePw4qI2murSk/dAE3Z3DO2\r\nWGEq5jnf1CJViM+BKdSOOOho22JJ1vStj/w=\r\n=LQmp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"srl295","email":"srl295@gmail.com"},"directories":{},"maintainers":[{"name":"srl295","email":"srl295@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/freepbx-pushover-smsbridge_1.0.0_1662587390477_0.10428077742049435"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-07T21:49:50.408Z","1.0.0":"2022-09-07T21:49:50.659Z","modified":"2022-09-07T21:49:50.829Z"},"maintainers":[{"name":"srl295","email":"srl295@gmail.com"}],"description":"Bridge between freepbx’s SMS and pushover","homepage":"https://github.com/srl295/freepbx-pushover-smsbridge#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/srl295/freepbx-pushover-smsbridge.git"},"author":{"name":"Steven R. Loomis","email":"srl295@gmail.com"},"bugs":{"url":"https://github.com/srl295/freepbx-pushover-smsbridge/issues"},"license":"Apache-2.0","readme":"# freepbx-pushover-smsbridge\n\nA bridge between [FreePBX SMS](https://freepbx.org) and Pushover\n\n## Setup\n\n1. Create a Pushover account\n2. Set up the [SMS Webhook](https://wiki.freepbx.org/display/FPG/SMS+Webhook) to be something such as <http://yourhost.example.com:21439> ( see 'port' setting below.) I recommend running this as localhost only. Set the webhook to 'receive'.\n3. Create the file `config.json`. (\"//\" entries are comments.)\n\n```json\n{\n    \"port\": 21439,\n    \"routing\": {\n        \"default\": {\n            \"user\": \"<pushover user key or group key for default routing>\"\n        },\n        \"12125551212\": {\n            \"user\": \"<pushover user key or group key>\"\n        },\n        \"18185551212\": {\n            \"user\": \"<pushover user key or group key>\"\n        }\n    },\n    \"PUSHOVER_USER\": \"<pushover user to be used as a last resort>\",\n    \"PUSHOVER_TOKEN\": \"…\"\n}\n```\n\nIf `PUSHOVER_TOKEN` is not set, they will be pulled from the environment. See [pushover-notifications](https://www.npmjs.com/package/pushover-notifications)\n\n## Routing\n\nUpdate the 'routing' part of config.json to custom route messages.\n\n## Sample input from Sipstation\n\n```json\n{ \"to\": \"18185551212\",\n  \"from\": \"12125551212\",\n  \"adaptor\": \"Sipstation\",\n  \"time\": \"Wed, 31 Dec 1969 18:00:00 -0600\",\n  \"message\": \"Hello, world!\",\n  \"eventDirection\": \"in\" }\n```\n\n## License\n\n[Apache-2.0](./LICENSE)\n\nNote: We can’t be responsible for any results from use or misuse of this alpha level software.\nPlease check everything carefully and review the code.\n\n## Author\n\n[Steven R. Loomis @srl295](https://github.com/srl295) of [@codehivetx](https://github.com/codehivetx)\n","readmeFilename":"README.md"}