<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if the phone is trying to register, start ngrep on server to see if
    REGISTER requests are coming and they are replied.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 10/1/13 6:23 PM, arun Jayaprakash
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1380644587.17355.YahooMailNeo@web125302.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">Hi Daniel,
        when my system is fine and I run <span style="font-weight:
          bold;">kamctl ul show --brief</span> command I am able to see
        all my registered phones. When the phones lose registration and
        I run the command I do not see any registered phones but I can
        see my UA's trying to register. I will work on the suggestions
        you mentioned and will keep you posted.<br>
        <br>
        Thank you,<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 <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
                <b><span style="font-weight: bold;">To:</span></b> arun
                Jayaprakash <a class="moz-txt-link-rfc2396E" href="mailto:jayaprakasharun@yahoo.com"><jayaprakasharun@yahoo.com></a>; Kamailio
                (SER) - Users Mailing List
                <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org"><sr-users@lists.sip-router.org></a> <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="yiv6199944208">
                <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="yiv6199944208yqt4116301290"
                    id="yiv6199944208yqt08095">
                    <div class="yiv6199944208moz-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="yiv6199944208mimeAttachmentHeader"></fieldset>
                      <br clear="none">
                      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-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 moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-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="yiv6199944208moz-signature">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-txt-link-freetext" target="_blank" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-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 moz-do-not-send="true" rel="nofollow" shape="rect" class="yiv6199944208moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a> -
</pre>
                </div>
              </div>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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>
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>