Hi Guys,
 
This one has me stumped.
 
I'm originating a call, playing audio, trapping on DTMF and bridging to another endpoint (read phone number)
 
If the A leg hangs up, then the call is cleared down and all is well.  However if the B Leg attempts to hang-up, the LUA script that is handling the bridge continues to play audio to the a leg, while the B leg is in limbo.  It does eventually time out with no RTP. 
 
Running Sofia debug on the cli shows that I'm getting the BYE from the B Leg, but that's about as far as I can get.  The hang-up hook is not being fired in the lua script.
 
Anyone give me some pointers as to where I might start looking?
 
regards