////////////////////////////////////////////////////////////////////////////////
// Client: SIP instant message (MESSAGE, RFC 3428)
//
// Counterpart of Message_server.
//
// Sends one text message outside of a dialog. A server may answer 200 OK or
// 202 Accepted (stored for later delivery); both end the scenario well. The
// text can come from a values file, e.g. [field0] in place of the body.
//
// 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
//  ---> MESSAGE ;retrans (text/plain)
//  <--- 202 Accepted or 200 OK
////////////////////////////////////////////////////////////////////////////////

---------->;retrans
MESSAGE 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] MESSAGE
Max-Forwards: 70
Contact: <sip:[fromUsername]@[local_ip]:[local_port];transport=[transport]>
User-Agent: SIPInspector_v_[ver]
Content-Type: text/plain
Content-Length: [len]

Hello from SIP Inspector, call [call_number]
----------
condition=if (Resp == 202) goto done

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

----------
label=done
