Yes, I do answer the call.  The call flow is the lua script answers the call, plays a prompt, collects a pin code via playAndGetDigits, and then after a database lookup transfers the call via deflect.

On Tue, Jan 6, 2009 at 5:47 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
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 <jaugenstine@gmail.com> 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", "user@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
Freeswitch-users@lists.freeswitch.org
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:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org