My remaining probs is that gateway do not end the call properly.
Even though the called number already end the call, box is still engaged as can be seen in ch calls command.
the signalling is loopstart. Also when the calling number is the one who hangsup, the box properly ends the line.
what can be wrong?