Cannot detect HangUp on SIP Bridge

Hi Forum,

this is my first post, hope is on the right placae.

I have a problem cannot find a solution.

I created a call me back button on the web, which builds a DialOut file and moves it on /var/spool/asterisk/outgoing

this file calls the person to entered the phone number, once connected, does a DIAL to another phone number.

this works perfect, until:

when the person who entered the phone hangups, the call is still active on the DIAL, and stays there for around 60 seconds sometimes until does some kind of timeout. For the person who is on the other side is a pain because receives calls with nobody on the other side.

anyone knows how to force TB to hangup both calls once one of the party hangup?

thanks in advance!