flow:
  - start|DEFAULT_ONREPLY:
  - start|REPLY_ROUTE_NAT:
      $avp(lua_dlg_profile): [
        "totalaccountout:[% customerpbx_test.id %]",
        "totaluserout:[% spce_test.testuser1002.uuid %]",
        "totalaccount:[% customerpbx_test.id %]",
        "totaluser:[% spce_test.testuser1002.uuid %]",
        "totalaccount:[% customerpbx_test.id %]",
        "totaluser:[% spce_test.testuser1003.uuid %]",
        "total"
      ]
  - start|ROUTE_ENTRY:
  - return|ROUTE_ENTRY:
  - start|ROUTE_APPLY_HEADER_RULES:
  - return|ROUTE_APPLY_HEADER_RULES:
  - start|REPLY_SCA_UPDATE:
  - return|REPLY_SCA_UPDATE:
  - start|ROUTE_PREPARE_UA:
  - return|ROUTE_PREPARE_UA:
  - start|REPLY_ROUTE_NAT_CONTINUE:
  - start|ROUTE_EXIT:
  - start|ROUTE_RUNTIME:
  - return|ROUTE_RUNTIME:
  - exit|ROUTE_EXIT:
sip_in:
  - '^SIP/2.0 180 Ringing'
  - 'CSeq: 2 INVITE'
sip_out:
  - [
      '^PUBLISH sip:testuser1002@spce.test SIP/2.0',
      'From: <sip:testuser1002@spce.test>',
      'To: <sip:testuser1002@spce.test>',
      'Event: dialog',
      'Content-Type: application/dialog-info\+xml',
    ]
  - [
      '^SIP/2.0 180 Ringing',
      'CSeq: 2 INVITE',
    ]
