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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jun 23 13:10:56 CEST 2009


Hi Thomas,

I just run the script and it was ok for me :D.....So, let's take it step 
by step.

1) after stopping Opensips (before restating) , do you see the new 
record in the dialog table ? what is the content of the "profiles" column ?

Regards,
Bogdan

Bogdan-Andrei Iancu wrote:
> Hi Thomas,
>
> I will try to reproduce this in the next days.
>
> Thanks and regards,
> Bogdan
>
> 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.
>>>     
>>>       
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>
>>   
>>     
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list