<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Please open a bug report for this, providing some relevant
information, like OpenSIPS full debug log at startup and logs from
when you run 'dlg_db_sync'.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<br>
On 06/11/2012 05:10 PM, Mariana Arduini wrote:
<blockquote
cite="mid:CABHUZgBW5CoSgos5sDt002Q6m8eDkZc+jo64a_kK96LW0v301Q@mail.gmail.com"
type="cite">Hello,<br>
<br>
I noticed that some weeks ago there was not much replying from
OpenSIPS Dev team in the Users team, but I saw Bogdan answering
some questions now and I would like to check on the updates on my
issue.<br>
<br>
Should I open a bug related to it?<br>
<br>
Thanks a lot,<br>
Mariana.<br>
<br>
<div class="gmail_quote">On Thu, May 24, 2012 at 9:35 AM, Mariana
Arduini <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marianarduini@gmail.com" target="_blank">marianarduini@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hello,
<div class="im">
<div><br>
</div>
<div>Is there any update on my question?</div>
<div><br>
</div>
</div>
<div>Thanks,</div>
<div>Mariana
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Mon, May 21, 2012 at 10:06
AM, Mariana Arduini <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:marianarduini@gmail.com"
target="_blank">marianarduini@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">Hello all,
<div><br>
</div>
<div>Is there any update on my question? Should I
open a bug about this issue, or is there any other
test I can run to verify this feature?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mariana.
<div>
<div><br>
<br>
<div class="gmail_quote">On Thu, May 17, 2012
at 2:22 PM, Mariana Arduini <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:marianarduini@gmail.com"
target="_blank">marianarduini@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hello,<br>
<div><br>
>> The dlg_db_sync command is only
useful when you have the second server
online, and want to trigger a refresh of
OpenSIPS memory based on what is in the
DB.<br>
<br>
</div>
In fact I noticed it. I also tried this
test with no success in<br>
fetching the dialog vars:<br>
<br>
1) Server #2 is online listening on
10.0.0.1<br>
2) interface 10.0.0.1 is set down on
server #2, but server #2 is not stopped<br>
3) interface 10.0.0.1 is set up on server
#1 and server #1 is started<br>
4) UAC sends INVITE to 10.0.0.1, which
goes to server #1<br>
5) interface 10.0.0.1 is set down on
server #1, and server #1 is stopped<br>
6) interface 10.0.0.1 is set up on server
#2<br>
7) dlg_db_sync is run on server #2, but
dlg_list_ctx shows no vars<br>
8) UAC sends BYE to 10.0.0.1, which goes
to server #2<br>
<div><br>
>> If you just start the secondary
server & do not issue dlg_db_sync,
do you still have the same problem ?<br>
<br>
</div>
Yes, no dialogs vars in context.<br>
<br>
Attached is the log on server #2 you asked
for. It includes the<br>
following, in this order:<br>
<br>
1) opensipsctl start<br>
2) opensipsctl fifo dlg_list_ctx: no vars
shown in context<br>
3) opensipsctl fifo dlg_db_sync<br>
4) opensipsctl fifo dlg_list_ctx: no vars
shown in context<br>
5) BYE from UAC, server looks for dialog
var "caller_tag"<br>
<br>
For this test, I tried to get the vars
using fetch_dlg_value(), file<br>
name is log-server-2-from-start-fetch.txt.<br>
<br>
I collected another log for the same test,
now using get_dialog_info()<br>
instead of fetch_dlg_value(), file name
is.<br>
<br>
Thanks for the help.<br>
<span><font color="#888888">Mariana<br>
</font></span>
<div>
<div><br>
On Thu, May 17, 2012 at 6:08 AM, Vlad
Paiu <<a moz-do-not-send="true"
href="mailto:vladpaiu@opensips.org"
target="_blank">vladpaiu@opensips.org</a>>
wrote:<br>
><br>
> Hello,<br>
><br>
> Just to clear some things up, if
you leave the second server offline
and only start it after the active is
down, then the ongoing dialogs will be
automatically loaded by the secondary
server at startup. The dlg_db_sync
command is only useful when you have
the second server online, and want to
trigger a refresh of OpenSIPS memory
based on what is in the DB.<br>
><br>
> If you just start the secondary
server & do not issue dlg_db_sync,
do you still have the same problem ?<br>
> If you can, please send us (
privately or via pastebin ) a full
debug OpenSIPS log of the secondary
server ( from startup, until the
moment you want to access a dlg_var ).<br>
><br>
><br>
> Regards,<br>
><br>
> Vlad Paiu<br>
> OpenSIPS Developer<br>
> <a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
><br>
><br>
> On 05/16/2012 08:46 PM, Mariana
Arduini wrote:<br>
>><br>
>> Hi Vlad,<br>
>><br>
>> > Does this also happen if
you leave the second server offline,
and start it after the active OpenSIPS
is shut down (...) ?<br>
>><br>
>> Yes, that's exactly the test
I've run.<br>
>><br>
>> > At the moment that you
run dlg_db_sync, do you see the
variables in the dialog DB table ?<br>
>><br>
>> Yes.<br>
>><br>
>> After you run dlg_db_sync,
you say you cannot access the
variables from the script, but you see
them in dlg_list_ctx ?<br>
>><br>
>> No, I don't see them in
dlg_list_ctx, neither I can access
them from the script.<br>
>><br>
>> Thanks.<br>
>> Mariana.<br>
>><br>
>> On Wed, May 16, 2012 at 2:31
PM, Vlad Paiu <<a
moz-do-not-send="true"
href="mailto:vladpaiu@opensips.org"
target="_blank">vladpaiu@opensips.org</a>>
wrote:<br>
>>><br>
>>> Hi Mariana,<br>
>>><br>
>>> Does this also happen if
you leave the second server offline,
and start it after the active OpenSIPS
is shut down, instead of leaving the
second server up and running
'dlg_db_sync' ?<br>
>>><br>
>>> At the moment that you
run dlg_db_sync, do you see the
variables in the dialog DB table ?<br>
>>> After you run
dlg_db_sync, you say you cannot access
the variables from the script, but you
see them in dlg_list_ctx ?<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> Vlad Paiu<br>
>>> OpenSIPS Developer<br>
>>> <a
moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
>>><br>
>>><br>
>>> On 05/16/2012 07:57 PM,
Mariana Arduini wrote:<br>
>>>><br>
>>>> Hi Razvan,<br>
>>>><br>
>>>> Do I need to open a
bug about this issue somewhere? I saw
Bogdan's message about OpenSIPS 1.8
Stable being released tomorrow.<br>
>>>><br>
>>>> I think the problem
is the dialog variables are not being
fetched from DB, either when OpenSIPS
is restarded, either when we run the
new fifo command dlg_db_sync.<br>
>>>><br>
>>>> Thanks again!<br>
>>>> Mariana.<br>
>>>><br>
>>>> On Wed, May 16, 2012
at 8:06 AM, Mariana Arduini <<a
moz-do-not-send="true"
href="mailto:marianarduini@gmail.com"
target="_blank">marianarduini@gmail.com</a>>
wrote:<br>
>>>>><br>
>>>>> Hi, Razvan!<br>
>>>>><br>
>>>>> Thank you for the
$DLG_dir pseudovariable, it worked!<br>
>>>>><br>
>>>>> The variables are
properly flushed into the DB after 200
OK, and I can also see them using
"opensipsctl fifo dlg_list_ctx", under
context.<br>
>>>>><br>
>>>>> Even using the
$DLG_dir for the direction of a
sequential request, I still need to
access either the caller_contact or
the callee_contact. Is there any other
way to have those apart from the
variables?<br>
>>>>><br>
>>>>> Thanks again!<br>
>>>>> Mariana.<br>
>>>>><br>
><br>
</div>
</div>
<div>
<div>>
_______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>