[Freeswitch-users] sofia deflect issue

jonathan augenstine jaugenstine at gmail.com
Tue Jan 6 06:29:34 PST 2009


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 at 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 at 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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090106/12de6d06/attachment-0002.html 


More information about the FreeSWITCH-users mailing list