[OpenSIPS-Users] How to end a call after a specific elapsed time

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Nov 5 14:44:56 CET 2008

Hi Cristian,

email answered on  devel list.


Cristian Galvez wrote:
>     Hello everybody,
>     I'm beginning to work with OpenSips some months ago, and I get
>     opensips running on Ubuntu 7.10 and 8.04 (I tried with Kamailio
>     too, but I couldn't get running on that platforms, so I discarded
>     working with it).
>     I want to know how to set a timeout for duration's call (for
>     subscriber's quota controlling).
>     I've been studying the sst, dialog and tm modules, and I think the
>     dialog modules would permit me that (by setting some callback
>     function ) for catching the timeout, let's say of 3 minutes, of a
>     call has elapsed that duration, and this way (inside the callback
>     function) to send a BYE SIP message to end that call.
>     I would really appreciate somebody can help me with this, either
>     giving me an example of code (ideally, to faster knowledge of
>     use), or indicating me and URL where can I get more clarifier
>     documentation apart of the
>     http://www.opensips.org/html/docs/modules, because I'm already
>     working with that but I isn't enough.
>     Thanks in advance.
>     Cristian Galvez
> ------------------------------------------------------------------------
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list