<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Richard,<br>
      <br>
      Any incoming 503 reply is converted by OpenSIPS to a 500 reply (as
      per RFC3261).<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 06.01.2017 16:22, Richard Robson
      wrote:<br>
    </div>
    <blockquote
      cite="mid:736252ef-2076-e207-2119-0129158f163d@greenlightcrm.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p>Hi,</p>
      <p><br>
      </p>
      <p>we are getting 503 messages back but when this is stored on
        Homer as a 500. I'm not sure if its Opensips's sipcapture module
        or Homer doing the translation</p>
      <p><br>
      </p>
      <p>This is the packet captured in sngrep in the sip box</p>
      <p>2017/01/06 14:13:59.210301 141.170.24.20:5060 ->
        192.168.36.141:5060<br>
        SIP/2.0 503 Service Unavailable<br>
        Via: SIP/2.0/UDP
        141.170.9.156:5060;branch=z9hG4bKd116.a30f9976.0<br>
        From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
          href="sip:442035420637@192.168.36.68"><sip:442035420637@192.168.36.68></a>;tag=as55dfe54a<br>
        To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
          href="sip:+447910705624@141.170.24.20"><sip:+447910705624@141.170.24.20></a>;tag=gK00d54f0d<br>
        Call-ID:
DLGCH_e0lXV2Z/MWR7SFYIMHFjZ3oSAwoyL2YwfkdXX2F5YGsPQVxcfXhma2FDU0BlcWpmf0ZV<br>
        CSeq: 103 INVITE<br>
        X-ISUPMtype:0c<br>
        Reason: Q.850;cause=41;x-source=a<br>
        Content-Length: 0<br>
        <br>
      </p>
      <p>this is the same packet viewed in Homer</p>
      <div class="tab-pane ng-scope active" ng-repeat="tab in tabs"
        ng-class="{active: tab.active}" uib-tab-content-transclude="tab">
        <div id="sippath" ng-show="showSipMessage" class="sipmessage
          ng-binding ng-scope">2017-01-06 14:13:59 +0000 :
          141.170.24.20:5060 -> 192.168.36.141:5060</div>
        <div id="sipmsg" ng-show="showSipMessage" class="sipmessage
          ng-binding ng-scope" data-ng-bind-html="sipMessage">SIP/2.0 <font
            color="red"><b>500</b></font> Service Unavailable Via:
          SIP/2.0/UDP 141.170.9.156:5060;branch=<font color="green"><b>z9hG4bKd116.a30f9976.0</b></font>
          From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="sip:442035420637@192.168.36.68"><sip:442035420637@192.168.36.68></a>;tag=<font
            color="red"><b>as55dfe54a</b></font> To: <a
            moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="sip:+447910705624@141.170.24.20"><sip:+447910705624@141.170.24.20></a>;tag=gK00d54f0d
          Call-ID: <font color="blue"><b><a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:492956a7483fc8345bfdaf6c17212008@192.168.36.68:5060">492956a7483fc8345bfdaf6c17212008@192.168.36.68:5060</a></b></font>
          CSeq: 103 INVITE X-ISUPMtype:0c Reason:
          Q.850;cause=41;x-source=a Content-Length: 0 </div>
      </div>
      <p>the sip code and the callid have been changed. the call id is
        the same as the original call from the outbound asterisk box<br>
      </p>
      <br>
      Regards,<br>
      <pre class="moz-signature" cols="72">-- 
Richard Robson
Greenlight Support
01382 843843
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:support@greenlightcrm.com">support@greenlightcrm.com</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>