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"><<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,<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'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>
<div class="Ih2E3d"><br>
function bridge_to_customer_services(conf_name, member_id, uuid,<br>
customer_service_url)<br>
{<br>
</div> // uuid: uuid of the consumer<br>
// customer_service_url: end point / gateway to the customer service<br>
<br>
if (member_id && uuid)<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>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>
<div class="Ih2E3d"><br>
<br>
On 23/10/08 18:34, Anthony Minessale wrote:<br>
> what are you doing again?<br>
> I think I lost track?<br>
><br>
><br>
> On Thu, Oct 23, 2008 at 12:09 PM, 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 class="Ih2E3d">> Unfortunately the problem is still there, i.e. two channels and one<br>
> conference call, where 0662 is in both.<br>
><br>
> freeswitch@apso> show channels<br>
> API CALL [show(channels)] output:<br>
> 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>
> 992057f4-a124-11dd-bc6b-8f534faa1be0,2008-10-23<br>
> 18:04:05,1224781445,sofia/external/0662,CS_SOFT_EXECUTE,FreeSWITCH,0000000000,,0662,bridge,sofia/gateway/doneright/0663,,default,PCMA,8000,PCMA,8000<br>
> 99f565b6-a124-11dd-bc6b-8f534faa1be0,2008-10-23<br>
> 18:04:06,1224781446,sofia/external/0663,CS_EXCHANGE_MEDIA,FreeSWITCH,0000000000,,0663,,,,default,PCMA,8000,PCMA,8000<br>
><br>
> 2 total.<br>
><br>
><br>
> freeswitch@apso> conference list<br>
> API CALL [conference(list)] output:<br>
> Conference 25 (1 member)<br>
> 3;sofia/external/0662;992057f4-a124-11dd-bc6b-8f534faa1be0;FreeSWITCH;0000000000;hear|speak|talking|floor;0;0;300<br>
><br>
><br>
> Any ideas?<br>
><br>
> 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>
-- <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>