Hi,
I'm new to freeswitch, and might be missing some basic points.

I am trying to bridge a call from a caller (sip client on the web) to an external profile endpoint, which happens to be an asterisk install.

The call part works fine, only that if leg B ( asterisk ) hangs up ( say, for a queue timeout),  the sip client (leg A) never receives the hangup event, even if the log seems to assert that it does. I have tried with different sip clients.

this is the basic configuration of the extension

<extension name="wwd">
  <condition field="destination_number" expression="^123"$>
    <action application="set" data="hangup_after_bridge=true"/>
    <action application="bridge" data="sofia/external/$1@192.168.0.16"/>
    <action application="hangup" />
  </condition>
</extension>

I have attached the "hangup" part of the log.
Thank you
Andrea