Be aware that OpenSips uses a fixed number of processes to handle requests (see "fork" and "children" parameters), so looping and sleeping in the script could really kill performance.
On Wed, Apr 30, 2014 at 1:09 PM, Gary Nyquist <[email protected]> wrote: > Thanks Tito.... > > > > ----- Original Message ----- > > From: Tito Cumpen > > Sent: 04/30/14 03:10 PM > > To: OpenSIPS users mailling list > > Subject: Re: [OpenSIPS-Users] sleep > > Gary, > > > You may use this module > > http://www.opensips.org/html/docs/modules/1.4.x/cfgutils.html > > and this function > > http://www.opensips.org/html/docs/modules/1.4.x/cfgutils.html#id293666 > > > Thanks, > Tito > > On Wed, Apr 30, 2014 at 2:47 PM, Gary Nyquist <[email protected]> wrote: >> >> Hello, >> >> >> >> I am using to use a 'while()' loop in the opensips.cfg file. >> >> And need to put a delay of 1 second in the loop. >> >> >> >> Is there any 'sleep' function to create the delay? >> >> >> >> Best >> >> --Gary >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Ryan Mitchell <[email protected]> Telecom Logic, LLC +15035934551
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
