[Asterisk-Dev] Callingcard (again, sorry!)
Apollon Koutlides
apollon at planewalk.net
Wed May 19 04:44:54 MST 2004
Terence Parker wrote:
>app_agi.c:1511 agi_exec: If you want to run AGI on hungup channels you
>should use DeadAGI!
>
>
I'm developing a prepaid platform myself on asterisk (will be in a
release-able state soon enough, I hope) and encountered the
charge-on-termination dilemma myself. Initially I tried to go for the
hangup extension, but ended up using the CDRs which I would have to
consult anyway. I am currently checking two different approaches: a) use
csv CDRs, open the file in pipe mode, capture new records, charge
customer and store charging record to database. b) use postgres CDRs and
triggers to implement charging. The second approach has some extra
merit, since you can host the charging engine outside the asterisk box.
I intend to experiment with the radius application too, at some point in
time. I am also using pretty complex tariffs, and have created a daemon
to do tariff lookups - this helps a whole lote to improve redundancy and
offload the * box.
Just my Eu 0,02 :)
Apollon Koutlides
More information about the asterisk-dev
mailing list