[SR-Users] How to delay messages when msilo messages are dumped

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 10 09:03:14 CEST 2017


Hello,

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.

Of course, patching the module and writing a bit of c code can be also a
solution.

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.

Cheers,
Daniel


On 07.07.17 17:02, Rahul Mehta wrote:
> Hello,
>
> 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.
>
> I am providing the code of m_dump function
>
>
>  if (m_dump("$fu"))
>                  {
>                                 xlog("L_INFO","MSILO: offline messages
> dumped - if they were\n");
>                   }else{
>                                 xlog("L_INFO","MSILO: no offline
> messages dumped\n");
>                  };
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170710/95e65a05/attachment.html>


More information about the sr-users mailing list