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