[Freeswitch-users] Take uuid out of conference and bridge

Birgit Arkesteijn birgit at westhawk.co.uk
Tue Oct 28 08:30:28 PDT 2008


Hi Anthony,

Thanks again for your suggestion, unfortunately  this doesn't do the 
trick either.

The consumer (uuid) is indeed taking out of the conference call, but not 
bridged to the customer_service_url.

I don't hear anything on the customer_service_url's phone. After a while 
it gives me a ringing noise, the same noise as when you pick up the 
phone before dialing. The number doesn't appear in the 'show channels' 
command.

freeswitch at apso> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
efd21ba4-a503-11dd-9791-fb4b4185c9cb,2008-10-28 
15:20:21,1225207221,sofia/external/0662,CS_RESET,FreeSWITCH,0000000000,,0662,conference,25 at default,,default,PCMA,8000,PCMA,8000

1 total.

freeswitch at apso> conference list
API CALL [conference(list)] output:
No active conferences.


Here is the changed function (to be sure):
function bridge_to_customer_services(conf_name, member_id, uuid, 
customer_service_url)
{
     if (member_id && uuid)
     {
         var sSession = new 
Session("{ignore_early_media=true,originate_timeout=10}"
             + customer_service_url);
         var ready = sSession.ready();
         if (ready == true)
         {
             sSession.execute("intercept", uuid);
         }
     }
}

Thanks, Birgit


On 28/10/08 14:54, Anthony Minessale wrote:
> wait a minute,
> 
> Can't you just do:
> 
> var cSession = new Session(customer_service_url);
> cSession.execute("intercept", uuid);
> 
> intercept will steal the call from whatever it's doing and bridge it.
> 
> 
> On Tue, Oct 28, 2008 at 8:50 AM, Birgit Arkesteijn 
> <birgit at westhawk.co.uk <mailto:birgit at westhawk.co.uk>> wrote:
> 
>     Hi Anthony,
> 
>     Sorry, but it still doesn't work in
>     FreeSWITCH Version 1.0.trunk (597:10176)
> 
>     It actually makes it worse sometimes.
>     Maybe it's a timing issue, but one of two things happen:
>     1.
>     The same problem happens as before:
>     The two calls are bridged, however the consumer remains in the
>     conference call. Since the consumer was alone in the conference, the
>     hold music keeps playing.
> 
>     or
> 
>     2.
>     2008-10-28 13:42:56 [INFO] mod_dptools.c:1843 audio_bridge_function()
>     Originate Failed.  Cause: ORIGINATOR_CANCEL
> 
>     Thanks, Birgit
> 

-- 
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>




More information about the FreeSWITCH-users mailing list