<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">I think I found the error, but I need  to double check. I was not able to get any log output  in kamailio.log and I noticed that the log file was very large ( I had not set up log rotate ). I cleaned this file and now I am able to view my log outputs. Will this issue in my log file affect the performance of the system?<br><br>Regards,<br>Arun<br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla <miconda@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash
 <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October 1, 2013 11:14 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] Phones losing registration.<br> </font> </div> <div class="y_msg_container"><br><div id="yiv8972430588"><div>
    Hello,<br clear="none">
    <br clear="none">
    first you should clarify what you mean by "phones are losing
    registration". Do they indicate are not registered?<br clear="none">
    <br clear="none">
    I suggest few things:<br clear="none">
    - add a xlog message at beginning of the request_route block to log
    method, callid, from, to, r-uri and source ip<br clear="none">
    - when the phones are not registered check the logs to see if there
    was a message related to register requests from that phone<br clear="none">
    <br clear="none">
    You should also log the sip traffic, you can use ngrep to save it in
    a file, so you can look in more details if needed.<br clear="none">
    <br clear="none">
    Some phones have also good troubleshooting options, at least snom
    phone give a log and the sip trace via web interface. If you have
    one, use it to see what it is reporting.<br clear="none">
    <br clear="none">
    I guess you checked the syslog file for error messages. If it is
    something that makes kamailio not working properly, you should see
    it there.<br clear="none">
    <br clear="none">
    Cheers,<br clear="none">
    Daniel<br clear="none">
    <br clear="none">
    <div class="yiv8972430588yqt2085582874" id="yiv8972430588yqt86516"><div class="yiv8972430588moz-cite-prefix">On 10/1/13 5:41 PM, arun Jayaprakash
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;">
        <div>Hello, <br clear="none">
        </div>
        <div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br clear="none">
        </div>
        <div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">I am running into a problem
          with my set up. I have Kamailio 4.0 set up with an Asterisk
          server (ARA). Initially I had three machines; one for
          Kamailio, one for Asterisk and one for my db. The set up
          worked fine for about a week after which I saw that my phones
          were losing registration for prolonged periods and then would
          re-register after a few hours. So what I did was to move
          Asterisk and Kamailio on the same server and only had my DB on
          a separate machine. All worked well for about a week and now I
          am facing the same issue.  At any given time all my services (
          kamailio, Asterisk, RTPproxy) are all running. My question is
          where and how do I start to trouble shoot this issue? I have
          not really done any debugging in the past so I would
          appreciate any pointers as to where to start? Thank you for
          your help.</div>
        <div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br clear="none">
        </div>
        <div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Regards,</div>
        <div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Arun<br clear="none">
        </div>
      </div>
      <br clear="none">
      <fieldset class="yiv8972430588mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-freetext" target="_blank" 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></div>
    <br clear="none">
    <pre class="yiv8972430588moz-signature">-- 
Daniel-Constantin Mierla - <a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
  - more details about Kamailio trainings at <a rel="nofollow" shape="rect" class="yiv8972430588moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a> -
</pre>
  </div></div><br><br></div> </div> </div>  </div></body></html>