[Serusers] Automatic end of call

inge inge at legos.fr
Fri Mar 28 19:27:57 CET 2008


SO it's difficult to send a BYE after 2 hours exactly. Any other
solution maybe or more help on this workarround ?

Thanks

Le vendredi 28 mars 2008 à 18:13 +0100, Martin Hoffmann a écrit :
> inge wrote:
> > 
> > I read informations about SIPSAK. But how can I generate a BYE only when
> > the communication duration is equal to 2 hours ?
> 
> I don't remember the details, but I think we were using a cron job do
> generate CDRs from accounting data and on that occassion (where you have
> to match INVITEs and BYEs, anyways), were generating those BYEs for
> calls over a certain duration (ie., INVITEs a certain time ago).
> 
> > Indeed, the RTP is establish between UAs in P2P. So, I would have to
> > test for each actives calls, everytime, the difference between start
> > date and current ?
> 
> Pretty much, yes. Depending on the amount of calls you have and the
> accuracy you need, you can vary the frequency of your cron job.
> 
> Regards,
> Martin




More information about the sr-users mailing list