<div dir="ltr">Hi Schneur, <div><br></div><div>That&#39;s correct, it is NAT_FLAG. These typos were identified and fixed in the reviews. I don&#39;t know how they appeared in the final version. Whenever you find 5 is (NAT_FLAG) and 6 (NAT_BFLAG)</div><div><br></div><div>Best regards, </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Flavio E. Goncalves<br>CEO - V.Office Redes e Telecomunicações Ltda. <br>Phone: +55 48-3332-8590<br>Skype:flaviogoncalves1<br>Linkedin: <a href="http://www.linkedin.com/in/flavioegoncalves" target="_blank">www.linkedin.com/in/flavioegoncalves</a><div>Twitter: <a href="http://www.twitter.com/asteriskguide" target="_blank">www.twitter.com/asteriskguide</a></div><div><br></div></div></div></div>
<br><div class="gmail_quote">2016-02-15 8:07 GMT-02:00 Schneur Rosenberg <span dir="ltr">&lt;<a href="mailto:rosenberg11219@gmail.com" target="_blank">rosenberg11219@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bogdan<div><br></div><div>On page 250 of the book the third line from the top it says<br><br></div><div>if (is_dlg_flag_set(&quot;5&quot;)) setflag(NAT_FLAG);<br></div><div><br></div><div>Is that correct, or is it supposed to be?<br><br>if (is_dlg_flag_set(NAT_FLAG)) setflag(NAT_FLAG); <br><br>The dialog flag on the bottom of page 249 is set<br><br>set_dlg_flag(NAT_FLAG); and not set_dlg_flag(&quot;5&quot;);<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 11, 2016 at 11:35 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Schneur,<br>
      <br>
      OK, I will check with the editor if they can push fixes to the
      book. Thanks for reporting it!<br>
      <br>
      Thanks and Regards,<br>
    </tt><span>
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    </span><div><div><div>On 09.02.2016 13:20, Schneur Rosenberg
      wrote:<br>
    </div>
    <blockquote type="cite">
      <p dir="ltr">Chapter 1, page 11 (page 36 of the eBook) on the
        bottom of the page there is a initial invite of userA calling
        userB, and the contact is of userB, it should be userA</p>
      <div class="gmail_quote">On Feb 8, 2016 3:13 PM, &quot;Bogdan-Andrei
        Iancu&quot; &lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Schneur,<br>
              <br>
              Could you point the name of the chapter and the context of
              that mistake, so I can double check it ?<br>
              <br>
              Thanks &amp; Regards,<br>
            </tt>
            <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <div>On 07.02.2016 14:53, Schneur Rosenberg wrote:<br>
            </div>
            <blockquote type="cite">
              <p dir="ltr">I bought the book and I think I found the
                first mistake, in the initial  invite packet on page 11,
                the contact header is of the destination and not of the
                origination UAC</p>
              <div class="gmail_quote">On Feb 4, 2016 3:37 PM,
                &quot;Bogdan-Andrei Iancu&quot; &lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;

                wrote:<br type="attribution">
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
                  all,<br>
                  <br>
                  Flavio Goncalves and I are happy to announce the
                  publishing of the second edition of &quot;Building
                  Telephony Systems with OpenSIPS&quot;, covering OpenSIPS
                  version 2.1 .<br>
                  <br>
                  Also many thanks to the Packt Publishing house for
                  making it happened and to all our reviewers who help
                  us to make this book better.<br>
                  <br>
                  <a href="https://www.packtpub.com/networking-and-servers/building-telephony-systems-opensips-second-edition" rel="noreferrer" target="_blank">https://www.packtpub.com/networking-and-servers/building-telephony-systems-opensips-second-edition</a><br>
                  <br>
                  Enjoy !<br>
                  <br>
                  -- <br>
                  Bogdan-Andrei Iancu<br>
                  OpenSIPS Founder and Developer<br>
                  <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
                  <br>
                  <br>
                  _______________________________________________<br>
                  Users mailing list<br>
                  <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                  <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                </blockquote>
              </div>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>