flow:
  - start|DEFAULT_ROUTE:
  - start|ROUTE_ENTRY:
  - return|ROUTE_ENTRY:
  - start|ROUTE_NET_INFO:
  - return|ROUTE_NET_INFO:
  - start|ROUTE_CHECK_TEL_URI:
  - return|ROUTE_CHECK_TEL_URI:
  - start|ROUTE_REG_REQUEST:
  - start|ROUTE_REG_HANDLE:
  - start|ROUTE_AUTH:
  - start|ROUTE_AUTH_HELPER:
  - return|ROUTE_AUTH_HELPER:
  - start|ROUTE_ADD_CALLINFO_REPLY:
  - return|ROUTE_ADD_CALLINFO_REPLY:
  - return|ROUTE_AUTH:
  - start|ROUTE_PREFERENCES:
  - start|ROUTE_CHECK_UA:
  - return|ROUTE_CHECK_UA:
  - return|ROUTE_PREFERENCES:
  - start|ROUTE_EXIT:
  - start|ROUTE_RUNTIME:
  - return|ROUTE_RUNTIME:
  - exit|ROUTE_EXIT:
sip_in:
  - 'REGISTER sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test SIP/2.0'
  - 'From: <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>;tag=[\w-]+'
  - 'To: "TestBria" <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>'
  - 'CSeq: 2 REGISTER'
  - 'Authorization: Digest username="testuser1003",realm="invite-alias-devid-fulllookup.scenarios-pbx.test",uri="sip:[% server_ip %]:5060",nonce=".+",response=".+",algorithm=MD5'
  - 'Contact: "TestBria" <sip:testuser1003@[% scenarios.0.ip %]:6666;ob>;reg-id=1;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>"'
  - 'Content-Length: 0'
  - 'P-NGCP-Src-Ip: [% scenarios.0.ip %]'
  - 'P-NGCP-Src-Port: [% scenarios.0.port %]'
  - 'P-NGCP-Src-Proto: udp'
  - 'P-NGCP-Src-Af: 4'
  - 'P-Sock-Info: udp:[% server_ip %]:5060'
  - 'P-LB-Uptime: \d+'
  - 'Path: <sip:lb@127.0.0.1;lr;(received=sip:[% scenarios.0.ip %]:[% scenarios.0.port %];)?socket=sip:[% server_ip %]:5060>'
sip_out:
  - [
      'SIP/2.0 100 Trying',
      'From: <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>;tag=[\w-]+',
      'To: "TestBria" <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>',
      'CSeq: 2 REGISTER',
      'P-Out-Socket: udp:[% server_ip %]:5060',
      'P-NGCP-Auth-IP: [% scenarios.0.ip %]',
      'P-NGCP-Auth-UA: <null>',
      'Server: Sipwise NGCP Proxy',
      'Content-Length: 0',
    ]
  - [
      'SIP/2.0 200 OK',
      'From: <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>;tag=[\w-]+',
      'To: "TestBria" <sip:testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test>;tag=[\w-]+',
      'CSeq: 2 REGISTER',
      'P-Out-Socket: udp:[% server_ip %]:5060',
      'P-NGCP-Auth-IP: [% scenarios.0.ip %]',
      'P-NGCP-Auth-UA: <null>',
      'P-NGCP-Authorization: testuser1003@invite-alias-devid-fulllookup.scenarios-pbx.test',
      'P-NGCP-Authorized: 1',
      'P-Caller-UUID: [% invite_alias_devid_fulllookup_scenarios_pbx_test.testuser1003.uuid %]',
      'Contact: <sip:testuser1003@[% scenarios.0.ip %]:6666;ob>;expires=\d+;(received="sip:[% scenarios.0.ip %]:[% scenarios.0.port %]";)?\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
      'Server: Sipwise NGCP Proxy',
      'Content-Length: 0',
    ]
