[reSIProcate] Own application times

Scott Godin sgodin at sipspectrum.com
Tue Nov 3 11:44:52 CST 2009


Hi Gregor,

You can subclass the DumCommand object, and then use Stack::postMS(timerMsg,
postTimeMs, &mDum).

See UserAgentTimeout class in resip/recon/UserAgentCmds.hxx and
UserAgent::startApplicationTimer in resip/recon/UserAgent.cxx

Once the timer fires the executeCommand method on your subclassed DumCommand
object will be called.

Scott

On Tue, Nov 3, 2009 at 12:18 PM, Gregor Jasny <jasny at vidsoft.de> wrote:

> Hi,
>
> is it possible to use the existing timer infrastructure to fire custom
> timers?
>
> I want to debug a 3rd party SIP client and want my UAS to send delayed
> Trying, Ringing and OK messages after a specific amount of time.
>
> Can anyone please blueprint what I have to do?
>
> Thanks,
> Gregor
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20091103/332c2858/attachment.htm>


More information about the resiprocate-devel mailing list