Skip to content

Instantly share code, notes, and snippets.

@vkurup
Created October 3, 2013 17:33
Show Gist options
  • Save vkurup/6813749 to your computer and use it in GitHub Desktop.
Save vkurup/6813749 to your computer and use it in GitHub Desktop.
vumi setup
smpp_transport:
transport_name: "transport"
system_id: smppclient1 # username
password: password # password
host: localhost # the host to connect to
port: 2775 # the port to connect to
rapidsms_relay_fake:
transport_name: 'transport'
rapidsms_url: {{ pillar['vumi']['rapidsms_url'] }}
web_path: {{ pillar['vumi']['web_path'] }}
web_port: {{ pillar['vumi']['web_port'] }}
send_to:
default:
transport_name: 'transport'
from_addr: '1234' # not set automatically by SMSC
http_transport:
transport_name: "httptransport"
web_path: "/api/"
web_port: 8889
health_path: "/health-status/"
reply_expected: True
middleware:
- logging_mw: vumi.middleware.logging.LoggingMiddleware
rapidsms_relay_http:
transport_name: 'httptransport'
rapidsms_url: {{ pillar['vumi_http']['rapidsms_url'] }}
web_path: {{ pillar['vumi_http']['web_path'] }}
web_port: {{ pillar['vumi_http']['web_port'] }}
send_to:
default:
transport_name: 'httptransport'
from_addr: '1234' # not set automatically by SMSC
middleware:
- logging_mw: vumi.middleware.logging.LoggingMiddleware
workers:
smpp_transport: vumi.transports.smpp.SmppTransport
http_transport: vumi.transports.api.api.HttpApiTransport
rapidsms_relay_fake: vumi.application.rapidsms_relay.RapidSMSRelay
rapidsms_relay_http: vumi.application.rapidsms_relay.RapidSMSRelay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment