<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>
        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)..<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>
      On 16.12.2014 22:41, Newlin, Ben wrote:<br>
    </div>
    <blockquote
cite="mid:DM2PR0501MB10528FD23DDF0EEFCEBF7D11E56C0@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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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">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;font-family:&quot;Trebuchet
            MS&quot;,&quot;sans-serif&quot;;color:#666666;background:white">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.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Trebuchet
            MS&quot;,&quot;sans-serif&quot;;color:#666666;background:white"><o:p> </o:p></span></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 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><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <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>