<commit_before><?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml">
  <var name="test" expr="''"/>
  
  <var name="remoteID" expr="''"/>
  <var name="redirectID" expr="''"/>
  <var name="externalRemoteID" expr="''"/>
  <var name="localID" expr="''"/>
  <var name="direction" expr="'inbound'"/>
  <var name="timeout" expr="'60s'" />
  <var name="ctdConn" expr="''" />
  <var name="inConn" expr="''" />
  <var name="outConn" expr="''" />
  <var name="dialogID" expr="''"/>
  <var name="holdDialogID" expr="''"/>
  <var name="preconDialogID" expr="''"/>
  <var name="connectedDialogID" expr="''"/>
  <var name="dialURL" expr="''" />
  <var name="results" expr="''" />
  <var name="vxmlScript" expr="'rest/comsys/vxml/new'" />
  <var name="holdVxmlScript" expr="'/dialoghandler/transfer.vxml'" />
  <var name="preconVxmlScript" expr="'rest/comsys/vxml/preconnect'" />
  <var name="connectedVxmlScript" expr="'rest/comsys/vxml/connected'" />
  <var name="currentState" expr="'initial'" />
  <var name="callId" expr="session.values.callId" />
  
  <eventprocessor statevariable="currentState" >
    <transition state="initial" event="connection.alerting">
      <log expr="'*** The calledID is ' + event$.connection.local"/>
      <log expr="'*** The calleeID is ' + event$.connection.remote"/>
      <script>
          var remote = event$.connection.remote;

          localID = event$.connection.local;
          remoteID = remote;
          externalRemoteID = remoteID;
        </script>
        <!-- When outbound ctd:ctdConn and requester is being called with: inConn -->
        <if cond="direction == 'outbound'">
            <assign name="ctdConn" expr="event$.connectionid"/>
            <accept connectionid="ctdConn"/>
            <createcall dest="dialURL" connectionid="inConn" timeout="timeout" />
        <else />
            <assign name="inConn" expr="event$.connectionid"/>
            <accept connectionid="inConn"/>
        </if>
    </transition><commit_msg>Add connect to comsys ccxml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml">
  <var name="test" expr="''"/>
  
  <var name="remoteID" expr="''"/>
  <var name="redirectID" expr="''"/>
  <var name="externalRemoteID" expr="''"/>
  <var name="localID" expr="''"/>
  <var name="direction" expr="'inbound'"/>
  <var name="timeout" expr="'60s'" />
  <var name="ctdConn" expr="''" />
  <var name="inConn" expr="''" />
  <var name="outConn" expr="''" />
  <var name="dialogID" expr="''"/>
  <var name="holdDialogID" expr="''"/>
  <var name="preconDialogID" expr="''"/>
  <var name="connectedDialogID" expr="''"/>
  <var name="dialURL" expr="''" />
  <var name="results" expr="''" />
  <var name="vxmlScript" expr="'rest/comsys/vxml/new'" />
  <var name="holdVxmlScript" expr="'/dialoghandler/transfer.vxml'" />
  <var name="preconVxmlScript" expr="'rest/comsys/vxml/preconnect'" />
  <var name="connectedVxmlScript" expr="'rest/comsys/vxml/connected'" />
  <var name="currentState" expr="'initial'" />
  <var name="callId" expr="session.values.callId" />
  
  <eventprocessor statevariable="currentState" >
    <transition state="initial" event="connection.alerting">
      <log expr="'*** The calledID is ' + event$.connection.local"/>
      <log expr="'*** The calleeID is ' + event$.connection.remote"/>
      <script>
          var remote = event$.connection.remote;

          localID = event$.connection.local;
          remoteID = remote;
          externalRemoteID = remoteID;
        </script>
        <!-- When outbound ctd:ctdConn and requester is being called with: inConn -->
        <if cond="direction == 'outbound'">
            <assign name="ctdConn" expr="event$.connectionid"/>
            <accept connectionid="ctdConn"/>
            <connect connectionid="ctdConn"/>
            <createcall dest="dialURL" connectionid="inConn" timeout="timeout" />
        <else />
            <assign name="inConn" expr="event$.connectionid"/>
            <accept connectionid="inConn"/>
            <connect connectionid="inConn"/>
        </if>
    </transition>
{'fraction_non_alphanumeric': 0.20641427537979262, 'fraction_numerical': 0.006751868820834338, 'mean_word_length': 3.4746494066882416, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 4, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 25}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4927679', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1308, 'n_words': 267}