<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    You should not call m_store() if src_ip==myself -- in this way you
    avoid to store notification messages that cannot be delivered.<br>
    <br>
    Why notifications are not delivered has to be troubleshooted there.
    Have you tried also with UDP?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 17/07/14 23:46, Peter Villeneuve
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEiJqQMsNX5tkFKKFui6M8CUWtXF5vFBVKVXF2WeoXa87=86kQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Well I've been experimenting with this for hours
        and still no joy
        <div> :(  Hair pulling continues
          <div><br>
            <div>Here's what I did to help debug. I updated to 4.2 and I
              started using the default TCP listener on 5060 and have
              turned off the TLS listener to make debugging easier.</div>
          </div>
          <div>I have also tried using the routing config from <a
              moz-do-not-send="true"
href="http://telephonynetworks.blogspot.pt/2012/08/configuracion-de-kamailio-33-con-nat.html">here</a> but
            I get the exact same results as with the routing posted
            above, which tends to rule out any config issues (I think).</div>
          <div><br>
          </div>
          <div>Here's what I found so far.</div>
          <div><br>
          </div>
          <div>If I don't set the msilo outbound proxy like Daniel
            suggested, I get the dreaded "no socket found" error I
            mentioned earlier.</div>
          <div><br>
          </div>
          <div>If I do set the proxy, the offline message does get
            delivered as expected. The problem is that once I send a new
            message to an offline user, the caller doesn't receive the
            "user whatever is offline" message, but simply a 202.</div>
          <div>Then I look in msilo DB and suddenly I have 7k messages
            and growing and have to shut down kamailio and clean the db.</div>
          <div><br>
          </div>
          <div>Example to make understanding this weird behavior easier.
            Msilo outbound proxy set:</div>
          <div><br>
          </div>
          <div>1010 sends msg "testing 123" to 1000 (offline). Msilo
            stores the msg correctly, although 1010 never does receive
            the "***User 1000 is offline!" message, only a 202 I see in
            ngrep.</div>
          <div>I then look in the msilo db and confirm the "testing 123"
            msg is there. But right after there is another message
            stored in msilo, which is what should have been sent to 1000
            instead of being stored in the silo.</div>
          <div><br>
          </div>
          <table class=""
            id="ser.sbs.msilo.form.SiloListForm_data_table"
style="width:700px;margin-top:3px;margin-bottom:3px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(190,232,254);border-right-width:1px;border-right-style:solid;border-right-color:rgb(190,232,254);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,170,255);color:rgb(102,102,102);font-family:Arial,Gadget,sans-serif;font-size:12px;line-height:18px"
            border="0" cellpadding="0" cellspacing="0">
            <tbody>
              <tr id="ser.sbs.msilo.form.SiloListForm-3" class="">
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <a moz-do-not-send="true" id="fld_src_addr" class=""
                    style="outline:none;color:rgb(0,101,153)">sip:registrar@my.domain.com</a></td>
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <span class=""
                    style="width:154px;height:24px;display:block;float:left"><a
                      moz-do-not-send="true"
                      href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a></span></td>
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <span class=""
                    style="width:71px;height:24px;display:block;float:left">1010</span></td>
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <a moz-do-not-send="true" href="http://my.domain.com">my.domain.com</a></td>
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <span class=""
                    style="width:115px;height:24px;display:block;float:left">2014-07-17
                    14:11:00</span></td>
                <td
                  style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                  no-repeat" nowrap="nowrap">
                  <span class=""
                    style="width:153px;height:24px;display:block;float:left"><span
                      style="font-family:Arial,Gadget,sans-serif">***
                      User 1000 is offline!</span></span></td>
              </tr>
            </tbody>
          </table>
          <br>
          And then registrar storing a message for registrar saying 1010
          is offline (which is obviously wrong since 1010 just sent the
          msg)<br>
          <div><br>
          </div>
          <div>
            <table class=""
              id="ser.sbs.msilo.form.SiloListForm_data_table"
style="width:700px;margin-top:3px;margin-bottom:3px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(190,232,254);border-right-width:1px;border-right-style:solid;border-right-color:rgb(190,232,254);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,170,255);color:rgb(102,102,102);font-family:Arial,Gadget,sans-serif;font-size:12px;line-height:18px"
              border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr id="ser.sbs.msilo.form.SiloListForm-4" class="">
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <a moz-do-not-send="true" id="fld_src_addr" class=""
                      style="outline:none;color:rgb(0,101,153)">sip:registrar@</a><a
                      moz-do-not-send="true" id="fld_src_addr" class=""
                      style="color:rgb(0,101,153);outline:none">my.domain.com</a></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:154px;height:24px;display:block;float:left"><a class="moz-txt-link-freetext" href="sip:registrar@">sip:registrar@</a><a
                        moz-do-not-send="true" id="fld_src_addr"
                        class=""
                        style="color:rgb(0,101,153);outline:none">my.domain.com</a></span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:71px;height:24px;display:block;float:left">registrar</span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:78px;height:24px;display:block;float:left"><a
                        moz-do-not-send="true" id="fld_src_addr"
                        class=""
                        style="color:rgb(0,101,153);outline:none">my.domain.com</a><br>
                    </span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:115px;height:24px;display:block;float:left">2014-07-17
                      14:11:00</span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:153px;height:24px;display:block;float:left">***
                      User 1010 is offline!</span></td>
                </tr>
              </tbody>
            </table>
          </div>
          <div><br>
          </div>
          <div>And then it gets simply crazy with over 7K repeating
            messages in the silo saying the user registrar is offline.</div>
          <div><br>
          </div>
          <div>
            <table class=""
              id="ser.sbs.msilo.form.SiloListForm_data_table"
style="width:700px;margin-top:3px;margin-bottom:3px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(190,232,254);border-right-width:1px;border-right-style:solid;border-right-color:rgb(190,232,254);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,170,255);color:rgb(102,102,102);font-family:Arial,Gadget,sans-serif;font-size:12px;line-height:18px"
              border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr id="ser.sbs.msilo.form.SiloListForm-5" class="">
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <a moz-do-not-send="true" id="fld_src_addr" class=""
                      style="outline:none;color:rgb(0,101,153)">sip:registrar@</a><a
                      moz-do-not-send="true" id="fld_src_addr" class=""
                      style="color:rgb(0,101,153);outline:none">my.domain.com</a></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:154px;height:24px;display:block;float:left"><a class="moz-txt-link-freetext" href="sip:registrar@">sip:registrar@</a><a
                        moz-do-not-send="true" id="fld_src_addr"
                        class=""
                        style="color:rgb(0,101,153);outline:none">my.domain.com</a></span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:71px;height:24px;display:block;float:left">registrar</span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:78px;height:24px;display:block;float:left"><a
                        moz-do-not-send="true" id="fld_src_addr"
                        class=""
                        style="color:rgb(0,101,153);outline:none">my.domain.com</a><br>
                    </span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:115px;height:24px;display:block;float:left">2014-07-17
                      14:11:00</span></td>
                  <td
                    style="height:24px;padding-top:3px;padding-bottom:3px;padding-left:10px;background-image:url(http://sirem.fortknox.is:8010/siremis/themes/default/images/table_row_td_bg.gif);border-right-width:1px;border-bottom-width:1px;border-right-style:solid;border-bottom-style:solid;border-right-color:rgb(178,232,249);border-bottom-color:rgb(0,169,254);background-color:rgb(167,232,255);background-repeat:repeat
                    no-repeat" nowrap="nowrap">
                    <span class=""
                      style="width:153px;height:24px;display:block;float:left">***
                      User registrar is offline!</span></td>
                </tr>
              </tbody>
            </table>
          </div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div>To top it all off I see this in the sip trace</div>
        <div><br>
        </div>
        <div>What's puzzling me is this: 79.my.server.IP1:58487 ->
          79.my.server.IP1:5060</div>
        <div><br>
        </div>
        <div>Why does kamailio send to itself from port 58487 to 5060
          and not from 5060 to the UAC's public IP?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Sorry to dump so much info here but I'm hoping to resolve
          this before I go nuts.</div>
        <div><br>
        </div>
        <div>Daniel, when you have the time can you take a look please?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Peter</div>
        <div><br>
        </div>
        <div>
          <div>T 2014/07/17 21:10:30.383043 85.xx.xx.xx:50235 ->
            79.my.server.IP1:5060 [AP]</div>
          <div>MESSAGE <a moz-do-not-send="true"
              href="mailto:sip%3A1000@my.domain.com">sip:1000@my.domain.com</a>
            SIP/2.0.</div>
          <div>v: SIP/2.0/TCP
192.168.1.4:50235;rport;branch=z9hG4bKPjCYikazjsY44q1jqMtDzapRCfqofgZ.3O;alias.</div>
          <div>Max-Forwards: 70.</div>
          <div>f: <<a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>>;tag=s.HDD1ArN1dDgnwxgeWWK7meY98dkvrS.</div>
          <div>t: <<a moz-do-not-send="true"
              href="mailto:sip%3A1000@my.domain.com">sip:1000@my.domain.com</a>>.</div>
          <div>i: p8PAwoJ6ZLCy7ClSqe8sXD8FWMTU3LQ9.</div>
          <div>CSeq: 64674 MESSAGE.</div>
          <div>Accept: text/plain, application/im-iscomposing+xml.</div>
          <div>User-Agent: PJSIP_m3-19/r2423.</div>
          <div>Route: <sip:<a moz-do-not-send="true"
              href="http://my.domain.com">my.domain.com</a>;transport=tcp;lr>.</div>
          <div>c: text/plain.</div>
          <div>l:    25.</div>
          <div>.</div>
          <div>msg from 1010 to 1000</div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:10:30.390095 <b>79.my.server.IP1:58487
              -> 79.my.server.IP1:5060</b> [AP]</div>
          <div>MESSAGE <a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>
            SIP/2.0.</div>
          <div>Via: SIP/2.0/TCP
            79.my.server.IP1;branch=z9hG4bK17.50c7d2e1000000000000000000000000.0.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>>.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-ecd9.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f619-29814@79.my.server.IP1">6807412f0f15f619-29814@79.my.server.IP1</a>.</div>
          <div>Max-Forwards: 70.</div>
          <div>Content-Length: 25.</div>
          <div>User-Agent: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Contact: <a moz-do-not-send="true"
              href="mailto:registrar@my.domain.com">registrar@my.domain.com</a>;msilo=yes.</div>
          <div>Content-Type: text/plain.</div>
          <div>.</div>
          <div>*** User 1000 is offline!</div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:10:30.390156 79.my.server.IP1:5060 ->
            85.xx.xx.xx:50235 [AP]</div>
          <div>SIP/2.0 202 ACCEPTED.</div>
          <div>v: SIP/2.0/TCP
192.168.1.4:50235;rport=50235;branch=z9hG4bKPjCYikazjsY44q1jqMtDzapRCfqofgZ.3O;alias;received=85.xx.xx.xx.</div>
          <div>f: <<a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>>;tag=s.HDD1ArN1dDgnwxgeWWK7meY98dkvrS.</div>
          <div>t: <<a moz-do-not-send="true"
              href="mailto:sip%3A1000@my.domain.com">sip:1000@my.domain.com</a>>;tag=83a51ef5beb3f269619e74eb008b8b4e.7652.</div>
          <div>i: p8PAwoJ6ZLCy7ClSqe8sXD8FWMTU3LQ9.</div>
          <div>CSeq: 64674 MESSAGE.</div>
          <div>Server: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Content-Length: 0.</div>
          <div>.</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:10:30.390441 79.my.server.IP1:5060 ->
            85.xx.xx.xx:50235 [AP]</div>
          <div>MESSAGE <a class="moz-txt-link-freetext" href="sip:1010@85.xx.xx.xx:50235;transport=TCP">sip:1010@85.xx.xx.xx:50235;transport=TCP</a> SIP/2.0.</div>
          <div>Via: SIP/2.0/TCP
79.my.server.IP1;branch=z9hG4bK17.f09631e651d35b19e10d44b11fe53d81.0;i=3.</div>
          <div>Via: SIP/2.0/TCP
79.my.server.IP1;rport=58487;branch=z9hG4bK17.50c7d2e1000000000000000000000000.0.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>>.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-ecd9.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f619-29814@79.my.server.IP1">6807412f0f15f619-29814@79.my.server.IP1</a>.</div>
          <div>Max-Forwards: 69.</div>
          <div>Content-Length: 25.</div>
          <div>User-Agent: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Contact: <a moz-do-not-send="true"
              href="mailto:registrar@my.domain.com">registrar@my.domain.com</a>;msilo=yes.</div>
          <div>
            Content-Type: text/plain.</div>
          <div>.</div>
          <div>*** User 1000 is offline!</div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:11:00.357394 79.my.server.IP1:58487 ->
            79.my.server.IP1:5060 [AP]</div>
          <div>MESSAGE <a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>
            SIP/2.0.</div>
          <div>Via: SIP/2.0/TCP
            79.my.server.IP1;branch=z9hG4bK24f7.237c32d3000000000000000000000000.0.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-a22d.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f618-29809@79.my.server.IP1">6807412f0f15f618-29809@79.my.server.IP1</a>.</div>
          <div>Max-Forwards: 70.</div>
          <div>Content-Length: 25.</div>
          <div>User-Agent: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Contact: <a moz-do-not-send="true"
              href="mailto:registrar@my.domain.com">registrar@my.domain.com</a>;msilo=yes.</div>
          <div>Content-Type: text/plain.</div>
          <div>.</div>
          <div>*** User 1010 is offline!</div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:11:00.358375 79.my.server.IP1:5060 ->
            79.my.server.IP1:58487 [AP]</div>
          <div>SIP/2.0 202 ACCEPTED.</div>
          <div>Via: SIP/2.0/TCP
79.my.server.IP1;branch=z9hG4bK17.50c7d2e1000000000000000000000000.0;rport=58487.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>>;tag=9916224dd8b1ec9235e0f958cedf67cc-fe6b.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-ecd9.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f619-29814@79.my.server.IP1">6807412f0f15f619-29814@79.my.server.IP1</a>.</div>
          <div>Server: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Content-Length: 0.</div>
          <div>.</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:11:00.359438 79.my.server.IP1:58487 ->
            79.my.server.IP1:5060 [AP]</div>
          <div>MESSAGE <a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>
            SIP/2.0.</div>
          <div>Via: SIP/2.0/TCP
            79.my.server.IP1;branch=z9hG4bK810c.0eb84110000000000000000000000000.0.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-2a02.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f618-29816@79.my.server.IP1">6807412f0f15f618-29816@79.my.server.IP1</a>.</div>
          <div>Max-Forwards: 70.</div>
          <div>Content-Length: 30.</div>
          <div>User-Agent: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Contact: <a moz-do-not-send="true"
              href="mailto:registrar@my.domain.com">registrar@my.domain.com</a>;msilo=yes.</div>
          <div>
            Content-Type: text/plain.</div>
          <div>.</div>
          <div>*** User registrar is offline!</div>
          <div><br>
          </div>
          <div>T 2014/07/17 21:11:00.359495 79.my.server.IP1:5060 ->
            79.my.server.IP1:58487 [AP]</div>
          <div>SIP/2.0 202 ACCEPTED.</div>
          <div>Via: SIP/2.0/TCP
79.my.server.IP1;branch=z9hG4bK24f7.237c32d3000000000000000000000000.0;rport=58487.</div>
          <div>To: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=83a51ef5beb3f269619e74eb008b8b4e.a9f2.</div>
          <div>From: <<a moz-do-not-send="true"
              href="mailto:sip%3Aregistrar@my.domain.com">sip:registrar@my.domain.com</a>>;tag=416b6f80e891b334140ffeafcc1fa032-a22d.</div>
          <div>CSeq: 10 MESSAGE.</div>
          <div>Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:6807412f0f15f618-29809@79.my.server.IP1">6807412f0f15f618-29809@79.my.server.IP1</a>.</div>
          <div>Server: kamailio (4.2.0-dev7 (x86_64/linux)).</div>
          <div>Content-Length: 0.</div>
          <div>.</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Thu, Jul 17, 2014 at 3:35 PM, Peter Villeneuve <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Thanks for helping out Hugh (and obviously
              Daniel)
              <div><br>
              </div>
              <div>I have made some progress by adding the modparam
                ("msilo", "outbound_proxy",
                <a class="moz-txt-link-rfc2396E" href="sip:my.domain.com:5061;transport=tls">"sip:my.domain.com:5061;transport=tls"</a>).</div>
              <div>Now indeed the stored message gets delivered when a
                UAC registers.</div>
              <div><br>
              </div>
              <div>But I just noticed that it was also filling up msilo
                db with "user xxx is offline!" messages, instead of
                sending that msg to the initial UAC sending the msg.</div>
              <div>This likely means I'm doing something wrong with the
                routing, as it feels like it's in an endless loop. I
                think Daniel earlier suggested adding <span
                  style="font-family:arial,sans-serif;font-size:13px">if(src_ip
                  != myself) t_on_failure("FAIL_MESSAGE") to another
                  poster that was having trouble with the exact same
                  routing config, but I'm not sure exactly where to
                  insert it.</span></div>
              <div><span
                  style="font-family:arial,sans-serif;font-size:13px"><br>
                </span></div>
              <div>Can someone experienced with the routing syntax point
                out my - likely obvious - mistake?</div>
              <div><br>
              </div>
              <div>Cheers,</div>
              <div>Peter</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Thu, Jul 17, 2014 at 3:11
                    PM, Waite, Hugh <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:hugh.waite@acision.com"
                        target="_blank">hugh.waite@acision.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div link="blue" vlink="purple" lang="EN-GB">
                        <div>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">We
                              did have a working msilo implementation a
                              while back, but we don’t use it any more,
                              so I can only look back at the config
                              files (which are a lot more complicated
                              than yours).</span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">We
                              added the a modparam
                            </span><b><span
                                style="font-size:11.0pt;font-family:"Courier
                                New";color:#1f497d">modparam("msilo",
                                "outbound_proxy", "<a
                                  moz-do-not-send="true">sip:MY_REAL_IP:MY_SIP_PORT;transport=tcp</a>")</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">which
                              will make it arrive on the local machine
                              on the given socket (instead of localhost)
                              to be processed, but that probably isn’t
                              your problem.</span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is
                              it possible that Kamailio is trying to
                              establish a new connection, instead of
                              reusing the existing connection to the
                              client? That would be visible as TCP SYNs
                              in a trace and would cause a 408 after the
                              timeout. We are using a separate outbound
                              enabled edge proxy so this isn’t a problem
                              for us.
                            </span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,</span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hugh</span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                              lang="EN-US"> <a moz-do-not-send="true"
                                href="mailto:sr-users-bounces@lists.sip-router.org"
                                target="_blank">sr-users-bounces@lists.sip-router.org</a>
                              [mailto:<a moz-do-not-send="true"
                                href="mailto:sr-users-bounces@lists.sip-router.org"
                                target="_blank">sr-users-bounces@lists.sip-router.org</a>]
                              <b>On Behalf Of </b>Peter Villeneuve<br>
                              <b>Sent:</b> 17 July 2014 13:10<br>
                              <b>To:</b> Daniel-Constantin Mierla;
                              Kamailio (SER) - Users Mailing List<br>
                              <b>Subject:</b> Re: [SR-Users] Msilo not
                              delivering message (status 408)</span></p>
                          <div>
                            <p class="MsoNormal"> </p>
                            <div>
                              <div>
                                <p class="MsoNormal">I guess no one
                                  really knows why it isn't working
                                  either.</p>
                              </div>
                              <p class="MsoNormal">The only option I
                                have left seems to be to try and update
                                to the 4.2 nightly and hope that
                                whatever's wrong is a bug with 4.1.4 and
                                not a simple mistake in my routing
                                syntax or logic.</p>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">Daniel, is 4.2
                                  nightly debian package stable enough
                                  for a production system? Would you
                                  recommend I upgrade?</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">Thanks</p>
                              </div>
                            </div>
                          </div>
                          <div>
                            <p class="MsoNormal"
                              style="margin-bottom:12.0pt"> </p>
                            <div>
                              <div>
                                <p class="MsoNormal">On Wed, Jul 16,
                                  2014 at 9:37 PM, Peter Villeneuve <<a
                                    moz-do-not-send="true"
                                    href="mailto:petervnv1@gmail.com"
                                    target="_blank">petervnv1@gmail.com</a>>
                                  wrote:</p>
                                <div>
                                  <p class="MsoNormal">Can anyone help
                                    please? I was supposed to have this
                                    server up and running hours ago and
                                    I can't think of anything to do next
                                    to help debug this.</p>
                                  <div>
                                    <p class="MsoNormal"> </p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal">Thanks</p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal"
                                      style="margin-bottom:12.0pt"> </p>
                                    <div>
                                      <div>
                                        <p class="MsoNormal">On Wed, Jul
                                          16, 2014 at 7:01 PM, Peter
                                          Villeneuve <<a
                                            moz-do-not-send="true"
                                            href="mailto:petervnv1@gmail.com"
                                            target="_blank">petervnv1@gmail.com</a>>
                                          wrote:</p>
                                        <div>
                                          <p class="MsoNormal">I removed
                                            the localhost listeners on
                                            TCP and UDP, and, as I
                                            suspected, Kamailio doesn't
                                            seem to like that.</p>
                                          <div>
                                            <p class="MsoNormal">Why
                                              isn't kamailio sending the
                                              message back through the
                                              TLS socket?</p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                          <div>
                                            <div>
                                              <p class="MsoNormal"> </p>
                                            </div>
                                            <div>
                                              <pre><span style="font-size:12.0pt;color:#393939">NOTICE: <script>: -------------------------MESSAGE PROCESSING: dumping offline messages</span></pre>
                                              <pre><span style="font-size:12.0pt;color:#393939">ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2</span></pre>
                                              <pre><span style="font-size:12.0pt;color:#393939">ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found</span></pre>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <div>
                                        <div>
                                          <div>
                                            <p class="MsoNormal"
                                              style="margin-bottom:12.0pt"> </p>
                                            <div>
                                              <div>
                                                <p class="MsoNormal">On
                                                  Wed, Jul 16, 2014 at
                                                  4:44 PM, Peter
                                                  Villeneuve <<a
                                                    moz-do-not-send="true"
href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>>
                                                  wrote:</p>
                                                <div>
                                                  <p class="MsoNormal">And
                                                    here's the full
                                                    routing block. I
                                                    copied it from
                                                    someone else on the
                                                    list that was
                                                    troubleshooting
                                                    msilo a while back.</p>
                                                  <div>
                                                    <p class="MsoNormal">Also,
                                                      I can confirm the
                                                      message never gets
                                                      delivered because
                                                      it remains in
                                                      msilo DB and
                                                      kamailio logs
                                                      shows it trying
                                                      and trying.</p>
                                                  </div>
                                                  <div>
                                                    <p class="MsoNormal"> </p>
                                                  </div>
                                                  <div>
                                                    <p class="MsoNormal"> </p>
                                                  </div>
                                                  <div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal">#######
                                                        Routing Logic
                                                        ########</p>
                                                    </div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal"> </p>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <p class="MsoNormal"
style="margin-bottom:12.0pt"><span style="color:#1f497d">…</span></p>
                                                    <div>
                                                      <div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal">On
                                                          Wed, Jul 16,
                                                          2014 at 4:38
                                                          PM, Peter
                                                          Villeneuve
                                                          <<a
                                                          moz-do-not-send="true"
href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>>
                                                          wrote:</p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Thanks
                                                          for your help
                                                          Daniel.</p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">OK
                                                          I ngrepped
                                                          port 5060 and
                                                          indeed the
                                                          message tries
                                                          to get
                                                          delivered.
                                                          However it
                                                          never arrives
                                                          at the client
                                                          (1010 in this
                                                          case).</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">I
                                                          have added
                                                          localhost
                                                          listeners for
                                                          UDP and TCP,
                                                          even though
                                                          all clients
                                                          register
                                                          through TLS
                                                          only (could
                                                          this be the
                                                          root of the
                                                          problem?). I
                                                          added
                                                          localhost
                                                          listeners
                                                          because I was
                                                          getting the no
                                                          socket found
                                                          error message.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Listening
                                                          on </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                   
                                                           udp: <a
                                                          moz-do-not-send="true"
href="http://127.0.0.1:5080" target="_blank">
                                                          127.0.0.1:5080</a></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                   
                                                           tcp: <a
                                                          moz-do-not-send="true"
href="http://127.0.0.1:5060" target="_blank">
                                                          127.0.0.1:5060</a></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                   
                                                           tls:
                                                          79.my.server.IP1:5061</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Aliases: </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                   
                                                           tcp:
                                                          localhost:5060</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                   
                                                           udp:
                                                          localhost:5080</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> 
                                                                     *:
my.domain.com:*</p>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">U
                                                          2014/07/16
                                                          15:29:14.904285
                                                          <a
                                                          moz-do-not-send="true"
href="http://127.0.0.1:5080" target="_blank">
                                                          127.0.0.1:5080</a>
                                                          ->
                                                          79.my.server.IP1:5060</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">MESSAGE
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:sip%3A1010@my.domain.com" target="_blank">
sip:1010@my.domain.com</a> SIP/2.0.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Via:
                                                          SIP/2.0/UDP
                                                          127.0.0.1:5080;branch=z9hG4bKcde3.542219f4000000000000000000000000.0.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">To:
                                                          <<a
                                                          moz-do-not-send="true"
href="mailto:sip%3A1010@my.domain.com" target="_blank">sip:1010@my.domain.com</a>>.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">From:
                                                          <<a
                                                          moz-do-not-send="true"
href="mailto:sip%3A1000@my.domain.com" target="_blank">sip:1000@my.domain.com</a>>;tag=def4124455da8a0b8e97eafabd028e26-2c30.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">CSeq:
                                                          10 MESSAGE.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Call-ID:
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:16b126996f51d89c-12460@127.0.0.1" target="_blank">
16b126996f51d89c-12460@127.0.0.1</a>.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Max-Forwards:
                                                          70.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Content-Length:
                                                          58.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">User-Agent:
                                                          kamailio
                                                          (4.1.4
                                                          (x86_64/linux)).</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Date:
                                                          Wed, 16 Jul
                                                          2014 15:22:31
                                                          GMT.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Content-Type:
                                                          text/plain.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">[Offline
                                                          message - Wed
                                                          Jul 16
                                                          15:22:31 2014]
                                                          Test 1,2,3</p>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"> </p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">On
                                                          Wed, Jul 16,
                                                          2014 at 8:58
                                                          AM,
                                                          Daniel-Constantin
                                                          Mierla <<a
moz-do-not-send="true" href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
                                                          wrote:</p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Hello,<br>
                                                          <br>
                                                          can you watch
                                                          the sip
                                                          traffic on the
                                                          network to see
                                                          if the sip
                                                          messages is
                                                          sent out? You
                                                          can use ngrep,
                                                          like:<br>
                                                          <br>
                                                          ngrep -d any
                                                          -qt -W byline
                                                          "sip" port
                                                          5060<br>
                                                          <br>
                                                          Cheers,<br>
                                                          Daniel</p>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"> </p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">On
                                                          14/07/14
                                                          19:56, Peter
                                                          Villeneuve
                                                          wrote:</p>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          style="margin-top:5.0pt;margin-bottom:5.0pt">
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Hi,
                                                          </p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">This
                                                          is most likely
                                                          a stupid
                                                          mistake on my
                                                          route config,
                                                          but msilo
                                                          correctly
                                                          stores
                                                          messages for
                                                          offline users,
                                                          but when they
                                                          come back
                                                          online, the
                                                          message never
                                                          arrives.</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Looking
                                                          through the
                                                          debug logs
                                                          indeed there
                                                          is an error,
                                                          with status
                                                          408, which
                                                          suggests
                                                          kamaiio can't
                                                          find a route
                                                          to the user
                                                          that just
                                                          logged. Before
                                                          I spend hours
                                                          looking
                                                          through all
                                                          the routing
                                                          blocks,
                                                          perhaps
                                                          someone more
                                                          exprienced in
                                                          kamailio can
                                                          see the
                                                          problem right
                                                          away and offer
                                                          a solution?</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">Thanks</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [msilo.c:1148]:
                                                          m_dump(): msg
                                                          [1-12] for: <a
moz-do-not-send="true" href="mailto:sip%3A1010@my.domain.com"
                                                          target="_blank">
sip:1010@my.domain.com</a></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          <core>
                                                          [io_wait.h:617]:
                                                          io_watch_del():
                                                          DBG:
                                                          io_watch_del
                                                          (0x8e3040, 9,
                                                          -1, 0x10)
                                                          fd_no=2 called</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          <core>
                                                          [tcp_read.c:1437]:
                                                          release_tcpconn():
                                                          releasing con
                                                          0x7f61ced1b1b0,
                                                          state 1, fd=9,
                                                          id=1</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> DEBUG:
                                                          <core>
                                                          [tcp_read.c:1438]:
                                                          release_tcpconn():
                                                           extra_data
                                                          0x7f61ced1c4f8</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          <core>
                                                          [tcp_main.c:3385]:
                                                          handle_tcp_child():
                                                          handle_tcp_child:
                                                          reader
                                                          response=
                                                          7f61ced1b1b0,
                                                          1 from 0 </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          <core>
                                                          [io_wait.h:390]:
                                                          io_watch_add():
                                                          DBG:
                                                          io_watch_add(0x89ec40,
                                                          26, 2,
                                                          0x7f61ced1b1b0),
                                                          fd_no=21</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          <core>
                                                          [tcp_main.c:3515]:
                                                          handle_tcp_child():
                                                          handle_tcp_child:
                                                          CONN_RELEASE
                                                           0x7f61ced1b1b0
                                                          refcnt= 1</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:1304]:
                                                          t_should_relay_response():
                                                          ->>>>>>>>>
                                                          T_code=0,
                                                          new_code=408</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:2086]:
                                                          local_reply():
                                                          DEBUG:
                                                          local_reply:
                                                          branch=0,
                                                          save=0,
                                                          winner=0</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:2123]:
                                                          local_reply():
                                                          DEBUG: local
                                                          transaction
                                                          completed</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_hooks.c:288]:
                                                          run_trans_callbacks_internal():
                                                          DBG:
                                                          trans=0x7f61ced1d868,
                                                          callback type
                                                          1024, id 0
                                                          entered</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [msilo.c:1317]:
                                                          m_tm_callback():
                                                          <b>completed
                                                          with status
                                                          408</b> [mid:
140058058335472/13]</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [msilo.c:1325]:
                                                          m_tm_callback():
                                                          message
                                                          <13> was
                                                          not sent
                                                          successfully</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [ms_msg_list.c:236]:
                                                          msg_list_set_flag():
                                                          mid:13 fl:8</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:1304]:
                                                          t_should_relay_response():
                                                          ->>>>>>>>>
                                                          T_code=0,
                                                          new_code=408</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:2086]:
                                                          local_reply():
                                                          DEBUG:
                                                          local_reply:
                                                          branch=0,
                                                          save=0,
                                                          winner=0</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_reply.c:2123]:
                                                          local_reply():
                                                          DEBUG: local
                                                          transaction
                                                          completed</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          tm
                                                          [t_hooks.c:288]:
                                                          run_trans_callbacks_internal():
                                                          DBG:
                                                          trans=0x7f61ced5f098,
                                                          callback type
                                                          1024, id 0
                                                          entered</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [msilo.c:1317]:
                                                          m_tm_callback():
                                                          completed with
                                                          status 408
                                                          [mid:
                                                          140058058329184/12]</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [msilo.c:1325]:
                                                          m_tm_callback():
                                                          message
                                                          <12> was
                                                          not sent
                                                          successfully</p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal">DEBUG:
                                                          msilo
                                                          [ms_msg_list.c:236]:
                                                          msg_list_set_flag():
                                                          mid:12 fl:8</p>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          </div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"> </p>
                                                          </div>
                                                          </div>
                                                          <pre>_______________________________________________</pre>
                                                          <pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list</pre>
                                                          <pre><a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a></pre>
                                                          <pre><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><span style="color:#888888"></span></pre>
                                                          </blockquote>
                                                          <p
                                                          class="MsoNormal"><span
style="color:#888888"><br>
                                                          <br>
                                                          </span></p>
                                                          <pre><span style="color:#888888">-- </span></pre>
                                                          <pre><span style="color:#888888">Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></span></pre>
                                                          <pre><span style="color:#888888"><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></span></pre>
                                                          </div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
                                                          SIP Express
                                                          Router (SER)
                                                          and Kamailio
                                                          (OpenSER) -
                                                          sr-users
                                                          mailing list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                                                          <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></p>
                                                          </div>
                                                          <p
                                                          class="MsoNormal"> </p>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                        <p
                                                          class="MsoNormal"> </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <p class="MsoNormal"> </p>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <p class="MsoNormal"> </p>
                          </div>
                        </div>
                        <hr>
                        <p class="MsoNormal"><span
style="font-size:7.5pt;line-height:115%;font-family:"Arial","sans-serif";color:gray">This
                            e-mail and any attachment
                            <span>is</span> for <span>authorised</span>
                            use by the intended recipient(s) only. It
                            may contain proprietary material,
                            confidential information and/or be subject
                            to legal privilege. It should not be copied,
                            disclosed to, retained or used by, any other
                            party. If you are not an intended recipient
                            then please promptly delete this e-mail and
                            any attachment and all copies and inform the
                            sender. Thank you for understanding.</span></p>
                      </div>
                      <br>
                      _______________________________________________<br>
                      SIP Express Router (SER) and Kamailio (OpenSER) -
                      sr-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:sr-users@lists.sip-router.org"
                        target="_blank">sr-users@lists.sip-router.org</a><br>
                      <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><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <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://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></pre>
  </body>
</html>