<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>you could try to send the messages back to kamailio via outbound
      proxy option, then add some delay via script operations. Be
      careful not to block the sip worker processes, therefore look at
      the asynchronous routing options.</p>
    <p>Of course, patching the module and writing a bit of c code can be
      also a solution.</p>
    <p>Another one is to make some external script that fetches from the
      database and injects sip messages (e.g., via sipsak or sipp) at
      the pace you want.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07.07.17 17:02, Rahul Mehta wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALxQ6eNqjd7WAny6sjZ7_oHpr++8_y9RVg5GWRxSxXsL_2QaeQ@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>Hello,<br>
            <br>
          </div>
          We are facing scenario when msilo dump function is called the
          user's device gets hanged/crash as messages are sent together
          to the user  who gets online,please provide solution how to
          delay the messages which are send to the user when 'm_dump'
          function is called.<br>
          <br>
        </div>
        I am providing the code of m_dump function<br>
        <br>
        <br>
         if (m_dump("$fu"))<br>
                         {<br>
                                        xlog("L_INFO","MSILO: offline
        messages dumped - if they were\n");<br>
                          }else{<br>
                                        xlog("L_INFO","MSILO: no offline
        messages dumped\n");<br>
                         };<br>
        <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>