I have a lua script that plays a prompt and then collects digits from an inbound call. After making a database query the call is either dropped or transferred to another server. The way I transfer the call is via the 'deflect' command. I execute that command as follows:<br>
<br>session:execute("deflect", "user@target_server");<br><br>When I do a tcpdump, everything seems to progress as expected. I see the correct SIP messages exchanged, but after the last 200 OK is transferred Freeswitch starts sending BYE messages to the client and the client hangs up with an "Abnormal call termination". According to RFC 3515 there are no BYE messages in the protocol exchange. I have set auto hangup to false. Any ideas on what I might be doing wrong?<br>
<br>Jonathan<br><br>