<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello,<br>
    <br>
    starting with kamailio 3.0, is very easy to spot the logic used for
    nat traversal.<br>
    <br>
    So look at default config file coming with 3.1, it uses defines to
    mark the logic required for NAT traversal -- just search for
    WITH_NAT -- from there should be easy to pull it out, adapt and and
    plug it in your config.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 12/28/10 10:39 AM, michel freiha wrote:
    <blockquote
      cite="mid:AANLkTinYwHUZB7sE3VMop_CRWgjurPt=_5RX_MbKJCaR@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Daniel <br>
        <br>
        Sorry to bother you but I'm getting One Way Audio for some of my
        customers while when I was using OpenSIPS everything was
        OK...The issue behind that is the rtp proxy....The rtp proxy is
        not fully forced for all nat types or for all users...I need you
        please to have a look to my route defined under kamailio.cfg and
        let me know if I did something wrong:<br>
        <br>
        <a moz-do-not-send="true" href="http://pastebin.com/D7jaEVgS">http://pastebin.com/D7jaEVgS</a><br>
        <br>
        Regards<br>
        <br>
        <br>
        <div class="gmail_quote">On Mon, Dec 27, 2010 at 9:43 PM, michel
          freiha <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:michofr@gmail.com">michofr@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div dir="ltr">Thanks Daniel for help...Everything seems OK
              now...<br>
              <br>
              Regard<br>
              <br>
              <div class="gmail_quote">
                On Fri, Dec 24, 2010 at 12:07 PM, Daniel-Constantin
                Mierla <span dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
                wrote:s
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">
                      <div text="#000000" bgcolor="#ffffff"> Hello,
                        <div><br>
                          <br>
                          On 12/23/10 8:29 PM, michel freiha wrote:
                          <blockquote type="cite">
                            <div dir="ltr">&nbsp;Daniel,<br>
                              <br>
                              The crash has been fixed...It was a
                              database issue...</div>
                          </blockquote>
                        </div>
                        good to know. Anything specific you can tell
                        that may help in the future to identify similar
                        cases?
                        <div><br>
                          <br>
                          <blockquote type="cite">
                            <div dir="ltr">Now I have another
                              issue...After some time of run we are
                              getting a message "too many hopes" on
                              dialers like x-Lite while if we use IP
                              address to register to Kamailio,
                              everything works fine<br>
                              <br>
                              Any tips?<br>
                            </div>
                          </blockquote>
                        </div>
                        Add:<br>
                        <br>
                        alias=yoursipdomain<br>
                        <br>
                        in configuration file. In this way you tell
                        kamailio to consider the sip domain as local
                        domain. At startup, kamailio does reverse dns
                        query to discover hostnames, but it might not be
                        returned, ending up in a loop, resulting in too
                        many hops.<br>
                        <br>
                        Cheers,<br>
                        Daniel<br>
                        <br>
                        <blockquote type="cite">
                          <div>
                            <div>
                              <div dir="ltr"><br>
                                Regards<br>
                                <br>
                                Dear<br>
                                <div class="gmail_quote">On Tue, Dec 14,
                                  2010 at 12:48 PM, Daniel-Constantin
                                  Mierla <span dir="ltr">&lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:miconda@gmail.com"
                                      target="_blank">miconda@gmail.com</a>&gt;</span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin: 0pt 0pt 0pt 0.8ex;
                                    border-left: 1px solid rgb(204, 204,
                                    204); padding-left: 1ex;">
                                    <div bgcolor="#ffffff"
                                      text="#000000"> Hello,
                                      <div><br>
                                        <br>
                                        On 12/13/10 3:48 PM, michel
                                        freiha wrote:
                                        <blockquote type="cite">
                                          <div dir="ltr">Hello Daniel,<br>
                                            <br>
                                            We are not facing any
                                            database problem even we are
                                            not using DNS anywhere in
                                            Kamailio config...The only
                                            thing is that the debug
                                            level is 2 and syslog was
                                            not configured
                                            asynchronous...Do you think
                                            if we configure it as
                                            asynchronous, our issue will
                                            be solved?<br>
                                          </div>
                                        </blockquote>
                                      </div>
                                      debug=2 should be that verbose to
                                      influence the performances in this
                                      way. Anyhow is good to have syslog
                                      asynchonous. You can start with
                                      log_stderror=yes to see if there
                                      is any improvement -- in this way
                                      you know whether is an logging
                                      speed issue or not.<br>
                                      <br>
                                      The solution to identify which
                                      piece of config is slow is to use
                                      benchmark module.<br>
                                      <br>
                                      Cheers,<br>
                                      <font color="#888888"> Daniel</font>
                                      <div><br>
                                        <br>
                                        <blockquote type="cite">
                                          <div dir="ltr"> <br>
                                            Regards<br>
                                            <br>
                                            <div class="gmail_quote">On
                                              Mon, Dec 13, 2010 at 1:08
                                              PM, Daniel-Constantin
                                              Mierla <span dir="ltr">&lt;<a
                                                  moz-do-not-send="true"
href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
                                              wrote:<br>
                                              <blockquote
                                                class="gmail_quote"
                                                style="margin: 0pt 0pt
                                                0pt 0.8ex; border-left:
                                                1px solid rgb(204, 204,
                                                204); padding-left:
                                                1ex;"> Hello,
                                                <div><br>
                                                  <br>
                                                  On 12/10/10 4:15 PM,
                                                  michel freiha wrote:<br>
                                                  <blockquote
                                                    class="gmail_quote"
                                                    style="margin: 0pt
                                                    0pt 0pt 0.8ex;
                                                    border-left: 1px
                                                    solid rgb(204, 204,
                                                    204); padding-left:
                                                    1ex;"> Hello Sir,<br>
                                                    <br>
                                                    The crash issue has
                                                    been successfully
                                                    fixed after using
                                                    GIT for the version
                                                    3.1.0.<br>
                                                  </blockquote>
                                                </div>
                                                thanks for reporting
                                                back.
                                                <div><br>
                                                  <br>
                                                  <blockquote
                                                    class="gmail_quote"
                                                    style="margin: 0pt
                                                    0pt 0pt 0.8ex;
                                                    border-left: 1px
                                                    solid rgb(204, 204,
                                                    204); padding-left:
                                                    1ex;"> Now we have
                                                    another
                                                    problem..&gt;When
                                                    the number of
                                                    registered users
                                                    exceeded 2500
                                                    concurrent
                                                    registered users,
                                                    the kamailio stuck
                                                    and each call will
                                                    take up to 1 minute
                                                    to be established<br>
                                                    <br>
                                                    Any comment on that?<br>
                                                  </blockquote>
                                                </div>
                                                Do you have high debug
                                                level? If yes, is your
                                                syslog configured
                                                asynchronously?<br>
                                                <br>
                                                Other than that, you can
                                                use benchmark module to
                                                spot which of your
                                                config actions takes so
                                                long to execute.
                                                Normally, such cases can
                                                happen when you have
                                                queries to slow database
                                                or dns servers.<br>
                                                <br>
                                                Cheers,<br>
                                                <font color="#888888">
                                                  Daniel</font>
                                                <div>
                                                  <div><br>
                                                    <br>
                                                    <br>
                                                    -- <br>
                                                    Daniel-Constantin
                                                    Mierla<br>
                                                    Kamailio (OpenSER)
                                                    Advanced Training<br>
                                                    Jan 24-26, 2011,
                                                    Irvine, CA, USA<br>
                                                    <a
                                                      moz-do-not-send="true"
href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
                                                    <br>
                                                  </div>
                                                </div>
                                              </blockquote>
                                            </div>
                                            <br>
                                          </div>
                                        </blockquote>
                                        <br>
                                        <pre cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                          <pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<div><a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<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>
</div></pre>
                        </blockquote>
                        <br>
                        <pre cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
        <style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style></div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>