MediaEdgeGSM

MediaEdgeGSM Transport

class vumi.transports.mediaedgegsm.mediaedgegsm.MediaEdgeGSMTransport(options, config=None)

Bases: vumi.transports.httprpc.httprpc.HttpRpcTransport

HTTP transport for MediaEdgeGSM in Ghana.

Parameters:
  • web_path (str) – The HTTP path to listen on.
  • web_port (int) – The HTTP port
  • transport_name (str) – The name this transport instance will use to create its queues
  • username (str) – MediaEdgeGSM account username.
  • password (str) – MediaEdgeGSM account password.
  • outbound_url (str) – The URL to hit for outbound messages that aren’t replies.
  • outbound_username (str) – The username for outbound non-reply messages.
  • outbound_password (str) – The username for outbound non-reply messages.
  • operator_mappings (dict) – A nested dictionary mapping MSISDN prefixes to operator names