[OpenSIPS-Users] No acc records after opensips restart

Răzvan Crainea razvan at opensips.org
Thu May 8 16:26:50 CEST 2014


Hi, Takeshi!

Thanks to the virtual machine you managed to setup, we finally detected 
the bug. I am working on a fix for this.
Meanwhie, as a workaround, you can reverse the order of the acc and 
dialog modules -> load first the acc module, than the dialog.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 05/08/2014 02:21 AM, mayamatakeshi wrote:
> Razvan,
> sorry again.
> I did a dumb mistake and used "opensipsctl fifo debug 9" instead of
> enabling the debug in the opensips.cfg file. So when opensips restarted,
> debug was disabled.
> Here are the logs:
> http://pastebin.com/mtG6n68E
>
> Regards,
> Takeshi
>
>
> On Thu, May 8, 2014 at 3:06 AM, Răzvan Crainea <razvan at opensips.org
> <mailto:razvan at opensips.org>> wrote:
>
>     Hi, Takeshi!
>
>     I don't see any BYE or restart in your logs. Can you please send the
>     logs starting from the INVITE, then restart and BYE?
>
>     Best regards,
>
>     Razvan Crainea
>
>     OpenSIPS Core Developer
>     http://www.opensips-solutions.__com <http://www.opensips-solutions.com>
>
>     On 05/07/2014 11:58 AM, mayamatakeshi wrote:
>
>         Hi Razvan,
>
>
>         On Wed, May 7, 2014 at 5:10 PM, Răzvan Crainea
>         <razvan at opensips.org <mailto:razvan at opensips.org>
>         <mailto:razvan at opensips.org <mailto:razvan at opensips.org>>> wrote:
>
>              Hi, Takeshi!
>
>              I am not sure you patch was successfully installed, since I
>         don't
>              see the logs I put in the patch.
>
>
>         Sorry. I was loading the modules from the wrong path so it was using
>         unpatched build.
>         Here are the logs:
>         http://pastebin.com/5ubakRkP
>         (but I only see the "Registered terminated callback with flags"
>         line in
>         them).
>
>              Is there any chance you could give me access to a development
>              machine where this is happening?
>
>
>         If it gets difficult for you to debug this from the logs only, i
>         will
>         try to prepare an environment at home because the company i work for
>         doesn't allow me to give this access.
>
>         Regards,
>         Takeshi
>
>
>              Best regards,
>
>              Răzvan Crainea
>
>              OpenSIPS Core Developer
>         http://www.opensips-solutions.____com
>         <http://www.opensips-__solutions.com
>         <http://www.opensips-solutions.com>>
>
>
>              On 05/05/2014 05:43 PM, mayamatakeshi wrote:
>
>
>
>                  On Mon, May 5, 2014 at 10:16 PM, Răzvan Crainea
>                  <razvan at opensips.org <mailto:razvan at opensips.org>
>         <mailto:razvan at opensips.org <mailto:razvan at opensips.org>>
>                  <mailto:razvan at opensips.org
>         <mailto:razvan at opensips.org> <mailto:razvan at opensips.org
>         <mailto:razvan at opensips.org>>>> wrote:
>
>                       I think the first patch was corrupted while I
>         pasted it.
>                  Please try
>                       to use this one[1].
>
>                       [1] http://pastebin.com/DvRCwT20
>
>
>                  Hi Razvan,
>
>                  Actually, it seems that message from patch was just a
>         warning
>                  and can be
>                  ignored
>
>         (http://unix.stackexchange.____com/questions/1395/what-does-____patch-unexpectedly-ends-in-____middle-of-line-mean
>
>         <http://unix.stackexchange.__com/questions/1395/what-does-__patch-unexpectedly-ends-in-__middle-of-line-mean
>         <http://unix.stackexchange.com/questions/1395/what-does-patch-unexpectedly-ends-in-middle-of-line-mean>>).
>
>
>                  So i checked the code and the problem was a typo.
>                  Instead of :
>                      LM_DBG("Registered terminated callback with flags
>         %x\n",
>                  reg->flags);
>                  it should have been:
>                      LM_DBG("Registered terminated callback with flags
>         %x\n",
>                  req->flags);
>
>                  So I corrected it and rebuilt opensips and tested it.
>                  Here are the logs:
>         http://pastebin.com/Ne3vUdzG
>
>                  Regards,
>                  Takeshi
>
>
>                  ___________________________________________________
>                  Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         <mailto:Users at lists.opensips.__org
>         <mailto:Users at lists.opensips.org>>
>         http://lists.opensips.org/cgi-____bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-__bin/mailman/listinfo/users>
>
>         <http://lists.opensips.org/__cgi-bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>__>
>
>
>              ___________________________________________________
>              Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         <mailto:Users at lists.opensips.__org
>         <mailto:Users at lists.opensips.org>>
>         http://lists.opensips.org/cgi-____bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-__bin/mailman/listinfo/users>
>              <http://lists.opensips.org/__cgi-bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>__>
>
>
>
>
>         _________________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>     _________________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list