I've never tried campon with the att_xfer app. Try it out and let us know if it works! -MC On Fri, May 3, 2013 at 5:54 AM, Tiago Sampaio <tnsampaio@bsd.com.br> wrote:
Its exactly what i need! Thx.
But i supose it may work with att_xfer, correct? Here when i hangup when start att_xfer call hungup...
Em 02-05-2013 17:12, Anthony Minessale escreveu:
you could try http://wiki.freeswitch.org/wiki/Variable_campon
On Thu, May 2, 2013 at 2:43 PM, Tiago Sampaio <tnsampaio@bsd.com.br>wrote:
Is there something like blind transfer with call waiting when the target is busy?
I have a situation here, EX: When Jhon (user 1001) answer a call and and customer ask to talk to Robert (user 1002), Jhon do a blind tansfer an hangup. Currently im wasting that call when Robert is busy. I need an way to park the call and when Robert become available ring his extension (and maybe put an timeout and call back to Jhon).
Im currently writing an script with perl to do this, something like that (i do this from memory):
use strict; use POSIX qw(strftime); my ($target_ext,$source_ext,$tryes); my $max_time = 30;
our $session;
$target_ext = $session->getVariable('target_ext'); $source_ext = $session->getVariable('source_ext');
while($tryes <= $max_time){ my $uuid = $session->execute("db","select/in_a_call/$target_ext");
if(!$uuid) $session->execute("trasfer","$target_ext XML transfer_context");
sleep(1); $tryes++; }
$session->execute("transfer","$source_ext XML transfer_context");
Before call an extension i do db insert/in_a_call/<EXTENSION>/${uuid} and after db delete/in_a_call/<EXTENSION>
But in thinking will be too hard to maintain this code and must be an easier way to do this...
Any help?
_________________________________________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
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 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org