<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    How did you start it?<br>
    <br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 01/10/14 02:27, White, Phil wrote:<br>
    </div>
    <blockquote
cite="mid:CAKsv4qbfi+vsvZEZajv12rO5taSHOaQNRqoGfyzzGC+M13RnHw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Sorry Guys, I'm very new to this. Taking a dive
                  'under the hood', to try to learn what is going on,
                  and to see what I can achieve.<br>
                  <br>
                </div>
                I have 1 sip device ( voip telephone) on the network,
                constantly firing out REGISTER requests (I have turned
                off my asterisk server!). That's good.<br>
              </div>
              I have a terminal window open, running tcpdump. That's
              good too - I can see what is going on.<br>
              <br>
            </div>
            I also have kamailio - giving me absolutely nothing. It's
            not  complicated config file. In fact it is the simplest I
            could do. However, it logs nothing - and i am expecting it
            to.<br>
            <br>
          </div>
          Can someone put me out of my misery, and point out the glaring
          error I have?<br>
        </div>
        <div>How can I send messages to STDERR while testing?<br>
        </div>
        <div><br>
        </div>
        Cheers,<br>
        <br>
        Phil<br>
        <br>
        ----<br>
        <br>
        ## WARNING - FOR TESTING & EDUCTION ONLY<br>
        ####### Global Parameters #########<br>
        <br>
        debug=5<br>
        fork=no<br>
        log_stderror=yes<br>
        port=5060<br>
        <br>
        ####### Modules Section ########<br>
        <br>
        # set module path<br>
        mpath="/usr/local/lib/kamailio/modules/"<br>
        loadmodule "sl.so"<br>
        <br>
        ####### Routing Logic ########<br>
        <br>
        route{<br>
         if(method=="REGISTER") {<br>
          log(1,"this SIP request is a REGISTER message\n");<br>
          sl_send_reply("404", "No registrar");<br>
         };<br>
        <br>
         if (af!=INET6) {      <br>
          log(1,"Message received over IPv4 link\n");<br>
         };<br>
        <br>
         if(proto==UDP) {   <br>
          log(1,"SIP message received over UDP\n");<br>
         };<br>
        <br>
         if(status=="200") {<br>
          log(1,"this is a 200 OK reply\n");<br>
         };<br>
        <br>
         if(uri==myself) {<br>
          log(1,"the request is for local processing\n");<br>
         };<br>
        }<br>
        <br>
      </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>