[Freeswitch-users] Blind transfer with call waiting

Michael Collins msc at freeswitch.org
Fri May 3 23:10:15 MSD 2013


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 at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130503/346fdd75/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list