Hi Faisal,<div><br></div><div>You say you&#39;ve seen packets on kamailio but kamailio isn&#39;t replying !! </div><div><br></div><div>1- Please verify that yuor kamailio is indeed started  <b>[ps -ef | grep kamailio]</b></div>
<div>2- Verify if kamailio is actuallay listening on the same port as you are sending pcakets to ! <b>[netstat -pln|grep kamailio]</b></div><div>3- Verify if your kamailio is using the same protocol as of your client i.e TCP or UDP or TLS etc.</div>
<div>4- instead of viewing the file<i> /var/log/kamailio</i> see<i> /var/log/messages </i>because you haven&#39;t mentioned local7 as Log facility in your config.</div><div>I don&#39;t see your syslog<b>.conf </b> file in this mail! check that file and follow <a href="http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration">the referenced link</a> completely.</div>
<div><br></div><div>Also see your configurations kamailio.cfg file and use define tags from second line from top onward i.e just after #!KAMAILIO.</div><div> Try getting rid of the comment line &quot;<i>####### Defined Values #########</i>&quot; - in my experience such comment before define cause trouble with configurations.</div>
<div><br></div><div><br></div><div>See all these and then reply with updates.</div><div><br></div><div>Regards,</div><div>Sammy G.</div><div><br><div class="gmail_quote">On Tue, May 29, 2012 at 2:18 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.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">
    Hello,<br>
    <br>
    you can set debug=3 in kamailio config to see very verbose debug
    messages. If you don&#39;t get any, means the request does not reach the
    application layer, meaning you have a firewall in place that drops
    the packets from the network.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 5/29/12 8:02 AM, Faisal Yousuf
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">Hi Experts,
      <div>I am a newbee with SIP-Router/Kamailio - I installed Kamailio
        on a CentOS 5.5 VM - following the instructions from the
        following link</div>
      <div><br>
      </div>
      <div><a href="http://kb.asipto.com/kamailio:install:3.0.x-from-git-centos5x" target="_blank">http://kb.asipto.com/kamailio:install:3.0.x-from-git-centos5x</a>
      </div>
      <div><br>
      </div>
      <div>Kamailio is installed &amp; I can start kamailio deamon from
        service kamailio start </div>
      <div><br>
      </div>
      <div>However I also created two subscribers - but when I try to
        register my SIP Phone (by setting Kamailio as the domain to
        register to) - I can see my sip-phone sending the Register
        request to Kamailio (I put a tcpdump on the kamailio machine to
        see sip-messages reaching the host) but I dont get any response
        from Kamailio - so my sip phone reaches the 408 Registeration
        Timeout state.</div>
      <div><br>
      </div>
      <div>Now, I dont get any logs from Kamailio to know what is
        happening while my phone is sending the register request - I
        tried to configure logging following instructions from the
        following link</div>
      <div><br>
      </div>
      <div><a href="http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration</a>
      </div>
      <div><br>
      </div>
      <div>But I dont get any logs in the /var/log/kamailio log file.</div>
      <div><br>
      </div>
      <div>To assist in understanding the issue - I am attaching the
        syslog config , kamailio config file &amp; the kamailio service
        script in the init.d folder.</div>
      <div><br>
      </div>
      <div>My first objective will be to enable logging for kamailio
        &amp; the next objective is to get the basic registration &amp;
        routing between endpoints - my ultimate objective is to
        configure SER/Kamailio as a load-balancer for our B2BUA &amp;
        Media Servers (I found the dispatcher module can help in
        accomplishing this) -  Can anybody help me in identifying why I
        am not getting any logs ?</div>
      <div>I have already seen the wiki &amp; have developed some
        understanding regarding how Kamailio is configured but am I
        seeking more information regarding the route language - (the
        state-model + reference of the functions that can be used in the
        route script etc.) - in this regards if I can get any
        documentation pointers from the user community that can help me
        gain a better understanding the use of Kamailio for above it
        will be great </div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Faisal</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Faisal</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a></pre>
    <br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a 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></div>