you might want to add {ignore_early_media=true} to the dial string <br>and also make sure it was properly setup by testing for<br>sSession.ready() before executing intercept but I know that would work I tested a similar situation in my box.<br>
<br>is the channel who is in the conference in there via a js also,<br>are you being sure to test for session.ready to release the channel from the script<br>when the system wants it back?<br><br>try it yourself<br><br>call the conference directly eg ext 3000 on defaults<br>
note the uuid of that call as uuida<br><br>originate a channel into park<br>originate {ignore_early_media=true}/some/dial_string &park()<br>note that uuid as uuidb<br><br>try the cli command<br><br>uuid_transfer <uuidb> intercept:<uuida> inline<br>
<br>that's the same equivalent as what you are trying to do <br><br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 10:30 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 again for your suggestion, unfortunately this doesn't do the<br>
trick either.<br>
<br>
The consumer (uuid) is indeed taking out of the conference call, but not<br>
bridged to the customer_service_url.<br>
<br>
I don't hear anything on the customer_service_url's phone. After a while<br>
it gives me a ringing noise, the same noise as when you pick up the<br>
phone before dialing. The number doesn't appear in the 'show channels'<br>
command.<br>
<div class="Ih2E3d"><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>
</div>efd21ba4-a503-11dd-9791-fb4b4185c9cb,2008-10-28<br>
15:20:21,1225207221,sofia/external/0662,CS_RESET,FreeSWITCH,0000000000,,0662,conference,25@default,,default,PCMA,8000,PCMA,8000<br>
<div class="Ih2E3d"><br>
1 total.<br>
<br>
freeswitch@apso> conference list<br>
API CALL [conference(list)] output:<br>
</div>No active conferences.<br>
<br>
<br>
Here is the changed function (to be sure):<br>
<div class="Ih2E3d">function bridge_to_customer_services(conf_name, member_id, uuid,<br>
customer_service_url)<br>
{<br>
if (member_id && uuid)<br>
{<br>
</div><div class="Ih2E3d"> var sSession = new<br>
Session("{ignore_early_media=true,originate_timeout=10}"<br>
+ customer_service_url);<br>
var ready = sSession.ready();<br>
if (ready == true)<br>
{<br>
</div> sSession.execute("intercept", uuid);<br>
}<br>
}<br>
}<br>
<br>
Thanks, Birgit<br>
<div class="Ih2E3d"><br>
<br>
On 28/10/08 14:54, Anthony Minessale wrote:<br>
> wait a minute,<br>
><br>
> Can't you just do:<br>
><br>
> var cSession = new Session(customer_service_url);<br>
> cSession.execute("intercept", uuid);<br>
><br>
> intercept will steal the call from whatever it's doing and bridge it.<br>
><br>
><br>
> On Tue, Oct 28, 2008 at 8:50 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 Anthony,<br>
><br>
</div><div class="Ih2E3d">> Sorry, but it still doesn't work in<br>
> FreeSWITCH Version 1.0.trunk (597:10176)<br>
><br>
> It actually makes it worse sometimes.<br>
> Maybe it's a timing issue, but one of two things happen:<br>
> 1.<br>
> The same problem happens as before:<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>
> or<br>
><br>
> 2.<br>
> 2008-10-28 13:42:56 [INFO] mod_dptools.c:1843 audio_bridge_function()<br>
> Originate Failed. Cause: ORIGINATOR_CANCEL<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>