<!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">
<tt>See the MI command dlg_db_sync<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.8.x/dialog.html#id295605">http://www.opensips.org/html/docs/modules/1.8.x/dialog.html#id295605</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/09/2013 02:59 PM, samuel wrote:
<blockquote
cite="mid:CAOg=WDeUJwi=Y8ui-t8fco_gtemnSu53R0iccWR0cnBX9M6nag@mail.gmail.com"
type="cite">
<p dir="ltr">My point was exactly what you state in the last
sentence about failover scenario. Is there some way to use
current dialog module to handle these scenarios?</p>
<p dir="ltr">Thanks a lot,<br>
Samuel</p>
<div class="gmail_quote">El 09/01/2013 12:50, "Bogdan-Andrei
Iancu" <<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>
va escriure:<br type="attribution">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <tt>Hi Samuel,<br>
<br>
For dialog module, the primary storage (for dialog info)
is all the time the mem cache. DB is only a secondary
storage and data is flushed from mem to DB. At runtime,
opensips never reads from DB, but only from mem (the
primary storage). (db mode REALTIME means the DB storage
is updated in realtime from mem cache)<br>
<br>
So, you cannot have 2 opensips sharing dialog info via DB.
Or you want to implement a failover kind of scenario (like
shifting dialogs from one box to another) ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
On 01/07/2013 07:59 PM, samuel wrote:
<blockquote type="cite">Hi folks,<br>
<br>
I'm started reading about dialog module and how to use it
in a distributed environment. I've read about the 'B' flag
and how it can be used to send BYEs to the end-points. My
question is whether, using db_mode REALTIME, another
instance of opensips can use the information stored in the
database to send the BYE to a dialog created in another
opensips instance. <br>
<br>
The scenario is the next one: <br>
1.several opensips sharing the database and one of them
receives an INVITE.<br>
2.It creates the dialog and sets the B flag. The parameter
timeout is then set to the corresponding value. <br>
3.Another opensips uses the information from the dialog
table to send the BYE either forced by an external t_dlg
command or reading from the database (I guess the period
can be controlled with the db_update_period parameter).<br>
<br>
Is this possible with the current version?<br>
<br>
Thank you very much in advance and congratulations,<br>
Samuel.<br>
<br>
<br>
<br>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<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>
</pre>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>