[OpenSIPS-Devel] [OpenSIPS-Users] [NEW] Dialog data persistence across reboot
Thomas Gelf
thomas at gelf.net
Thu Jun 18 14:13:12 CEST 2009
Hi Bogdan,
I have to correct myself - it's true that it isn't crashing any more,
but it seems that it doesn't it's job, it doesn't store anything to
DB.
To reproduce this, please try:
if(is_method("INVITE") && ! has_totag())
{
create_dialog();
set_dlg_profile("test");
}
if(loose_route() && is_method("INVITE"))
{
if (is_in_profile("test")) {
xlog("L_INFO", "Dialog has TEST profile");
} else {
xlog("L_INFO", "Dialog does NOT have TEST profile");
}
}
Place a call, restart OpenSIPS, put call on hold (or do whatever
you'd like to do to re-issue an INVITE-request - you'll see that
it's saying that the profile got lost.
Best regards,
Thomas Gelf
Bogdan-Andrei Iancu wrote:
> Hi Thomas,
>
> Thanks for the report - the fix is on SVN. Let me know if solved the
> problem.
More information about the Devel
mailing list