$$\int_{\theta =0}^T \left\{ \sum\limits_{u=0}^{S_1-1} \sum\limits_{m=0}^{S_1-u-1} p( m,\lambda_{0,1}(T-\theta)) p(u,\lambda_1\theta) \right\}\lambda _0 p(S_0-1,\lambda_0\theta ) \,d\theta $$
I am trying to work out this integral, I will appreciate if someone help. Thanks!
There are two independent Poisson process with rate of $\lambda_1$ and $\lambda_0$.