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.miness...@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 < > jaugenst...@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", "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 >> 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_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@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 > >
_______________________________________________ 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