flow:
  - start|DEFAULT_ONREPLY:
  - start|REPLY_ROUTE_NAT:
  - start|ROUTE_ENTRY:
  - return|ROUTE_ENTRY:
  - start|ROUTE_APPLY_HEADER_RULES:
  - return|ROUTE_APPLY_HEADER_RULES:
  - start|ROUTE_PREPARE_UA:
  - return|ROUTE_PREPARE_UA:
  - start|REPLY_ROUTE_RTPENGINE:
  - return|REPLY_ROUTE_RTPENGINE:
  - start|REPLY_ROUTE_NAT_CONTINUE:
  - start|ROUTE_EXIT:
  - start|ROUTE_RUNTIME:
  - return|ROUTE_RUNTIME:
  - start|dialog:start:
  - return|dialog:start:
      $avp(lua_dlg_profile): [
        "local",
        "total"
      ]
  - return|dialog:start:
sip_in:
  - '^SIP/2.0 200 OK'
  - 'CSeq: \d+ INVITE'
sip_out:
  - [
      '^PUBLISH sip:testuser1003@spce.test SIP/2.0',
      'From: <sip:testuser1003@spce.test>',
      'To: <sip:testuser1003@spce.test>',
      'Event: dialog',
      'Content-Type: application/dialog-info\+xml',
    ]
  - [
      '^SIP/2.0 200 OK',
      'CSeq: \d+ INVITE',
      'From: <sip:testuser1002@',
      'To: <sip:1003@'
    ]
