you might want to add {ignore_early_media=true} to the dial string
and also make sure it was properly setup by testing for
sSession.ready() before executing intercept but I know that would work I tested a similar situation in my box.
is the channel who is in the conference in there via a js also,
are you being sure to test for session.ready to release the channel from the script
when the system wants it back?
try it yourself
call the conference directly eg ext 3000 on defaults
note the uuid of that call as uuida
originate a channel into park
originate {ignore_early_media=true}/some/dial_string &park()
note that uuid as uuidb
try the cli command
uuid_transfer <uuidb> intercept:<uuida> inline
that's the same equivalent as what you are trying to do
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.
efd21ba4-a503-11dd-9791-fb4b4185c9cb,2008-10-28
freeswitch@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
15:20:21,1225207221,sofia/external/0662,CS_RESET,FreeSWITCH,0000000000,,0662,conference,25@default,,default,PCMA,8000,PCMA,8000
No active conferences.
1 total.
freeswitch@apso> conference list
API CALL [conference(list)] output:
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 = newsSession.execute("intercept", uuid);
Session("{ignore_early_media=true,originate_timeout=10}"
+ customer_service_url);
var ready = sSession.ready();
if (ready == true)
{
}
}
}
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
> 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@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>
_______________________________________________
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