You are having trouble with the disconection supervision.
Does your line have remote disconection supervision???? That is a signal sent by the phone company via the wires, to the gateway, when a person (the one that intiated the call) hangs up the phone.
Again, a person calls from a normal phone to your gateway. The Central Office or phone company equipment sends 110 vols A.C. voltage down the line to “alert” you.
That voltage, normally 25 hz, 100 to 110 volts, is received by the Quintum, and detected as “ringing voltage”.
The quintum answer the call, provides IVR or second dial tone to the caller.
Person enters account number ,or just dial the call. Talsk for few minutes and decides to hang up.
This is the critical moment: If you are on the US and your lines are provisioned for the option called “forward supervision”, the phone company detects that the caller hanged up, and send forward to the Quintum a “forward disconnect” signal, to tell the Quintum that is time to go idle again.
This is not a audible signal. It is a reversal of the polarity of the DC voltage normally sent by the phone company to the phone, or gateway.
The gateway detects this signal, if it is setup correctly, and disconnect the call, release the channel ,and stop the billing, sending a stop accounting message to the billing system.
If you do not get that signal from the phone company, you need to setup your gateway to “listen” for audible tones that indicate that the phon call ended. That is more troublesome and tricky to setup.
Where are you at???? If you are on the US, it is easy to get forward disconnect. Most other countries, you do not have that option.