remove some docs

This commit is contained in:
Daniel Brahneborg 2019-08-13 16:56:50 +02:00
parent b4d27098ec
commit d77fb8331d

View file

@ -12,23 +12,6 @@ const router = express.Router()
// /before_dlr (gets dlrinfo) // /before_dlr (gets dlrinfo)
// /after_dlr // /after_dlr
// The req.body contains the following fields.
//
// ccarg - from PLUGIN=pluginname:ccarg of the current connector
// qe - message or delivery report, with field names in uppercase
// result - for after_send and after_dlr
// dlrinfo - custom options for incoming delivery reports
// route - as returned by the previously called plugin
// Output is a list of key=value entries, one per line.
// The key can be as follows.
//
// result - for before_receive, where non-zero means the message will be rejected
// route - the name of the outgoing connector, used for /route
// qe.OPTION_NAME - new value for a message option called "OPTION_NAME"
// dlrinfo.OPTION_NAME - for before_dlr, to return HLR lookup results:
// - OPTION_NAME can be mnc, mcc, msc, and imsi
router.post('/before_receive', (req, res) => { router.post('/before_receive', (req, res) => {
console.log('in before_receive') //, body:', req.body) console.log('in before_receive') //, body:', req.body)
const qe = req.body.qe const qe = req.body.qe