<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Ben,<br>
        <br>
        <tt>In 1.11, usage of t_on_failure (and of a failure route) from<tt>
            a local route is possible. Give it a try<tt>, it should work
              :).<br>
              <br>
              <tt>In regards to the <tt>B2B replication - there is not
                  yet on the map (at least not for 2.1) . It <tt>will <tt>be
                      considered<tt> a<tt>fter <tt>doing som<tt>e
                              refurb<tt>ishing o<tt>f the B2B module.<br>
                                  <br>
                                  <tt>Best regards,</tt><br>
                                </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></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>
      On 07.01.2015 17:02, Newlin, Ben wrote:<br>
    </div>
    <blockquote
cite="mid:DM2PR0501MB1052B73F6B0BC05FBD1CE9DEE5460@DM2PR0501MB1052.namprd05.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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:#44546A">Bogdan,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#44546A">If I use
            local_route to do drouting as you suggest, I would need to
            register a route to handle failure so I can advance to the
            next destination in the set. But the documentation indicates
            that t_on_failure is not available in local_route. So it
            seems if drouting is used in this way it can be used for a
            single destination only, because the failover will not work.
            Is this correct?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#44546A">Also, any
            comment on the idea of using the Binary Interface for fast
            failover of the B2BUA modules?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333333;background:white">Ben
                Newlin </span></b><span
style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#666666;background:white">|
              Sr Voice Network Engineer, CDE Development PureCloud<br>
              phone &amp; fax +1.317.957.1009 | <a class="moz-txt-link-abbreviated" href="mailto:ben.newlin@inin.com">ben.newlin@inin.com</a></span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333333"><br>
              <br>
            </span><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#D69A1E;background:white">Interactive
                Intelligence</span></b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#D69A1E;background:white"><br>
              Deliberately Innovative<br>
              <a moz-do-not-send="true" href="http://www.inin.com/"><b><span
                    style="color:#6B0014">www.inin.com</span></b></a></span><span
              style="color:#44546A"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                Bogdan-Andrei Iancu [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                <br>
                <b>Sent:</b> Friday, December 26, 2014 2:59 AM<br>
                <b>To:</b> OpenSIPS users mailling list; Newlin, Ben<br>
                <b>Subject:</b> Re: [OpenSIPS-Users] B2BUA &amp; Proxy
                Interaction<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
                Ben,</span></tt><span
              style="font-size:10.0pt;font-family:&quot;Courier
              New&quot;"><br>
              <br>
              <tt>You can use the local route to do routing on the
                outgoing requests - like doing drouting, or usrloc
                lookups. But in B2B mode, some signaling related
                functionalities, like dialog support, accounting support
                will not work (because you do not have a proxy
                transaction, but only a UAC one) - of course, you can do
                manual ACC (directly from via script functions)..</tt><br>
              <br>
              <tt>Regards,</tt><br>
              <br>
            </span><o:p></o:p></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>
          <p class="MsoNormal">On 16.12.2014 22:41, Newlin, Ben wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">I have been reading through the
            documentation for the B2BUA functionality. I want to use a
            B2BUA while also having many of the proxy functionalities
            like drouting, accounting, etc. However, it is indicated
            that they do not work easily together.<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">The B2BUA Tutorial says this:<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span style="font-size:10.0pt">A solution
              is to consider that b2bua is a separate instance
              (logically speaking) which selects types/classes of
              destinations. A proxy instance will responsible for
              routing inside the class of destinations.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="font-size:10.0pt"> </span><o:p></o:p></p>
          <p class="MsoNormal">It is also noted in the tutorial that
            outgoing requests from the B2BUA module will trigger
            local_route processing. So my question is this:<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Can the proxy functions be performed in
            local_route, prior to sending out the message? Would any
            callbacks registered for the message in local_route take
            precedence over the B2B routing logic?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Or must the message be actually sent out,
            via loopback ideally, so that it can be received again and
            processed as a proxy?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Also, is there any plan to implement
            Binary Interface replication for the B2BUA module like it
            was done with Dialog and UsrLoc for faster failover?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333333;background:white">Ben
                Newlin </span></b><span
style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#666666;background:white">|
              Sr Voice Network Engineer, CDE Development PureCloud<br>
              phone &amp; fax +1.317.957.1009 | <a
                moz-do-not-send="true" href="mailto:ben.newlin@inin.com">ben.newlin@inin.com</a></span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333333"><br>
              <br>
            </span><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#D69A1E;background:white">Interactive
                Intelligence</span></b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#D69A1E;background:white"><br>
              Deliberately Innovative<br>
              <a moz-do-not-send="true" href="http://www.inin.com/"><b><span
                    style="color:#6B0014">www.inin.com</span></b></a></span><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;"><br>
              <br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>Users mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>