<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Here's an example (I just searched for sipsak on iptel.org):<br>
<a class="moz-txt-link-freetext" href="http://www.iptel.org/faq/how_can_i_manually_send_a_bye_message_to_a_pstn_gateway_0">http://www.iptel.org/faq/how_can_i_manually_send_a_bye_message_to_a_pstn_gateway_0</a><br>
<br>
YAHYAOUI Mohammed wrote:
<blockquote
 cite="mid:576636630802251244r2c9b0611m4a1a894303595e21@mail.gmail.com"
 type="cite">
  <div>Hello,</div>
  <div>&nbsp;</div>
  <div>Having&nbsp;1 boxes with SIP service&nbsp;Box A: ip a.b.c.d with sip at
udp 5060 and a&nbsp; NMS machine with ip x.y.z.t</div>
  <div>&nbsp;</div>
  <div>I am looking to monitor the SIP service via OPTION sent from NMS
(x.y.z.t) to the box A (no user defined on the box)</div>
  <div>&nbsp;</div>
  <div>Any one to help how to write the OPTION request using sipsak </div>
  <div>&nbsp;</div>
  <div>I tried this way but no success</div>
  <div>&nbsp;</div>
  <div>sipsak -f option -s sip:a.b.c.d&nbsp;&nbsp; (I don't know if we have to
set the udp port with sipsak)</div>
  <div>&nbsp;</div>
  <div><font size="2">
  <p>On file option I have:</p>
  <p>&nbsp;</p>
  <p>OPTIONS sip:a.b.c.d:5060 SIP/2.0</p>
  <p>Max-Forwards: 70</p>
  <p>To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:ping@a.b.c.d:5080">&lt;sip:ping@a.b.c.d:5080&gt;</a></p>
  <p>From: NMS &lt;sip:x.y.z.t&gt;</p>
  <p>Call-ID: 83185420572</p>
  <p>CSeq: 8764 OPTIONS</p>
  <p>Allow: ACK,CANCEL </p>
  <p>Accept: application/sdp</p>
  <p>Content-Length: 0</p>
  </font></div>
  <div>&nbsp;</div>
  <div>BR</div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
</blockquote>
</body>
</html>