<!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">
<br>
<br>
On 5/11/10 4:00 PM, Bruno Bresciani wrote:
<blockquote
 cite="mid:AANLkTikPVtUvSHnZ37PDAwp1GHy3tWFtWOA7KC7JOAl9@mail.gmail.com"
 type="cite">Daniel I was now downloading the version 3.0 because
includes both kamailio and ser modules. Let me see if I understand: To
include the route module in the kamailio 3.0 just only copy it to
modules_s directory and then compile?<br>
</blockquote>
is it a module you wrote? Or is an existing ser module? I couldn't spot
a route module in directory modules_s, but a prefix_route...<br>
<br>
If it is a private module you wrote, then you may need to do some
changes in the source code. Mainly is about the database API which was
relocated and you have to update the include path.<br>
<br>
The add the line:<br>
DEFS+=-DSER_MOD_INTERFACE<br>
<br>
to your module Makefile (see for example the
modules_s/domain/Makefile). If you have db, then add also:<br>
SERLIBPATH=../../lib<br>
SER_LIBS+=$(SERLIBPATH)/srdb2/srdb2<br>
<br>
Actually if you have a very old ser version (0.9.x), it may require a
bit more changes to upgrade since ser did some internal changes couple
of years ago (for version 2.0, 2.1)...<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:AANLkTikPVtUvSHnZ37PDAwp1GHy3tWFtWOA7KC7JOAl9@mail.gmail.com"
 type="cite"><br>
  <br>
  <style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
  <div class="gmail_quote">2010/5/11 Bruno Bresciani <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:bruno.bresciani@gmail.com">bruno.bresciani@gmail.com</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span><span
 title="">Daniel eu j&aacute; estava baixando a vers&atilde;o 3.0 porque inclui tanto
kamailio e m&oacute;dulos de ser. </span><span title="">Deixe-me
ver se entendi: Para incluir o m&oacute;dulo de rota no kamailio 3,0 basta
apenas copi&aacute;-lo para modules_s diret&oacute;rio e depois compilar?<br>
    <br>
    </span></span><br>
    <br>
    <div class="gmail_quote">2010/5/11 Daniel-Constantin Mierla <span
 dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:miconda@gmail.com"
 target="_blank">miconda@gmail.com</a>&gt;</span>
    <div>
    <div class="h5"><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,
      <div><br>
      <br>
On 5/11/10 3:19 PM, Bruno Bresciani wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How to insert modules in kamailio?<br>
        <br>
Hi people, I worked with ser but now I'm migrating to kamailio... I'd
like to know how to insert a ser module in the kamailio? Example: In
the ser modules exist the route module and I want to use it in the
kamailio. It's possible?<br>
        <br>
      </blockquote>
      </div>
to shed some light, version 3.0 includes both kamailio and ser modules.
It is practically the same source code, just different default modules
used for auth, rr, a.s.o.<br>
      <br>
Here is an picture trying to detail the source code structure:<br>
      <a moz-do-not-send="true" href="http://sip-router.org/releases/"
 target="_blank">http://sip-router.org/releases/</a><br>
      <br>
In this context, you can say you upgraded to 3.0 and it is up to you if
you want to compile as kamailio or as ser :-).<br>
      <br>
The kamailio_3.0 branch has disabled the compilation of duplicated ser
modules (those located in modules_s directory). To enable, do:<br>
      <br>
make modules_dirs="modules modules_k modules_s" cfg<br>
      <br>
then compile and install.<br>
      <br>
Cheers,<br>
Daniel<br>
      <font color="#888888"><br>
-- <br>
Daniel-Constantin Mierla<br>
* <a moz-do-not-send="true" href="http://www.asipto.com/"
 target="_blank">http://www.asipto.com/</a><br>
* <a moz-do-not-send="true" href="http://twitter.com/miconda"
 target="_blank">http://twitter.com/miconda</a><br>
* <a moz-do-not-send="true"
 href="http://www.linkedin.com/in/danielconstantinmierla"
 target="_blank">http://www.linkedin.com/in/danielconstantinmierla</a><br>
      <br>
      </font></blockquote>
    </div>
    </div>
    </div>
    <br>
  </blockquote>
  </div>
  <br>
</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/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</body>
</html>