< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Own application times


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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel