I have a TDM410P-card with 3 FXO-modules.
When I call the number of one of these PSTN-lines that terminate in an FXO-module of my Asterisk-server, the call is excepted.
In the weekend there’s an IVR that states that the store is closed.
At the end of the IVR-prompt, Asterisk need to hang up the line after the message was read to the caller.
I use the Hangup()-command in my dialplan.
But the line is not hanged up. There is no tone send to the caller that gives the impression that the call was hung up by Asterisk.
When I look at the time, that indicates the duration of the call, it just keeps on counting…
The call is only really terminated when the caller puts down his phone and ends the call.
I see one temporary solution to this : I use the congestion()-command to make the caller put down the phone when he hears the congestion-tone.
But this is certainly not the way to go ?
How can I force Asterisk to hang up the line ?!