[SR-Users] PRE-PAY update timer

Aqs Younas aqsyounas at gmail.com
Sat May 25 00:39:14 CEST 2019


I would say use cgrates for this purpose with kamailio. It is especially
designed for billing stuff.

Br, Aqs.

On Fri, 24 May 2019, 10:19 pm Steve Bucklin, <steve at telcoelectronics.uk>
wrote:

> Hello all (again),
>
> I am looking at a 'good' method to start a call with "chunks" of time
> allocated. I wish the initial call to check a credit, and if credit is
> good, allow a small amount of time (say 30 seconds). I have enabled
> DIALOG and have looked at CNXCC, but am confused!
>
> When the initial 30 seconds runs out, I want to authorise another 30
> seconds, etc, etc, etc. I have started to play and set a dialog timer
> that expires to a route, and then can 'return' allowing the call to
> continue - BUT was not able to reset the dialog timer to trip again
> after another 30 seconds.
>
> I tried to 'set_max_time' on cnxcc, but this did not seem to trip the
> event route upon timeout?
>
> Does anyone have a pointer to any examples? I also am unsure of how to
> update the timer and keep a call in play!
>
> Steve
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190525/1a52f467/attachment.html>


More information about the sr-users mailing list