////////////////////////////////////////////////////////////////////////////////
// Client: sends a REGISTER to many addresses and ports
//
// No counterpart in this directory: it does not wait for any answer.
//
// Run it with a values file that has one line per target: [field0] is the last
// number of the IP address (192.168.1.x), which is also used as the user name,
// and [field1] is the port. The subnet is the variable "subnet" set at the top
// of the scenario. Example values file: values/Port_scan_values.txt.
//
// SIP Messages
//  ---- set the remote address to <subnet>.[field0]:[field1]
//  ---> REGISTER
////////////////////////////////////////////////////////////////////////////////

// Setting: the first three numbers of the addresses to scan
----------
set_Variable=subnet "-" "=192.168.1"

----------
cmd_setRemote=[$subnet].[field0]:[field1]

---------->
REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[field0]@[remote_ip]:[remote_port]>;tag=24de4a5dbe4ef
To: <sip:[field0]@[remote_ip]:[remote_port]>
Call-ID: [call_number].[run_tag]@[local_ip]
CSeq: [cseq] REGISTER
Max-Forwards: 70
Expires: 3600
Contact: <sip:[field0]@[local_ip]:[local_port];transport=[transport]>
User-Agent: SIPInspector_v_[ver]
Content-Length: 0

