#474 1.7.1 - b2b_entities - b2b_key_prefix can only be "B2B"

1.7.x
closed-invalid
nobody
modules (454)
5
2012-02-21
2012-02-21
Anonymous
No

If i set for example:
modparam("b2b_entities", "b2b_key_prefix", "TEST")
OpenSIPS gives an error on startup:
ERROR:b2b_entities:b2b_entities_restore: Wrong format for b2b key [B2B.367.256]

If i set:
modparam("b2b_entities", "b2b_key_prefix", "B2B")
or remove this setting OpenSIPS starts without the error.

Discussion

  • Vladut-Stefan Paiu

    Hello,

    At startup, OpenSIPS tries to re-load the entities from the database. In your case, the DB still has some entities with the old prefix, B2B, which cannot be loaded, as the prefix differs from your new prefix, 'TEST'.

    If you want to change the prefix, please first remove all your old entities from the DB.

    Regards,
    Vlad

     
  • Vladut-Stefan Paiu

    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks