Was trying to 'listen' in on an extension and discovered an interesting bug.
Asterisk 10
Freepbx 2.10
Fop2 2.24
Call out via iax trunk. Call was muted on our end.
I used fop2 to 'listen' in on said call by highlighting the extension then clicking the ear.
I couldn't hear anything. When I hung up my end, fop2 showed I still had a line in use. SIP Show Channelstats confirmed the same. Tried listening in again to see if that would clear it but it only added another channel.
Channel request hangup did not work.
Un-muting the main call didn't affect the orphaned channels.
Hanging up the main call did result in the channels being hungup/released.
Reproducible.
-Greg