Re: [Freeswitch-users] Transferring calls - can Freeswitch instruct the up-stream provider to do the transfer?
yes, see deflect vs redirect on the wiki, deflect sends a refer and the redirect sends a 302, I don’t know of any provider up stream that will take a refer and act on it. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On 2013-11-18, at 4:46 PM, Clive Lansink <clive@lansink.co.nz> wrote:
Hi everyone.
I have an IVR application written in Python that utilises Freeswitch to handle all the SIP and VOIP stuff. However in this case, Freeswitch is really only the end point and is not the client's PBX system. The client would like an option that will cause the incoming call to be transferred to a specified destination. The destination is an outside number and not a Freeswitch extension.
I am playing with this now. I believe I can use the API originate command to originate a call to the specified destination and use the bridge application to bridge them. But even if that works, it would mean the incoming call is still being routed right through Freeswitch and out again to the destination.
Now is there a way I can tell Freeswitch to issue like a call transfer command to the up-stream provider so Freeswitch can then hang up and the call can be handled elsewhere?
In the old days, and in fact I have done this in a much earlier version of this same IVR application, I would have sent a flash to the outside world, wait for dialtone then dial the destination number, wait for ring and then hang up. Can anyone advise how would I do something like that now?
Cheers.
Clive Lansink Email: Clive@Lansink.Co.NZ Phone: +64 9 520-4242 Mobile: +64 21 663-999 Fax: +64 21 789-150
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (1)
-
Brian West