Adds python-requests to requirements. Eurobate HTTP PUSH config options. Non-functioning delivery report endpoint.

This commit is contained in:
ponas committed 2014-08-10 16:12:43 +02:00
1 parent c71ec519c3
commit c1a4d51a43
3 files changed
+34

No files matched your search

+29
View File
@@ -4,3 +4,32 @@ DATABASE_HOST = 'localhost'
DATABASE_USER = 'inside'
DATABASE_PASS = ''
DATABASE_NAME = 'inside'
## Eurobate HTTP PUSH ##
########################
# Endpoint for bulk messages
EB_URL = 'http://dio.eurobate.com/push.php'
# Endpoint for billing messages
EB_PAYURL = 'http://dio.eurobate.com/push2.php'
# Our endpoint for delivery reports
EB_DLR = 'http://tekstmelding.neuf.no/dlr'
# Our Eurobate username
EB_USER = ''
# Our Eurobate password
EB_PASSWORD = ''
# This shows up as the sender of bulk text messages
EB_SENDER_DNS = 'DNS'
# This shows up as the sender of billing text messages
EB_SENDER_BILLING = '2090'
# Set to 1 to simulate message sending, 0 in production
EB_SIMULATE = 1
+1
View File
@@ -1,2 +1,3 @@
Flask==0.10.1
MySQL-python==1.2.5
requests==2.3.0
+4
View File
@@ -187,5 +187,9 @@ def callback():
return jsonify(result)
@app.route('/dlr')
def dlr():
return ''
if __name__ == '__main__':
app.run()