<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    db_cluster can be used as a replacement to other db_* modules (like
    db_mysql, db_postgres). Effectively, db_cluster will be the module
    using the db connector modules. Any module that was working with
    db_mysql for example, should work just fine with db_cluster.<br>
    <br>
    #!define DBURL "..." is just like an assignment -- the DBURL will be
    replaced further in config with what is "..."<br>
    <br>
    So you can define DBURL to be a cluster URL, no problem.<br>
    <br>
    To answer specifically to your example, db_cluster can be used for
    dialplan module.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 5/16/12 9:53 AM, Uri Shacked wrote:<br>
    </div>
    <blockquote
cite="mid:CAMMbDhTsvJ2_DQeXKD8TfBCfMFS1jQtD0eixWLe_vBUAA8p-pQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div>&nbsp;</div>
        <div>can the db_cluster module be used to all DB connections?</div>
        <div>if today i set for example "modparam("dialplan", db_url",
          DBURL)" i will be able to use&nbsp; "modparam("dialplan", db_url",
          CLUSTER)" ?</div>
        <div>&nbsp;</div>
        <div>still, on the #!define DBURL "mysql://.........." i can not
          use clustering right?</div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
        <div>BR,</div>
        <div>Uri</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
    <br>
    <br>
  </body>
</html>