Your new gateway has been registered and is ready to connect.
This is the only time you'll be able to see the full API key. You need to configure this key in your Android gateway app to connect it to the system.
Scan this QR code with your Android gateway app to auto-configure
QR code contains API key, API base URL, and WebSocket URL
Or manually enter these details if QR scanning is unavailable
<%= request.base_url %>
<%= request.base_url.sub(/^http/, 'ws') %>/cable
<%= @raw_key %>
<%= @gateway.device_id %>
The gateway will appear as "Online" once it successfully connects to the server.
Gateway device details and statistics
Connection Status
<%= @gateway.status.titleize %>
Active Status
<%= @gateway.active ? 'Active' : 'Inactive' %>
Priority Level
<%= @gateway.priority %>
Messages Sent Today
<%= @gateway.messages_sent_today %>
Messages Received Today
<%= @gateway.messages_received_today %>
Total Messages
<%= @gateway.total_messages_sent + @gateway.total_messages_received %>
<%= @gateway.device_id %>
<%= JSON.pretty_generate(@gateway.metadata) %>
Last <%= @recent_messages.size %> messages from this gateway
| Message ID | Phone Number | Direction | Status | Created |
|---|---|---|---|---|
<%= msg.message_id[0..15] %>...
|
<%= msg.phone_number %> | <% if msg.direction == "outbound" %> Outbound <% else %> Inbound <% end %> | <% case msg.status %> <% when "delivered" %> Delivered <% when "sent" %> Sent <% when "failed" %> Failed <% when "pending" %> Pending <% else %> <%= msg.status.titleize %> <% end %> | <%= msg.created_at.strftime("%m/%d/%y %H:%M") %> |
No messages yet
Messages will appear here once this gateway starts processing SMS.