<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Brian,<br>
      <br>
      <tt>So<tt>, in the described call flow, if you use t_relay(<tt>)
            to<tt> send the call from OpenSIPS to Asteri<tt>sk, the call
                is de<tt>clined by Asterisk<tt>. Could you post the <tt>negative
                      replied you get from Asterisk ?</tt></tt></tt></tt></tt></tt></tt></tt><br>
      <br>
      <tt>Best regards,</tt><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>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/05/2017 11:27 AM, brian
      southworth wrote:<br>
    </div>
    <blockquote cite="mid:001401d2ade6$66f6cf60$34e46e20$@clocom.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:windowtext">Sorry I
            should have explained, the calls are forwarded to an
            asterisk box.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Did you want
            a sip debug ? <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Flow:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Handset
            –invite</span><span
            style="font-family:Wingdings;color:windowtext">à</span><span
            style="color:windowtext"> opensips—invite</span><span
            style="font-family:Wingdings;color:windowtext">à</span><span
            style="color:windowtext">asterisk—invite</span><span
            style="font-family:Wingdings;color:windowtext">à</span><span
            style="color:windowtext">provider—invite</span><span
            style="font-family:Wingdings;color:windowtext">à</span><span
            style="color:windowtext">phone(mobile)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">                                               
            Opensips sends a bye after the call has left to carrier.<o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;mso-fareast-language:EN-GB">Regards,<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:16.0pt;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:16.0pt;mso-fareast-language:EN-GB">Brian
              Southworth<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Communications
              Developer</span><span
              style="font-size:9.0pt;color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:9.0pt;color:#1F497D;mso-fareast-language:EN-GB"><br>
              <o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;mso-fareast-language:EN-GB">111
              Wilmslow Road<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;mso-fareast-language:EN-GB">Handforth<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;mso-fareast-language:EN-GB">Wilmslow<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;mso-fareast-language:EN-GB">SK9
              3ER<o:p></o:p></span></p>
          <br>
        </div>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="color:windowtext;mso-fareast-language:EN-GB"
                  lang="EN-US">From:</span></b><span
                style="color:windowtext;mso-fareast-language:EN-GB"
                lang="EN-US"> Bogdan-Andrei Iancu
                [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br>
                <b>Sent:</b> 04 April 2017 20:50<br>
                <b>To:</b> OpenSIPS users mailling list
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>; brian southworth
                <a class="moz-txt-link-rfc2396E" href="mailto:brian.southworth@clocom.uk"><brian.southworth@clocom.uk></a><br>
                <b>Subject:</b> Re: [OpenSIPS-Users] FW: Problem with
                outbound calls<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
              Brian,</span></tt><span
            style="font-size:10.0pt;font-family:"Courier New""><br>
            <br>
            <tt>Could you describe your call flow ? Or maybe posting
              somewhere the sip capture (ngrep) of the call taken from
              OpenSIPS machine.</tt><br>
            <br>
            <tt>Regards,</tt><br>
            <br>
          </span><span
            style="font-size:12.0pt;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
        <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
        <pre>  OpenSIPS Founder and Developer<o:p></o:p></pre>
        <pre>  <a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>OpenSIPS Summit May 2017 Amsterdam<o:p></o:p></pre>
        <pre>  <a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a><o:p></o:p></pre>
        <div>
          <p class="MsoNormal">On 04/04/2017 06:17 PM, brian southworth
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">Hi All,<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">I seem to have an issue when using
            forward() my cisco phone says loop detected.<o:p></o:p></p>
          <p class="MsoNormal">If I used t_relay() my phone will say
            invalid destination both result in a bye signal being sent
            by open sips, however the call is still passed to the
            carrier <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;mso-fareast-language:EN-GB">Regards,</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:16.0pt;mso-fareast-language:EN-GB"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:16.0pt;mso-fareast-language:EN-GB">Brian
              Southworth</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Communications
              Developer</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:9.0pt;color:#1F497D;mso-fareast-language:EN-GB"><br>
            </span><o:p></o:p></p>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>