[OpenSIPS-Devel] [OpenSIPS-Users] [NEW] Dialog data persistence across reboot

Thomas Gelf thomas at gelf.net
Fri Jun 19 17:11:21 CEST 2009


This has also influence on engage_media_proxy - the session is not
terminated if I restart OpenSIPS between ACK and BYE. After timeout
it says:

media-dispatcher[20881]: session with call_id SOME-CALL-ID at domain.tld
from relay 1.2.3.4 did timeout
media-dispatcher[20881]: error: failed to end dialog: 404 Requested
Dialog not found

Cheers,
Thomas

Thomas Gelf wrote:
> 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