I want to update a table of my DB with the costs of the call I receive on the central.
I use
exten=>h,1,AGI(custo.php)
but this works only if the hangup happen by asterisk, if the operator or the caller hangup the call, script don’t read the cdr field to insert the cost of the call on my db
Can you help me?