Make echo application the default dialplan
[ipypbx] / ui / layout.ui
index 568f590..eb6a8c7 100644 (file)
@@ -30,7 +30,7 @@
      </size>
     </property>
     <property name="currentIndex">
-     <number>0</number>
+     <number>5</number>
     </property>
     <widget class="QWidget" name="connectionsTab">
      <attribute name="title">
          <item row="1" column="0">
           <widget class="QLabel" name="label_12">
            <property name="text">
-            <string>Local IP address</string>
+            <string>Local IP Address</string>
            </property>
           </widget>
          </item>
           </widget>
          </item>
          <item row="1" column="1">
-          <widget class="QLineEdit" name="sipProfileExtRtpIp"/>
+          <widget class="QLineEdit" name="sipProfileExternalRtpIp"/>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="label_4">
           </widget>
          </item>
          <item row="2" column="1">
-          <widget class="QLineEdit" name="sipProfileExtSipIp"/>
+          <widget class="QLineEdit" name="sipProfileExternalSipIp"/>
          </item>
          <item row="3" column="0">
           <widget class="QLabel" name="label_8">
         </widget>
        </item>
        <item row="0" column="0">
-        <widget class="QListView" name="sipProfileList"/>
+        <widget class="QTableView" name="sipProfileViewList"/>
        </item>
       </layout>
      </widget>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_3">
-       <item row="0" column="0">
-        <widget class="QListView" name="domainList"/>
-       </item>
        <item row="1" column="0">
         <widget class="QPushButton" name="domainAdd">
          <property name="text">
           </widget>
          </item>
          <item row="1" column="1">
-          <widget class="QComboBox" name="domainSipProfile"/>
+          <widget class="QComboBox" name="domainSipProfileId"/>
          </item>
          <item row="2" column="0">
           <widget class="QCheckBox" name="domainIsActive">
          </item>
         </layout>
        </item>
+       <item row="0" column="0">
+        <widget class="QTableView" name="domainViewList"/>
+       </item>
       </layout>
      </widget>
     </widget>
         <x>10</x>
         <y>10</y>
         <width>781</width>
-        <height>351</height>
+        <height>354</height>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_8">
-       <item row="0" column="0">
-        <widget class="QListView" name="gatewayList"/>
-       </item>
        <item row="1" column="0">
         <widget class="QPushButton" name="gatewayAdd">
          <property name="text">
            </property>
           </widget>
          </item>
-         <item row="6" column="0">
+         <item row="7" column="0">
           <widget class="QLabel" name="label_23">
            <property name="text">
             <string>Expire In Seconds</string>
            </property>
           </widget>
          </item>
-         <item row="7" column="0">
+         <item row="8" column="0">
           <widget class="QLabel" name="label_24">
            <property name="text">
             <string>Retry In Seconds</string>
            </property>
           </widget>
          </item>
-         <item row="9" column="0">
+         <item row="10" column="0">
           <widget class="QLabel" name="label_25">
            <property name="text">
             <string/>
            </property>
           </widget>
          </item>
-         <item row="8" column="0">
+         <item row="9" column="0">
           <widget class="QCheckBox" name="gatewayIsActive">
            <property name="text">
             <string>Is Active</string>
            </property>
           </widget>
          </item>
-         <item row="8" column="1">
+         <item row="9" column="1">
           <widget class="QCheckBox" name="gatewayCallerIdInFromField">
            <property name="text">
             <string>Caller ID In &quot;From&quot; Field</string>
           </widget>
          </item>
          <item row="1" column="1">
-          <widget class="QComboBox" name="comboBox"/>
+          <widget class="QComboBox" name="gatewaySipProfileId"/>
          </item>
          <item row="2" column="1">
           <widget class="QLineEdit" name="gatewayUsername"/>
           <widget class="QLineEdit" name="gatewayFromDomain"/>
          </item>
          <item row="6" column="1">
-          <widget class="QLineEdit" name="gatewayExpireInSeconds"/>
+          <widget class="QLineEdit" name="gatewayExtension"/>
+         </item>
+         <item row="6" column="0">
+          <widget class="QLabel" name="label_31">
+           <property name="text">
+            <string>Extension</string>
+           </property>
+          </widget>
+         </item>
+         <item row="8" column="1">
+          <widget class="QLineEdit" name="gatewayRetryInSeconds">
+           <property name="text">
+            <string>3600</string>
+           </property>
+          </widget>
          </item>
          <item row="7" column="1">
-          <widget class="QLineEdit" name="gatewayRetryInSeconds"/>
+          <widget class="QLineEdit" name="gatewayExpireInSeconds">
+           <property name="text">
+            <string>3600</string>
+           </property>
+          </widget>
          </item>
         </layout>
        </item>
+       <item row="0" column="0">
+        <widget class="QTableView" name="gatewayViewList"/>
+       </item>
       </layout>
      </widget>
     </widget>
        </item>
        <item row="0" column="1">
         <layout class="QFormLayout" name="formLayout_2">
+         <property name="fieldGrowthPolicy">
+          <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+         </property>
          <item row="0" column="0">
           <widget class="QLabel" name="label_2">
            <property name="text">
           </widget>
          </item>
          <item row="0" column="1">
-          <widget class="QLineEdit" name="endpointUseId"/>
+          <widget class="QLineEdit" name="endpointUserId"/>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="label_26">
            </property>
           </widget>
          </item>
-         <item row="2" column="0">
-          <widget class="QLabel" name="label_27">
-           <property name="text">
-            <string>Domain</string>
-           </property>
-          </widget>
-         </item>
          <item row="1" column="1">
           <widget class="QLineEdit" name="endpointPassword">
            <property name="echoMode">
            </property>
           </widget>
          </item>
+         <item row="2" column="0">
+          <widget class="QLabel" name="label_27">
+           <property name="text">
+            <string>Domain</string>
+           </property>
+          </widget>
+         </item>
          <item row="2" column="1">
-          <widget class="QComboBox" name="endpontDomain"/>
+          <widget class="QComboBox" name="endpointDomainId"/>
          </item>
          <item row="3" column="0">
           <widget class="QCheckBox" name="endpointIsActive">
         </layout>
        </item>
        <item row="0" column="0">
-        <widget class="QListWidget" name="endpointList"/>
+        <widget class="QTableView" name="endpointViewList"/>
        </item>
       </layout>
      </widget>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_4">
-       <item row="0" column="0">
-        <widget class="QListView" name="extensionList"/>
-       </item>
        <item row="1" column="0">
         <widget class="QPushButton" name="extensionAdd">
          <property name="text">
            </property>
           </widget>
          </item>
-         <item row="1" column="1">
-          <widget class="QLineEdit" name="extensionDialplan"/>
-         </item>
          <item row="0" column="0">
           <widget class="QLabel" name="label_28">
            <property name="text">
           <widget class="QLineEdit" name="extensionDestinationMatch"/>
          </item>
          <item row="2" column="1">
-          <widget class="QComboBox" name="extensionDomain"/>
+          <widget class="QComboBox" name="extensionDomainId"/>
          </item>
          <item row="3" column="1">
-          <widget class="QComboBox" name="extensionEndpoint"/>
+          <widget class="QComboBox" name="extensionEndpointId"/>
+         </item>
+         <item row="1" column="1">
+          <widget class="QPlainTextEdit" name="extensionXmlDialplan">
+           <property name="whatsThis">
+            <string/>
+           </property>
+           <property name="plainText">
+            <string notr="true"> &lt;action application=&quot;echo&quot; data=&quot;&quot;/&gt;
+</string>
+           </property>
+          </widget>
          </item>
         </layout>
        </item>
+       <item row="0" column="0">
+        <widget class="QTableView" name="extensionViewList"/>
+       </item>
       </layout>
      </widget>
     </widget>
   <tabstop>connectionFreeswitchPort</tabstop>
   <tabstop>connectionAdd</tabstop>
   <tabstop>connectionSave</tabstop>
-  <tabstop>sipProfileList</tabstop>
+  <tabstop>sipProfileViewList</tabstop>
   <tabstop>sipProfileName</tabstop>
-  <tabstop>sipProfileExtRtpIp</tabstop>
-  <tabstop>sipProfileExtSipIp</tabstop>
+  <tabstop>sipProfileExternalRtpIp</tabstop>
+  <tabstop>sipProfileExternalSipIp</tabstop>
   <tabstop>sipProfileRtpIp</tabstop>
   <tabstop>sipProfileSipIp</tabstop>
   <tabstop>sipProfileSipPort</tabstop>
   <tabstop>sipProfileAcceptBlindRegistration</tabstop>
   <tabstop>sipProfileAuthenticateCalls</tabstop>
-  <tabstop>sipProfileIsActive</tabstop>
   <tabstop>sipProfileAdd</tabstop>
   <tabstop>sipProfileSave</tabstop>
-  <tabstop>domainList</tabstop>
+  <tabstop>domainViewList</tabstop>
   <tabstop>domainHostName</tabstop>
-  <tabstop>domainSipProfile</tabstop>
+  <tabstop>domainSipProfileId</tabstop>
   <tabstop>domainIsActive</tabstop>
   <tabstop>domainAdd</tabstop>
   <tabstop>domainSave</tabstop>
-  <tabstop>gatewayList</tabstop>
+  <tabstop>gatewayViewList</tabstop>
   <tabstop>gatewayName</tabstop>
-  <tabstop>comboBox</tabstop>
+  <tabstop>gatewaySipProfileId</tabstop>
   <tabstop>gatewayUsername</tabstop>
   <tabstop>gatewayPassword</tabstop>
   <tabstop>gatewayRealm</tabstop>
   <tabstop>gatewayIsActive</tabstop>
   <tabstop>gatewayAdd</tabstop>
   <tabstop>gatewaySave</tabstop>
-  <tabstop>endpointList</tabstop>
-  <tabstop>endpointUseId</tabstop>
+  <tabstop>endpointViewList</tabstop>
+  <tabstop>endpointUserId</tabstop>
   <tabstop>endpointPassword</tabstop>
-  <tabstop>endpontDomain</tabstop>
+  <tabstop>endpointDomainId</tabstop>
   <tabstop>endpointIsActive</tabstop>
   <tabstop>endpointAdd</tabstop>
   <tabstop>endpointSave</tabstop>
-  <tabstop>extensionList</tabstop>
+  <tabstop>extensionViewList</tabstop>
   <tabstop>extensionDestinationMatch</tabstop>
-  <tabstop>extensionDialplan</tabstop>
-  <tabstop>extensionDomain</tabstop>
-  <tabstop>extensionEndpoint</tabstop>
+  <tabstop>extensionDomainId</tabstop>
+  <tabstop>extensionEndpointId</tabstop>
   <tabstop>extensionAuthenticateCalls</tabstop>
   <tabstop>extensionIsActive</tabstop>
   <tabstop>extensionAdd</tabstop>