[Freeswitch-users] How do you split bridged calls ?

Dave R. Kompel drk at drkngs.net
Wed May 23 20:39:13 MSD 2012


Or you  could use uuid_transfer, such as "uuid_transfer <uuid> -both park inline". If you want to use dialplan apps in the transfer just use the "inline" dialplan, and not XML.  
   
--Dave
      _____  

  From: Avi Marcus [mailto:avi at avimarcus.net]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Tue, 22 May 2012 23:31:45 -0700
Subject: Re: [Freeswitch-users] How do you split bridged calls ?

  
You can't transfer to a playback. Playback is a dialplan application, not a destination.  
You can, however, playback to each leg individually with http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast  
 uuid_broadcast <uuid> <path> [aleg|bleg|both]  

  
here it would be:  
api uuid_broadcast c1061126-a429-11e1-9da3-85575e903927 phrase::AC_0003 aleg  
for A leg. I think.  
Please update the wiki to make it more descriptive after you play with it.  

  
Of course, this still leaves the calls together. If you want to split them I suppose you really need to transfer each leg TO somewhere.  

  
-Avi


  
On Wed, May 23, 2012 at 3:02 AM, Gilbert Amar <gamar at center.com> wrote:
    
  
  
Hello   
   
I am trying to split bridged calls.  
Using mod_event_socket  I try this  
   
         api uuid_transfer c1061126-a429-11e1-9da3-85575e903927 -both playback::phrase:AC_0003:  
   
It does not work as FS seems to really need an extension.  
   
the other option I could try is :  
   
         api uuid_transfer c1061126-a429-11e1-9da3-85575e903927 -both park  
   
and then for each leg:  
   
         sendmsg  
         call-command: execute  
         execute-app-name: playback  
         execute-app-arg: phrase:AC_0003:  
   
Is there a better way ?  
I am using FreeSWITCH Version 1.0.head (git-fdaa155 2012-02-10 13-17-54 +0000)  
   
Thank you  
   
Gilbert  
   
   
 
_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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/20120523/6d07469e/attachment.html 


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