Newbie alert
I have a GXW4108 FXO gateway which converts 8 PSTN lines to VOIP.
I have installed freepbx from scratch using the distro Stable-1.815.210.58 Release Date-08/14/12
Everything is working as intended except for one minor glitch.
I have an IVR on FreePBX. Any incoming call on the GXW4108 hits an IVR on FreePBX.
Once the user chooses an option the call gets transferred to a queue.
All this works.
However when the queue is ringing, if the original PSTN caller hangs up - freepbx/asterisk keeps ringing the queue till it is answered. The answering agents gets just a call hungup tone.
By doing so, it also keeps the incoming PSTN line busy - even though the original caller has hung up.
I tried to isolate the problem - whether it is Grand Stream problem of not sending a caller hangup or whether it is an asterisk/freepbx issue.
I tested calling the same ivr from an internal extension and selected an option which took me to a queue, when the queue was ringing, I disconnected and the queue also stopped ringing its agents.
To confirm that it is a Grandstream problem, I tried redirecting the IVR option to an extension rather than a queue.
During this scenario, when the PSTN caller chose the IVR option, the extension rang (i.e with out using a queue). Before the call was answered the PSTN caller hungup, the extension stopped ringing and PSTN line became free.
As you can see, the problem occurs only when a queue is used and the call originates from a PSTN line.
My setup is as follows
PSTN lines --> GX4108 --> FreePBX -> Extensions
GX4108 PSTN channels register in FreePBX as SIP extension.
I am not using any trunks or incoming routes to transfer calls between the FXO gateway and the freePBX.
Could you please throw some light on what is that I need to look for to make the queue hangup when the PSTN caller hangs up.
With regards
Krishna