<!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">
    Hi David,<br>
    <br>
    OpenSIPS by itself does not generate such a reply, so:<br>
    &nbsp;&nbsp;&nbsp; 1) either the reply comes from script<br>
    &nbsp;&nbsp;&nbsp; 2) either reply is not gnerated by opensips, but by other entity
    on the path<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 07/06/2011 08:00 AM, David Cunningham wrote:
    <blockquote
cite="mid:CAHGbP--zK5LdBvtdHb1LnbWL2PpjXV_WpM_F5+4HJvHs1bjSQA@mail.gmail.com"
      type="cite">Hi all,<br>
      <br>
      We're seeing a strange reply from OpenSIPS when Asterisk sends it
      a BYE - "481 bad request, no route tag". Does anyone know why this
      message might be returned? Thanks in advance.<br>
      <br clear="all">
      <br>
      U 2011/07/05 20:38:32.406967 &lt;asterisk ip&gt;:5060 -&gt;
      &lt;opensips ip&gt;:5060<br>
      BYE sip:&lt;calling number&gt;@&lt;opensips ip&gt;:5060 SIP/2.0.<br>
      Record-Route: &lt;sip:&lt;asterisk
      ip&gt;;lr=on;ftag=as0e8489a0&gt;.<br>
      Via: SIP/2.0/UDP &lt;asterisk
      ip&gt;;branch=z9hG4bK75db.9be45641.0.<br>
      Via: SIP/2.0/UDP
216.139.220.96:5060;received=216.139.220.96;branch=z9hG4bK52a32816;rport=5060.<br>
      Route: &lt;sip:&lt;asterisk
      ip&gt;;lr=on;ftag=sansay303254289rdb21376&gt;,&lt;<a class="moz-txt-link-freetext" href="sip:sansay303254289rdb21376@">sip:sansay303254289rdb21376@</a>&lt;opensips
      ip&gt;:5060;lr;transport=udp&gt;.<br>
      Max-Forwards: 69.<br>
      From: &lt;sip:&lt;called number&gt;@&lt;asterisk
      ip&gt;&gt;;tag=as0e8489a0.<br>
      To: &lt;sip:&lt;calling number&gt;@&lt;opensips
      ip&gt;&gt;;tag=sansay303254289rdb21376.<br>
      Call-ID: 109061978-0-425332974@&lt;did provider ip&gt;.<br>
      CSeq: 102 BYE.<br>
      User-Agent: Product.<br>
      X-Asterisk-HangupCause: Normal Clearing.<br>
      X-Asterisk-HangupCauseCode: 16.<br>
      Content-Length: 0.<br>
      X-Product-RURI: sip:&lt;calling number&gt;@&lt;opensips
      ip&gt;:5060.<br>
      X-Product-Source: <a moz-do-not-send="true"
        href="http://216.139.220.96:5060">216.139.220.96:5060</a>.<br>
      .<br>
      <br>
      <br>
      U 2011/07/05 20:38:32.478093 &lt;opensips ip&gt;:5060 -&gt;
      &lt;asterisk ip&gt;:5060<br>
      SIP/2.0 481 bad request, no route tag.<br>
      Via: SIP/2.0/UDP &lt;asterisk
      ip&gt;;branch=z9hG4bK75db.9be45641.0.<br>
      Via: SIP/2.0/UDP
216.139.220.96:5060;received=216.139.220.96;branch=z9hG4bK52a32816;rport=5060.<br>
      To: &lt;sip:&lt;calling number&gt;@&lt;opensips
      ip&gt;&gt;;tag=sansay303254289rdb21376.<br>
      From: &lt;sip:&lt;called number&gt;@&lt;asterisk
      ip&gt;&gt;;tag=as0e8489a0.<br>
      Call-ID: 109061978-0-425332974@&lt;did provider ip&gt;.<br>
      CSeq: 102 BYE.<br>
      Content-Length: 0.<br>
      .<br>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>