{% extends 'base.html' %} {% load buttons %} {% load static %} {% block header %}
{% if perms.phonebox_plugin.change_voicecircuit %} Edit {% endif %} {% if perms.phonebox_plugin.delete_voicecircuit %} Delete {% endif %}

{% block title %}{{ object }}{% endblock %}

{% endblock %} {% block content %}
Voice Circuit
Type {{ object.voice_circuit_type }}
Assignment {% if object.assigned_object %} {{ object.assigned_object.parent_object }} / {{ object.assigned_object }} {% else %} {% endif %}
Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
Site {% if object.site %} {{ object.site }} {% else %} None {% endif %}
Region {% if object.region %} {{ object.region }} {% else %} None {% endif %}
Provider {% if object.provider %} {{ object.provider }} {% else %} None {% endif %}
Provider Circuit ID {{ object.provider_ciruit_id }}
Description {{ object.description }}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='plugins:phonebox_plugin:list_view' %}
{% if object.voice_circuit_type == "sip_trunk" %}
SIP Trunk Details
Source {{ object.sip_source }}
Target {{ object.sip_target }}
{% endif %} {% if object.voice_circuit_type == "digital_voice_circuit" %}
Digital Voice Circuit Details
{% endif %} {% if object.voice_circuit_type == "analog_voice_circuit" %}
Analog Voice Circuit Details
{% endif %} {% endblock %}