Hi, set_dlg_flag() only accepts indices 0-31 , so should be set_dlg_flag(“5”);
From: Flavio Goncalves Sent: Monday, February 15, 2016 6:05 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] [BOOK] Building Telephony Systems with OpenSIPS - 2.1 version Hi Schneur, 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) Best regards, Flavio E. Goncalves CEO - V.Office Redes e Telecomunicações Ltda. Phone: +55 48-3332-8590 Skype:flaviogoncalves1 Linkedin: www.linkedin.com/in/flavioegoncalves Twitter: www.twitter.com/asteriskguide 2016-02-15 8:07 GMT-02:00 Schneur Rosenberg <rosenberg11...@gmail.com>: Hi Bogdan On page 250 of the book the third line from the top it says if (is_dlg_flag_set("5")) setflag(NAT_FLAG); Is that correct, or is it supposed to be? if (is_dlg_flag_set(NAT_FLAG)) setflag(NAT_FLAG); The dialog flag on the bottom of page 249 is set set_dlg_flag(NAT_FLAG); and not set_dlg_flag("5"); On Thu, Feb 11, 2016 at 11:35 AM, Bogdan-Andrei Iancu <bog...@opensips.org> wrote: Hi Schneur, OK, I will check with the editor if they can push fixes to the book. Thanks for reporting it! Thanks and Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.comOn 09.02.2016 13:20, Schneur Rosenberg wrote: 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 On Feb 8, 2016 3:13 PM, "Bogdan-Andrei Iancu" <bog...@opensips.org> wrote: Hi Schneur, Could you point the name of the chapter and the context of that mistake, so I can double check it ? Thanks & Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.comOn 07.02.2016 14:53, Schneur Rosenberg wrote: 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 On Feb 4, 2016 3:37 PM, "Bogdan-Andrei Iancu" <bog...@opensips.org> wrote: Hello all, 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 . 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. https://www.packtpub.com/networking-and-servers/building-telephony-systems-opensips-second-edition Enjoy ! -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------------------------------------------------------------------------- _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users