////////////////////////////////////////////////////////////////////////////////
// Client: OPTIONS ping - is the server up and answering SIP?
//
// Counterpart of Options_ping_server.
//
// One OPTIONS outside of a dialog, as trunks and proxies use for keepalive.
// The assertions fail the run when the answer is not 200 or takes longer
// than 500 ms. For a monitor, run it with -tc and -cps, e.g. -tc 60 -cps 0.1
// pings every 10 s for 10 minutes.
//
// Messages with ;retrans are sent again over UDP until they are answered, and a copy
// of one that comes again is answered as before (RFC 3261; -t1, -t2).
//
// SIP Messages
//  ---> OPTIONS ;retrans
//  <--- 200 OK
////////////////////////////////////////////////////////////////////////////////

---------->;retrans
OPTIONS sip:[toUsername]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[fromUsername]@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:[toUsername]@[remote_ip]:[remote_port]>
Call-ID: [call_number].[run_tag]@[local_ip]
CSeq: [cseq+1] OPTIONS
Max-Forwards: 70
Contact: <sip:[fromUsername]@[local_ip]:[local_port];transport=[transport]>
Accept: application/sdp
User-Agent: SIPInspector_v_[ver]
Content-Length: 0


<----------
200 OK

----------
assert=status 200

----------
assert=responseTime 500
