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

Anthony Minessale anthony.minessale at gmail.com
Mon Oct 27 08:26:08 PDT 2008


try executing the api command uuid_park on the uuid before you make it into
a js obj
that way it will exit the conference and be waiting in park for you to
control it.


On Mon, Oct 27, 2008 at 5:47 AM, Birgit Arkesteijn <birgit at westhawk.co.uk>wrote:

> Hi,
>
> Sorry for the confusion ...
>
> The project in general: our service is to connect a consumer with a
> number of merchants, one after the other, to discuss potential work.
> When it's not possible to reach any merchants, the consumer is connected
> to a customer service representative.
>
> This is implemented by first dropping the consumer into a conference
> call, followed the first merchant. When the merchant hangs up, we try to
> connect the next merchant.
>
> In order to connect the consumer to the customer service representative,
> the consumer should be bridged out off the conference call to the
> customer service representative. The reason to leave the conference call
> is that the customer service person should be able to transfer the
> consumer manually.
>
> I'm using Javascript to implement this & I'm currently stuck on the last
> step. I'm running FreeSWITCH version 596:10131.
> Here is the function for this particular step:
>
> function bridge_to_customer_services(conf_name, member_id, uuid,
> customer_service_url)
> {
>      // uuid: uuid of the consumer
>     // customer_service_url: end point / gateway to the customer service
>
>     if (member_id && uuid)
>      {
>         log("create new consumer session object: " + uuid);
>         var cSession = new Session(uuid);
>         cSession.setAutoHangup(false);
>         cSession.execute("bridge", customer_service_url);
>     }
> }
>
> My problem:
> 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.
>
> My understanding was the bridging should move the consumer out off the
> conference call. Did I misunderstand?
>
> I tried to 'kick' the consumer out off the conf call first, but that
> results in a hangup.
>
> Thanks, Birgit
>
>
> On 23/10/08 18:34, Anthony Minessale wrote:
> > what are you doing again?
> > I think I lost track?
> >
> >
> > On Thu, Oct 23, 2008 at 12:09 PM, Birgit Arkesteijn
> > <birgit at westhawk.co.uk <mailto:birgit at westhawk.co.uk>> wrote:
> >
> >     Hi,
> >
> >     Unfortunately the problem is still there, i.e. two channels and one
> >     conference call, where 0662 is in both.
> >
> >     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
> >     992057f4-a124-11dd-bc6b-8f534faa1be0,2008-10-23
> >
> 18:04:05,1224781445,sofia/external/0662,CS_SOFT_EXECUTE,FreeSWITCH,0000000000,,0662,bridge,sofia/gateway/doneright/0663,,default,PCMA,8000,PCMA,8000
> >     99f565b6-a124-11dd-bc6b-8f534faa1be0,2008-10-23
> >
> 18:04:06,1224781446,sofia/external/0663,CS_EXCHANGE_MEDIA,FreeSWITCH,0000000000,,0663,,,,default,PCMA,8000,PCMA,8000
> >
> >     2 total.
> >
> >
> >     freeswitch at apso> conference list
> >     API CALL [conference(list)] output:
> >     Conference 25 (1 member)
> >
> 3;sofia/external/0662;992057f4-a124-11dd-bc6b-8f534faa1be0;FreeSWITCH;0000000000;hear|speak|talking|floor;0;0;300
> >
> >
> >     Any ideas?
> >
> >     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>
>
> _______________________________________________
> 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/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081027/03f5678f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list