////////////////////////////////////////////////////////////////////////////////
// Server: rings and accepts the CANCEL of the caller
//
// Counterpart of Call_cancel_client.
//
// The INVITE is never answered with 200: the scenario rings until the CANCEL
// comes, answers the CANCEL with 200 and ends the INVITE with 487. The CSeq
// number of the INVITE is kept in a variable, as the 487 belongs to the INVITE
// while the last message received is the CANCEL.
//
// 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
//  <--- INVITE ;retrans
//  ---> 100 Trying
//  ---> 180 Ringing
//  <--- CANCEL ;retrans
//  ---> 200 OK (to the CANCEL)
//  ---> 487 Request Terminated ;retrans (to the INVITE)
//  <--- ACK
////////////////////////////////////////////////////////////////////////////////

<----------;retrans
INVITE

----------
set_Variable=invCSeq "CSeq:" "* INVITE"

---------->
SIP/2.0 100 Trying
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
User-Agent: SIPInspector_v_[ver]
Content-Length: 0


---------->
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
User-Agent: SIPInspector_v_[ver]
Content-Length: 0


<----------;retrans
CANCEL

---------->
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
User-Agent: SIPInspector_v_[ver]
Content-Length: 0


---------->;retrans
SIP/2.0 487 Request Terminated
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
CSeq: [$invCSeq] INVITE
User-Agent: SIPInspector_v_[ver]
Content-Length: 0


<----------
ACK
