Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
README modified
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-br committed Mar 16, 2015
1 parent 7da341e commit aaf9141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ npm install smpp winston strftime optimist
```

##Usage
1. Listen 2775 port and always answer Ok status (DELIVRD) and authorize user (service_id) with pass password.
1. Listen 2775 port and always answer Ok status (DELIVRD) and authorize user (service_id) with pass password
```bash
[sudo] node smpp.js
```
2. Listen 9999 port with delay between 5 and 10 seconds for message delivered (deliver_sm) request to ESME and return iterated one by one statuses (delivered, then status expired, then delivered again and so on). u1 (service_id) with password pass1 and u2 with password pass2 will be authorized on SMPP server.
Available status values: delivered, expired, deleted, undelivered, rejected, billing_error, blacklisted, unknown.
You can find available status values list in statuses.js.
```bash
[sudo] node smpp.js --port=2775 --ddmin=5000 --ddmax=10000 --auth=user:pass,u1:pass1,u2:pass2 --statuses=delivered,expired,spam_rejected
```

0 comments on commit aaf9141

Please sign in to comment.