[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    Re: [sr-dev] kamailio 4.1.1 can't find msilo module
From:       Peter Villeneuve <petervnv1 () gmail ! com>
Date:       2014-01-28 20:31:26
Message-ID: CAEiJqQNS-8B2BzcMP=CVzsd8LfaOXDdRDGeouFovPL2SgK-J7A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks Hugh. Good advice.
I've now commented out the kamailio-local.cfg file and added the loadmodule
"msilo.so" line to the main config. I also added the msilo parameters
(modparam("msilo") directly to kamailio.cfg and now indeed kamailio starts
without issues. I presume then that msilo module is loading after all and
the issue lies in the syntax in kamailio-local.cfg.
Now I need to go over the routing logic I copy/pasted from the wiki
here<http://kamailio.org/docs/modules/4.1.x/modules/msilo.html>and try
to see why it isn't working for me. I'm still new to kamailio and
am getting used to its syntax and logic. I'm using the default config but
it seems the wiki example isn't compatible with a vanilla default install.

If anyone knows of a good tutorial integrating a default kamailio 4.1.1
install with msilo, please share.

Thanks again Hugh


On Tue, Jan 28, 2014 at 8:17 PM, Hugh Waite <hugh.waite@crocodile-rcs.com>wrote:

> This is just a thought, since I recently had a similar issue.
> 
> At one point after deleting a few lines of (I thought) old config I got
> errors for 'module not loaded' and it turned out I had left a closing
> #!endif in place. The syntax checker gave a error on a completely different
> line.
> If the error appears to go away when you don't use the kamailio-local.cfg
> file, is there something in that file (e.g. in the msilo data you copied)
> that is not syntactically correct?
> 
> Regards,
> Hugh
> 
> 
> 
> On 28/01/2014 18:18, Peter Villeneuve wrote:
> 
> Well it's both in the kamailio.cfg (loadmodule "sl.so") and I can see it
> in the modules directory too, so, just like msilo, it should load.
> 
> Indeed, when I comment out importing kamailio-local.cfg (this is where I
> placed all the msilo related configs from the wiki), kamailio loads just
> fine (including tm and sl modules).
> 
> This is why I think this is msilo related.
> 
> 
> On Tue, Jan 28, 2014 at 6:12 PM, Victor Seva <
> linuxmaniac@torreviejawireless.org> wrote:
> 
> > 2014-01-28 Victor Seva <linuxmaniac@torreviejawireless.org>:
> > > Seems that you are not loading tm module...
> > 
> > Sorry I meant sl module.
> > 
> > sl_send_reply...
> > 
> > _______________________________________________
> > sr-dev mailing list
> > sr-dev@lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> > 
> 
> 
> 
> _______________________________________________
> sr-dev mailing listsr-dev@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>  
> 
> 
> --
> Hugh Waite
> Principal Design Engineer
> Crocodile RCS Ltd.
> 
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> 
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>Thanks Hugh. Good advice.<br></div>I&#39;ve now \
commented out the  kamailio-local.cfg file and added the loadmodule \
&quot;msilo.so&quot; line to the main config. I also added the msilo parameters \
(modparam(&quot;msilo&quot;) directly to kamailio.cfg and now indeed kamailio starts \
without issues. I presume then that msilo module is loading after all and the issue \
lies in the syntax in kamailio-local.cfg.<br> </div>Now I need to go over the routing \
logic I copy/pasted from the wiki <a \
href="http://kamailio.org/docs/modules/4.1.x/modules/msilo.html">here</a> and try to \
see why it isn&#39;t working for me. I&#39;m still new to kamailio and am getting \
used to its syntax and logic. I&#39;m using the default config but it seems the wiki \
example isn&#39;t compatible with a vanilla default install.<br> <br></div>If anyone \
knows of a good tutorial integrating a default kamailio 4.1.1 install with msilo, \
please share.<br><br></div>Thanks again Hugh<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 8:17 PM, \
Hugh Waite <span dir="ltr">&lt;<a href="mailto:hugh.waite@crocodile-rcs.com" \
target="_blank">hugh.waite@crocodile-rcs.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>This is just a thought, since I
      recently had a similar issue.<br>
      <br>
      At one point after deleting a few lines of (I thought) old config
      I got errors for &#39;module not loaded&#39; and it turned out I had left
      a closing #!endif in place. The syntax checker gave a error on a
      completely different line.<br>
      If the error appears to go away when you don&#39;t use the
      kamailio-local.cfg file, is there something in that file (e.g. in
      the msilo data you copied) that is not syntactically correct?<br>
      <br>
      Regards,<br>
      Hugh<div><div class="h5"><br>
      <br>
      <br>
      On 28/01/2014 18:18, Peter Villeneuve wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Well it&#39;s both in the kamailio.cfg (loadmodule &quot;sl.so&quot;)
            and I can see it in the modules directory too, so, just like
            msilo, it should load.<br>
            <br>
          </div>
          Indeed, when I comment out importing kamailio-local.cfg (this
          is where I placed all the msilo related configs from the
          wiki), kamailio loads just fine (including tm and sl modules).<br>
          <br>
        </div>
        This is why I think this is msilo related.<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Jan 28, 2014 at 6:12 PM, Victor
          Seva <span dir="ltr">&lt;<a \
href="mailto:linuxmaniac@torreviejawireless.org" \
target="_blank">linuxmaniac@torreviejawireless.org</a>&gt;</span>  wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
                #ccc solid;padding-left:1ex">2014-01-28
            Victor Seva &lt;<a href="mailto:linuxmaniac@torreviejawireless.org" \
target="_blank">linuxmaniac@torreviejawireless.org</a>&gt;:<br>  <div>&gt; Seems that \
you are not loading tm  module...<br>
              <br>
            </div>
            Sorry I meant sl module.<br>
            <br>
            sl_send_reply...<br>
            <div>
              <div><br>
                _______________________________________________<br>
                sr-dev mailing list<br>
                <a href="mailto:sr-dev@lists.sip-router.org" \
target="_blank">sr-dev@lists.sip-router.org</a><br>  <a \
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" \
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>  \
</div>  </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
sr-dev mailing list
<a href="mailto:sr-dev@lists.sip-router.org" \
target="_blank">sr-dev@lists.sip-router.org</a> <a \
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" \
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a> \
</pre>  </blockquote>
    <br>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.</pre>
  </font></span></div>

<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" \
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br> \
<br></blockquote></div><br></div>



_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic