[Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-13 Thread Peter Olsson
I have two problems that I haven't been able to solve. I've done the same tests in both javascript, and in .NET. The two scripts are pretty simple, they just answer an incomming call, creates a new session, wait for an answer on the second call leg, and then bridge the two channels together. I

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-13 Thread Anthony Minessale
1) When you say latest, which rev does that mean? we change revs pretty often. 2) Do you have a minimal script that reproduces your issue. 3) is there a reason you cannot just session.execute("bridge", dest); instead of doing it manually (which is a process not for the faint at heart)? On Mo

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-13 Thread Peter Olsson
1. The latest trunk I've tried with is 13008. Since I'm not doing anything for production yet (just testing/evaluating), so I tend to update as soon as there is new version available.. 2. Yep, you will find it below. In javascript - my sample for .NET does basically the same thing, with the

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-13 Thread Anthony Minessale
see how it works in latest trunk 13011 nontheless you can just say session.execute("bridge", "loopback/5000"); and get the same result without touching that other channel. when the call fails, you will have an originate_disposition variable in session you can check. On Mon, Apr 13, 2009 at 1

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Peter Olsson
two "normal" endpoints talking? Regards, Peter Från: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] För Anthony Minessale Skickat: den 13 april 2009 20:38 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Use of l

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Anthony Minessale
reeswitch.org] *För *Anthony Minessale > *Skickat:* den 13 april 2009 20:38 > *Till:* freeswitch-users@lists.freeswitch.org > *Ämne:* Re: [Freeswitch-users] Use of loopback channels and bridge() in > scripts... > > > > see how it works in latest trunk 13011 > > nontheless you can just sa

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Peter Olsson
itch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] För Anthony Minessale Skickat: den 14 april 2009 17:27 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts... yes, But if you plan is to bridg

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Anthony Minessale
normal” endpoints talking? > > > > Regards, > > > > Peter > > > > *Från:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *För *Anthony Minessale > *Skickat:* den 13 april 2009 20:38 > *Till:* fr

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Peter Olsson
witch.org] För Anthony Minessale Skickat: den 14 april 2009 18:26 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts... The bridge application will let you bridge right to a destination on *another* box. If you want to connect t

Re: [Freeswitch-users] Use of loopback channels and bridge() in scripts...

2009-04-14 Thread Anthony Minessale
s for staying with me – I hope you understand my problem :) > > > > Regards, > > > > Peter > > > > > > *Från:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *För *Anthony Minessale > *Skickat:* den 14 april 200