[Freeswitch-users] deflect and redirect

Jonas Gauffin jonas.gauffin at gmail.com
Thu May 8 06:52:27 EDT 2008


wiki updated: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_deflect

On Thu, May 8, 2008 at 11:32 AM, Brian West <brian at freeswitch.org> wrote:
> Redirect sends a 302
>
>  Deflect sends a refer
>
>  /b
>
>
>
>  On May 8, 2008, at 2:33 AM, Jonas Gauffin wrote:
>
>  > Hello
>  >
>  > I don't really know what "deflect" means, but it works as redirect on
>  > established calls.
>  > Some of you might use redirect in your dialplans, and it will not work
>  > on established calls (for instance if you transfer a call in a
>  > javascript using the dialplan).
>  > In this case you need to use the deflect app (which doesn't work with
>  > new calls).
>  >
>  > This means that your dial plan need to use redirect on new calls and
>  > deflect on established calls.
>  > I solved it by setting a session variable everything I do a transfer
>  > and then check it to determine if redirect/deflect should be used.
>  >
>  > //Jonas
>  >
>  > _______________________________________________
>  > 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
>
>  Brian West
>  sip:brian at freeswitch.org
>
>
>
>
>  _______________________________________________
>  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
>



More information about the Freeswitch-users mailing list