<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi, set_dlg_flag() only accepts indices 0-31 , so should be
set_dlg_flag(“5”);</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=flavio@voffice.com.br
href="mailto:flavio@voffice.com.br">Flavio Goncalves</A> </DIV>
<DIV><B>Sent:</B> Monday, February 15, 2016 6:05 AM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] [BOOK] Building Telephony Systems with
OpenSIPS - 2.1 version</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Schneur,
<DIV> </DIV>
<DIV>That's correct, it is NAT_FLAG. These typos were identified and fixed in
the reviews. I don't know how they appeared in the final version. Whenever you
find 5 is (NAT_FLAG) and 6 (NAT_BFLAG)</DIV>
<DIV> </DIV>
<DIV>Best regards, </DIV></DIV>
<DIV class=gmail_extra>
<DIV> </DIV>
<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> </DIV></DIV></DIV></DIV>
<DIV> </DIV>
<DIV class=gmail_quote>2016-02-15 8:07 GMT-02:00 Schneur Rosenberg <SPAN
dir=ltr><<A href="mailto:rosenberg11219@gmail.com"
target=_blank>rosenberg11219@gmail.com</A>></SPAN>:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>Hi Bogdan
<DIV> </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("5")) setflag(NAT_FLAG);<BR></DIV>
<DIV> </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("5");<BR></DIV></DIV>
<DIV class=HOEnZb>
<DIV class=h5>
<DIV class=gmail_extra>
<DIV> </DIV>
<DIV class=gmail_quote>On Thu, Feb 11, 2016 at 11:35 AM, Bogdan-Andrei Iancu
<SPAN dir=ltr><<A href="mailto:bogdan@opensips.org"
target=_blank>bogdan@opensips.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV text="#000000" bgcolor="#FFFFFF"><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, "Bogdan-Andrei Iancu"
<<A href="mailto:bogdan@opensips.org"
target=_blank>bogdan@opensips.org</A>> wrote:<BR type="attribution">
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV text="#000000" bgcolor="#FFFFFF"><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 & 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, "Bogdan-Andrei Iancu"
<<A href="mailto:bogdan@opensips.org"
target=_blank>bogdan@opensips.org</A>> wrote:<BR
type="attribution">
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello
all,<BR><BR>Flavio Goncalves and I are happy to announce the
publishing of the second edition of "Building Telephony Systems with
OpenSIPS", 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>
<DIV> </DIV></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>
<DIV> </DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>