try updating to latest and see if uuid_park works now.<br><br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 11:32 AM, Birgit Arkesteijn <span dir="ltr"><<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Anthony,<br>
<br>
Thanks for your feedback.<br>
Unfortunately the uuid_park doesn't remove the consumer out off from the<br>
conference.<br>
<div class="Ih2E3d"><br>
function bridge_to_customer_services(conf_name, member_id, uuid,<br>
customer_service_url)<br>
{<br>
</div> if (member_id && uuid)<br>
{<br>
var res = apiExecute("uuid_park", uuid);<br>
log("after uuid_park: " + res);<br>
<div class="Ih2E3d"><br>
log("create new consumer session object: " + uuid);<br>
var cSession = new Session(uuid);<br>
cSession.setAutoHangup(false);<br>
cSession.execute("bridge", customer_service_url);<br>
}<br>
}<br>
<br>
</div>If you want to run this scenario yourself(ves), I could email you my<br>
three js files that run the whole process.<br>
<br>
Thanks, Birgit<br>
<div class="Ih2E3d"><br>
On 27/10/08 15:26, Anthony Minessale wrote:<br>
> try executing the api command uuid_park on the uuid before you make it<br>
> into a js obj<br>
> that way it will exit the conference and be waiting in park for you to<br>
> control it.<br>
><br>
><br>
> On Mon, Oct 27, 2008 at 5:47 AM, Birgit Arkesteijn<br>
</div><div class="Ih2E3d">> <<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a> <mailto:<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
</div><div><div></div><div class="Wj3C7c">> Sorry for the confusion ...<br>
><br>
> The project in general: our service is to connect a consumer with a<br>
> number of merchants, one after the other, to discuss potential work.<br>
> When it's not possible to reach any merchants, the consumer is connected<br>
> to a customer service representative.<br>
><br>
> This is implemented by first dropping the consumer into a conference<br>
> call, followed the first merchant. When the merchant hangs up, we try to<br>
> connect the next merchant.<br>
><br>
> In order to connect the consumer to the customer service representative,<br>
> the consumer should be bridged out off the conference call to the<br>
> customer service representative. The reason to leave the conference call<br>
> is that the customer service person should be able to transfer the<br>
> consumer manually.<br>
><br>
> I'm using Javascript to implement this & I'm currently stuck on the last<br>
> step. I'm running FreeSWITCH version 596:10131.<br>
> Here is the function for this particular step:<br>
><br>
> function bridge_to_customer_services(conf_name, member_id, uuid,<br>
> customer_service_url)<br>
> {<br>
> // uuid: uuid of the consumer<br>
> // customer_service_url: end point / gateway to the customer service<br>
><br>
> if (member_id && uuid)<br>
> {<br>
> log("create new consumer session object: " + uuid);<br>
> var cSession = new Session(uuid);<br>
> cSession.setAutoHangup(false);<br>
> cSession.execute("bridge", customer_service_url);<br>
> }<br>
> }<br>
><br>
> My problem:<br>
> The two calls are bridged, however the consumer remains in the<br>
> conference call. Since the consumer was alone in the conference, the<br>
> hold music keeps playing.<br>
><br>
> My understanding was the bridging should move the consumer out off the<br>
> conference call. Did I misunderstand?<br>
><br>
> I tried to 'kick' the consumer out off the conf call first, but that<br>
> results in a hangup.<br>
><br>
> Thanks, Birgit<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c">-- Birgit Arkesteijn, <a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a>,<br>
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK<br>
-- Company no: 1769350<br>
-- Registered Office:<br>
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.<br>
-- tel.: +44 (0)161 237 0660<br>
-- <URL: <a href="http://www.westhawk.co.uk" target="_blank">http://www.westhawk.co.uk</a>><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>