{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{{ title }}

Simulate an incoming SMS to {{ agent.name }}

This will create a new inbound message that the agent can process. After submitting, you can trigger event processing to see the agent's response.

{% csrf_token %}

The SMS number of the person sending the message to the agent. Use E.164 format, which includes country code!! (+12401234567).

The content of the SMS message (optional if you add attachments).

Optional attachments to simulate MMS media.

Current Agent Configuration

Agent Name: {{ agent.name }}
User: {{ agent.user.email }} ({{ agent.user.id }})
Charter: {{ agent.charter|truncatewords:20 }}
Is Active: {{ agent.is_active|yesno:"Yes,No" }}
SMS Endpoints: {% for endpoint in agent.comms_endpoints.all %} {% if endpoint.channel == "sms" %} {{ endpoint.address }}{% if endpoint.is_primary %} (primary){% endif %}
{% endif %} {% empty %} No SMS endpoints configured {% endfor %}
{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %}