<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    to add few more tips:<br>
    <br>
    - using debugger module with cfgtrace parameter set to 1 will result
    in printing the executed actions (line, name, etc) in syslog, being
    very convenient to see where routing ended in config file<br>
    <br>
    - few hints on kamailio and syslog at -
    <a class="moz-txt-link-freetext" href="http://kamailio.org/wiki/tutorials/3.2.x/syslog">http://kamailio.org/wiki/tutorials/3.2.x/syslog</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 25/11/14 09:09, Salman Zafar wrote:<br>
    </div>
    <blockquote
cite="mid:CAP2a2YWNdCQEGNVoJTDvHUsN2wX1hWLVFXmoKqcdEPzAgWi7jg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi<br>
              <br>
            </div>
            Answer#1: You have to put logs to find where Kamailio is
            sending 404. Check xlog lines in the code append more to
            see.<br>
            <br>
          </div>
          Answer#2: In Default Kamailio config log-facility used is 0
          which mean logs will be appended to /var/log/messages or
          syslog. If it is something else make sure you have rsyslog
          configured and the corresponding custom log file
          present.Ofcource you have to restart both services.<br>
          <br>
        </div>
        Further more if Kamailio is sending 404 then simply search "404"
        in kamailio.cfg where it is occurring and you will know which
        condition and why.<br>
        <div><br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Nov 25, 2014 at 10:35 AM, Jesse
          S. Anderson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jesse.dakota@gmail.com" target="_blank">jesse.dakota@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi All,
              <div>Sorry for the general questions here, I'll try to be
                concise.  I'm kind of a n00b, so bear with me.</div>
              <div><br>
              </div>
              <div>Problem:  Kamailio will not respond or accept
                SUBSCRIBE.  It kicks back a 404 every time.  SUBSCRIBE
                is ok.</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Question #1:  I actually copied a config from the
                vendor we are using and it's supposed to work so is
                there something simple I'm missing?</div>
              <div><br>
              </div>
              <div>Question #2:  Logging.  I've read that there should
                be a kamailio.log file somewhere that I can tail -f, but
                there's no such file on the machine.  I've done a <i>kamailio
                  debug -dd  </i>but it's really tough to go through. 
                Doesn't seem like you can grep using that either.</div>
              <div><br>
              </div>
              <div>If anyone out there has any advice for me, I would
                certainly appreciate it.</div>
              <div><br>
              </div>
              <div>Thanks!</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr"><font face="'times new roman', serif">Regards</font>
            <div><font face="'times new roman', serif"><br>
              </font>
              <div>
                <pre cols="72"><font face="'times new roman', serif">M. Salman Zafar
VoIP Professional
</font>
</pre>
              </div>
            </div>
          </div>
        </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://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>
  </body>
</html>