I'm not certain, but the contact field may need to have angle brackets around the uri like the To header has.<br>
<br>
Also, the only other thing I can think of is perhaps your line
terminators aren't right. Head line must be terminated with \r\n and
there must be one extra \r\n following the last header field.<br>
<br>
Regards,<br>
Paul<br><br><div><span class="gmail_quote">On 4/14/05, <b class="gmail_sendername">Pavel Siderov</b> &lt;<a href="mailto:pi@hostmates.com">pi@hostmates.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font face="Arial" size="2">Hi Paul, </font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I just tried your suggestion but still with no 
success.&nbsp;Here is my bye.txt</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">BYE <a href="mailto:sip:35923456@1.2.3.4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:35923456@1.2.3.4</a> SIP/2.0<br>From: 
&lt;<a href="mailto:sip:166279@5.6.7.8" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:166279@5.6.7.8</a>&gt;;tag=95061277<br>To: 
&lt;<a href="mailto:sip:35928229525@1.2.3.4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:35928229525@1.2.3.4</a>&gt;;tag=as414565bd<br>Contact: 
<a href="mailto:sip:166279@1.2.3.4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:166279@1.2.3.4</a>;user=phone<br>Call-ID: <a href="mailto:BF5C0E09-B35D-4E5D-BB02-3572C6C2D2C8@192.168.2.111" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
BF5C0E09-B35D-4E5D-BB02-3572C6C2D2C8@192.168.2.111</a><br>CSeq: 
100 BYE<br>Max-Forwards: 16<br>Content-Length: 0<br></font></div>
<div><font face="Arial" size="2">Thanks you very much for your help :)</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Regards,</font></div><span class="sg">
<div><font face="Arial"><font size="2">Pavel</font></font></div>
</span><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><span class="q">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="javarockx@gmail.com" href="mailto:javarockx@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Java Rockx</a> 
  </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="pi@hostmates.com" href="mailto:pi@hostmates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Pavel Siderov</a> </div></span><div><span class="e" id="q_1033fd3639475d80_4">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, April 13, 2005 9:21 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Serusers] sending bye using 
  sipsak [<a href="http://onsip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">onsip.org</a>]</div>
  <div><br></div>Then the only thing I can think of is that you may have to 
  include the &lt;from&gt; and &lt;to&gt; headers including the from_tag and 
  to_tag. I guess you're just dealing with a SIP devices that looks at all these 
  to match transactions.<br><br>You should just be able to plug these items to 
  the BYE message template file.<br><br>Regards,<br>Paul<br><br>
  <div><span class="gmail_quote">On 4/13/05, <b class="gmail_sendername">Pavel 
  Siderov</b> &lt;<a href="mailto:pi@hostmates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pi@hostmates.com</a>&gt; 
  wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div><font face="Arial" size="2">I've tested this lots of times ... and I think 
    that the Call-ID is correctly copied from the database. </font></div>
    <div><font face="Arial" size="2"></font>&nbsp;</div>
    <div><font face="Arial" size="2">Thanks, </font></div><span>
    <div><font face="Arial" size="2">Pavel</font></div></span>
    <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><span>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- 
      Original Message ----- </div>
      <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
      <a title="javarockx@gmail.com" href="mailto:javarockx@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Java Rockx</a> </div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> 
      <a title="pi@hostmates.com" href="mailto:pi@hostmates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Pavel Siderov</a> </div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> 
      <a title="serusers@lists.iptel.org" href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">serusers@iptel.org</a> 
      </div></span>
      <div><span>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> 
      Wednesday, April 13, 2005 5:45 PM</div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> 
      Re: [Serusers] sending bye using sipsak [<a href="http://onsip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">onsip.org</a>]</div>
      <div><br></div>You'll have to ^C sipsak to stop it since it is very 
      unlikely that the destination you're sending to will reply 
      nicely.<br><br>If the call doesn't stop then you may have the wrong 
      Call-ID<br><br>Regards,<br>Paul<br><br>
      <div><span class="gmail_quote">On 4/13/05, <b class="gmail_sendername">Pavel 
      Siderov</b> &lt;<a href="mailto:pi@hostmates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pi@hostmates.com</a>&gt; 
      wrote:</span> 
      <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        <div><font face="Arial" size="2">Thanks Paul. </font></div>
        <div><font face="Arial" size="2"></font>&nbsp;</div>
        <div><font face="Arial" size="2">Now I got </font></div>
        <div><font face="Arial" size="2"></font>&nbsp;</div>
        <div><font face="Arial" size="2">sipsak -f bye.txt -s sip:<a href="http://1.2.3.4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.2.3.4</a></font></div>
        <div><font face="Arial" size="2">** give up 
        retransmissioning....<br></font></div>
        <div><font face="Arial" size="2">And the call continued :(</font></div>
        <div><font face="Arial" size="2"></font>&nbsp;</div>
        <div><font face="Arial" size="2">Regards,</font></div>
        <div><font face="Arial" size="2">Pavel</font></div><span>
        <div><font face="Arial" size="2"></font>&nbsp;</div>
        <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- 
        Original Message ----- 
        <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"><b>From:</b> 
        <a title="javarockx@gmail.com" href="mailto:javarockx@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Java Rockx</a> </div>
        <div><b>To:</b> <a title="pi@hostmates.com" href="mailto:pi@hostmates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Pavel Siderov</a> </div>
        <div><b>Cc:</b> <a title="serusers@lists.iptel.org" href="mailto:serusers@iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">serusers@lists.iptel.org</a> 
        </div>
        <div><b>Sent:</b> Wednesday, April 13, 2005 4:29 PM</div>
        <div><b>Subject:</b> Re: [Serusers] sending bye using sipsak [<a href="http://onsip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">onsip.org</a>]</div></div>
        <div><br></div>Your sipsak command should be<br><br></span><font face="Arial" size="2"><em>sipsak -f bye.txt -s <a href="http://62.244.175.133/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<span style="font-style: italic;">sip:</span>1</a>.2.3.4</em></font><br><br>Regards,<br>Paul<br></blockquote></div><br></span></div></blockquote></blockquote></div><br></span></div></blockquote>

</blockquote></div><br>