try executing the api command uuid_park on the uuid before you make it into a js obj<br>that way it will exit the conference and be waiting in park for you to control it.<br><br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 5:47 AM, Birgit Arkesteijn <span dir="ltr">&lt;<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a>&gt;</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,<br>
<br>
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&#39;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&#39;m using Javascript to implement this &amp; I&#39;m currently stuck on the last<br>
step. I&#39;m running FreeSWITCH version 596:10131.<br>
Here is the function for this particular step:<br>
<div class="Ih2E3d"><br>
function bridge_to_customer_services(conf_name, member_id, uuid,<br>
customer_service_url)<br>
{<br>
</div> &nbsp; &nbsp; // uuid: uuid of the consumer<br>
 &nbsp; &nbsp; // customer_service_url: end point / gateway to the customer service<br>
<br>
 &nbsp; &nbsp; if (member_id &amp;&amp; uuid)<br>
<div class="Ih2E3d"> &nbsp; &nbsp; {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; log(&quot;create new consumer session object: &quot; + uuid);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; var cSession = new Session(uuid);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; cSession.setAutoHangup(false);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; cSession.execute(&quot;bridge&quot;, customer_service_url);<br>
 &nbsp; &nbsp; }<br>
}<br>
<br>
</div>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 &#39;kick&#39; the consumer out off the conf call first, but that<br>
results in a hangup.<br>
<br>
Thanks, Birgit<br>
<div class="Ih2E3d"><br>
<br>
On 23/10/08 18:34, Anthony Minessale wrote:<br>
&gt; what are you doing again?<br>
&gt; I think I lost track?<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Oct 23, 2008 at 12:09 PM, Birgit Arkesteijn<br>
</div><div class="Ih2E3d">&gt; &lt;<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a> &lt;mailto:<a href="mailto:birgit@westhawk.co.uk">birgit@westhawk.co.uk</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Hi,<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; &nbsp; &nbsp; Unfortunately the problem is still there, i.e. two channels and one<br>
&gt; &nbsp; &nbsp; conference call, where 0662 is in both.<br>
&gt;<br>
&gt; &nbsp; &nbsp; freeswitch@apso&gt; show channels<br>
&gt; &nbsp; &nbsp; API CALL [show(channels)] output:<br>
&gt; &nbsp; &nbsp; 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<br>
&gt; &nbsp; &nbsp; 992057f4-a124-11dd-bc6b-8f534faa1be0,2008-10-23<br>
&gt; &nbsp; &nbsp; 18:04:05,1224781445,sofia/external/0662,CS_SOFT_EXECUTE,FreeSWITCH,0000000000,,0662,bridge,sofia/gateway/doneright/0663,,default,PCMA,8000,PCMA,8000<br>
&gt; &nbsp; &nbsp; 99f565b6-a124-11dd-bc6b-8f534faa1be0,2008-10-23<br>
&gt; &nbsp; &nbsp; 18:04:06,1224781446,sofia/external/0663,CS_EXCHANGE_MEDIA,FreeSWITCH,0000000000,,0663,,,,default,PCMA,8000,PCMA,8000<br>
&gt;<br>
&gt; &nbsp; &nbsp; 2 total.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; freeswitch@apso&gt; conference list<br>
&gt; &nbsp; &nbsp; API CALL [conference(list)] output:<br>
&gt; &nbsp; &nbsp; Conference 25 (1 member)<br>
&gt; &nbsp; &nbsp; 3;sofia/external/0662;992057f4-a124-11dd-bc6b-8f534faa1be0;FreeSWITCH;0000000000;hear|speak|talking|floor;0;0;300<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; Any ideas?<br>
&gt;<br>
&gt; &nbsp; &nbsp; Thanks, Birgit<br>
<br>
<br>
</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>
-- &lt;URL: <a href="http://www.westhawk.co.uk" target="_blank">http://www.westhawk.co.uk</a>&gt;<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>