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@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

On 27/10/08 17:15, Anthony Minessale wrote:
> try updating to latest and see if uuid_park works now.
>
>
> > On Mon, Oct 27, 2008 at 11:32 AM, Birgit Arkesteijn
> > <birgit@westhawk.co.uk <mailto:birgit@westhawk.co.uk>> wrote:
> >
> > Hi Anthony,
> >
> > Thanks for your feedback.
> > Unfortunately the uuid_park doesn't remove the consumer out off from the
> > conference.
> >
> > function bridge_to_customer_services(conf_name, member_id, uuid,
> > customer_service_url)
> > {
> >     if (member_id && uuid)
> >     {
> >         var res = apiExecute("uuid_park", uuid);
> >         log("after uuid_park: " + res);
> >
> >         log("create new consumer session object: " + uuid);
> >         var cSession = new Session(uuid);
> >         cSession.setAutoHangup(false);
> >         cSession.execute("bridge", customer_service_url);
> >     }
> > }
> >
> > If you want to run this scenario yourself(ves), I could email you my
> > three js files that run the whole process.
> >
> > 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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

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
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400