[Freeswitch-users] Take uuid out of conference and bridge

Birgit Arkesteijn birgit at westhawk.co.uk
Thu Oct 23 08:23:46 PDT 2008

Hi Anthony,

Well, that definitely improved the situation, thanks!
I'm running 498:8901, installed on 2008-10-08.

The problem I now hit is that the two calls are bridged indeed, but the 
first person (0662) remains in the conference as well. See lines below. 
Since the first person was alone in the conference, the hold music keeps 

I tried kicking the first person out of the conference before bridging, 
but sometimes this resulted in a hangup.
I tried a park, but that failed altogether.

Any ideas?

Code snippet:
log("create new consumer session object: " + uuid);
var cSession = new Session(uuid);
cSession.execute("bridge", customer_service_url);

freeswitch at apso> show channels
API CALL [show(channels)] output:

2 total.

freeswitch at apso> conference list
API CALL [conference(list)] output:
Conference 25 (1 member)

Thanks, Birgit

On 23/10/08 15:26, Anthony Minessale wrote:
> See this one?
> 2008-10-23 14:38:49 [NOTICE] mod_spidermonkey.c:2860 session_destroy()
> Hangup sofia/external/0662 [CS_SOFT_EXECUTE] [NORMAL_CLEARING]
> try
> session.setAutoHangup(false);
> to keep the call from getting hungup when the script exits.
> BTW, you seem to be using older code.  Keep in mind my advice is coming
> from the perspective of latest code.
> On Thu, Oct 23, 2008 at 8:54 AM, Birgit Arkesteijn 
> <birgit at westhawk.co.uk <mailto:birgit at westhawk.co.uk>> wrote:
>     Hi Anthony,
>     No, I didn't even think of trying it, so sure was I that it possibly
>     couldn't be this simple. :-) Sorry. It's great that it works this way!
>     I amended the Wiki page
>     (http://wiki.freeswitch.org/wiki/Session#Constructor)
>     (I'll try to do that more often now that I seem to learn more and more).
>     This is what I ended up with:
>     log("create new consumer session object: " + uuid);
>     var cSession = new Session(uuid);
>     cSession.execute("bridge", customer_service_url);
>     Unfortunately it doesn't help me with my problem.
>     Immediately after the bridging statement, both endpoints hang up instead
>     of being able to talk to each other. :-(
>     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>

More information about the FreeSWITCH-users mailing list