[SR-Users] execute callback every X minutes mid call

Avremy Cohen avi at avipc.net
Tue Jun 22 13:34:27 CEST 2021


solution worked,

thanks

On Tue, May 18, 2021 at 3:16 PM Henning Westerholt <hw at skalatan.de> wrote:

> Hi,
>
>
>
> Just some ideas for research:
>
>
>
> IMS route:
> https://kamailio.org/docs/modules/devel/modules/ims_charging.html
>
>
>
> Using SIP session timer and then executing on the periodic re-INVITE the
> check and end the dialog if needed
>
>
>
> Insert the call in a user specific profile together with a dialog timeout
> and then periodically check the profiles in a timer route and update the
> timeout
>
>
>
> Insert the call in a hash table together with a timeout and then
> periodically checks this again in a timer route
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users <sr-users-bounces at lists.kamailio.org> *On Behalf Of *Avremy
> Cohen
> *Sent:* Tuesday, May 18, 2021 11:29 AM
> *To:* sr-users at lists.kamailio.org
> *Subject:* [SR-Users] execute callback every X minutes mid call
>
>
>
> Hi
>
> I am trying to execute code every X min in active calls and I cant seem to
> find any way to do this. I basically have a function  that checks if the
> user has balance and permission to carry on the call and the callback
> should trigger it every X mins.
>
>
>
> The  call_control module doesnt work for me since
>
>                 A. It doesn't trigger a function it just ends the callback
>
>                 B. it uses an external application to calculate it
>
>
>
> any advice is appreciated
>
> Avi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210622/b6e6c179/attachment.htm>


More information about the sr-users mailing list