did you answer the call because deflect only works on calls that have been
answered since it sends a refer.
before you answer you can use the "redirect" app instead to reply with a 302
rather than blind xfer.


On Mon, Jan 5, 2009 at 10:43 PM, jonathan augenstine
<[email protected]>wrote:

> 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:
>
> session:execute("deflect", "u...@target_server");
>
> 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?
>
> Jonathan
>
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to