Yeah, I&#39;m using OpenSIPS.<div><br><div>I&#39;ve be searching for this exhaustively for the last week in all OpenSIPS docs and development lists I could find in the OpenSIPS website and on the Internet, and also a bunch of HA projects related to SIP servers in general (not related to OpenSIPS or Kamailio) which pointed to some external solutions on clustering for failover, but didn&#39;t get anything close to what we would like to have as solution. </div>

<div><br></div><div>Since OpenSIPS and Kamailio came from the same project I thought I could get some good ideas on HA from you guys, even if they would depend on some specific modules on Kamailio.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

<br></div><div>Thanks anyway and I appreciate your time and attention.</div><div>Mariana.<br><br><div class="gmail_quote">On Tue, Feb 7, 2012 at 1:36 AM, Edson - Lists <span dir="ltr">&lt;<a href="mailto:4lists@gmail.com">4lists@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Err.... Are You sure You send this message to the right list?<br>
<br>
I don&#39;t know about OpenSIPS Dialog module, but am almost sure there are diferences with KAMAILIO module... please check the documentation for KAMAILIO Dialog module in <a href="http://sip-router.org/docbook/sip-router/branch/master/modules_k/dialog/dialog.html" target="_blank">http://sip-router.org/docbook/<u></u>sip-router/branch/master/<u></u>modules_k/dialog/dialog.html</a><br>


<br>
Edson.<br>
<br>
Em 06/02/2012 19:04, Mariana Arduini escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi guys! I&#39;m facing some problems with dialog information while trying<br>
to implement a HA environment.<br>
We have 2 clustered SIP servers working as a Active/Standby failover and<br>
the use of a Virtual IP address. We want to make sure that if proxy #1<br>
goes down during a call, proxy #2 would be able to handle the sequential<br></div>
requests for that call, sinceboth proxies are using the same database<div><div class="h5"><br>
for dialog module information and we have set the db_mode dialog<br>
parameter to 1 (REALTIME - any dialog information changes will be<br>
reflected into the database immediately). Instead, what happened is<br>
proxy #2 was not aware of the dialog and gave us a &quot;500 Server error<br>
occurred&quot; message after receiving the BYE. Here are the log errors:<br>
<br>
/usr/local/sbin/opensips[<u></u>12617]: New request: BYE<br>
/usr/local/sbin/opensips[<u></u>12617]: The request has TO tag<br>
/usr/local/sbin/opensips[<u></u>12617]: cannot match request to a dialog<br>
/usr/local/sbin/opensips[<u></u>12617]: ERROR:dialog:w_validate_<u></u>dialog: null<br>
dialog /usr/local/sbin/opensips[<u></u>12617]: in-dialog bogus request<br>
/usr/local/sbin/opensips[<u></u>12617]: validate_dialog return: -4<br>
/usr/local/sbin/opensips[<u></u>12617]: loose_route() performed, rr headers<br>
were decoded /usr/local/sbin/opensips[<u></u>12617]: ERROR:core:parse_uri: uri<br>
too short: &lt;0&gt; (1) /usr/local/sbin/opensips[<u></u>12617]:<br>
ERROR:core:parse_sip_msg_uri: bad uri &lt;0&gt;<br>
/usr/local/sbin/opensips[<u></u>12617]: ERROR:tm:new_t: uri invalid<br>
/usr/local/sbin/opensips[<u></u>12617]: ERROR:tm:t_newtran: new_t failed<br>
/usr/local/sbin/opensips[<u></u>12617]: Could not execute t_relay()<br>
<br>
Virtual IP address is working, a new call goes through with no problem.<br>
Apparently, the dialog module is not saving all dialogs information to<br>
the database right away. Does anyone know about any other info we should<br>
be storing in the database, using some sort of module parameter or<br>
exported function from config file? In other words, what do I need to do<br>
in order to send an initial INVITE to one server and, when that server<br>
goes down, send the BYE to another server with the same call dialog?<br>
<br>
Thanks in advance.<br>
Mariana.<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote></div><br></div></div>