Re: [Freeswitch-users] Precompiled Windows Binaries

2009-11-25 Thread Josh Rivers
Carlos, Do you have any documentation or scripts for your builds? I'm interested in having a working automated build and installer build process, and I'm curious if there's any work you've done that can make my job easier. :) Thanks, Josh On Wed, Nov 4, 2009 at 6:51 AM, Carlos Talbot wrote: > >

[Freeswitch-users] ESL command completion

2009-11-25 Thread Josh Rivers
Is there a way of determining if a call-command sent to a session via ESL has completed? Is there a return event which is always fired? Is there a identifier I can use to verify that the return event matches my command? Thanks, Josh ___ FreeSWITCH-users

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-27 Thread Josh Rivers
t; > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Josh Rivers > *Sent:* Saturday, September 26, 2009 11:29 PM > > *To:* freeswitch-users@lists.freeswitch.org > *Subject:* Re: [Freeswitch-users]

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-27 Thread Josh Rivers
display a WinForm logger. http://github.com/joshrivers/FreeSWITCH.Managed On Sat, Sep 26, 2009 at 10:28 PM, Josh Rivers wrote: > The ability to directly create swigtypes...that's huge! I'd love to see > some examples of how to use that. > > I've update my refactoring t

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-26 Thread Josh Rivers
e done with. I’m > thinking maybe we are talking about different things? Can you provide some > user stories that we want to cover with a pluggable loader/executor/etc.? > Thanks for putting up with me! > > > > -Michael > > > > *From:* freeswitch-users-boun...@lists.freeswitch.

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-26 Thread Josh Rivers
bout different things? Can you provide some > user stories that we want to cover with a pluggable loader/executor/etc.? > Thanks for putting up with me! > > -Michael > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.fre

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-26 Thread Josh Rivers
Sorry for fading off for a few days. Having too much fun doing stuff! A few responses: On Thu, Sep 24, 2009 at 1:01 AM, Michael Giagnocavo wrote: > A few questions I have: > > Testability – is this even remotely practical? > I've seen three areas of testability: 1) Interop 2) Module Extensibilit

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-23 Thread Josh Rivers
On Wed, Sep 23, 2009 at 7:31 PM, Michael Giagnocavo wrote: > Right off the bat: there can be tons of cleanup and refactoring, no doubt > about that. Much of the current code is to satisfy my needs in production, > which it does very well. > The current base doesn't have anything wrong with it for

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-23 Thread Josh Rivers
rol loading, >> we’ll probably reflect on the individual plugins looking for attributes or >> perhaps some sort of static load function. >> >> >> >> How’s that sound? >> >> >> >> >> >> *From:* freeswitch-users-boun...@lists.fr

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-10 Thread Josh Rivers
gh, handle your exceptions J. Every > plugin can decide what it wants to do here. > > > > -Michael > > > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Josh Rivers > *Sent:* Wednesday, Septe

Re: [Freeswitch-users] Implementing h extension in FS

2009-09-09 Thread Josh Rivers
You should be able to handle hangups in one of two ways:1) Register a hangup handler in your script or dialplan. This will execute a script on the hangup of the call. 2) Use the Event Socket Layer(ESL) to listen to hangup events and then perform your actions there. You can find more about these op

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-09 Thread Josh Rivers
gt; > > > -Michael > > > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Josh Rivers > *Sent:* Wednesday, September 09, 2009 6:39 PM > > *To:* freeswitch-users@lists.freeswitch.org >

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-09 Thread Josh Rivers
-Michael > > > > > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Josh Rivers > *Sent:* Wednesday, September 09, 2009 3:01 PM > > *To:* freeswitch-users@lists.freeswitch.org > *Subject:

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-09 Thread Josh Rivers
u are seeing as well? On Wed, Sep 9, 2009 at 2:38 PM, Jeff Lenk wrote: > > Yeah I noticed that but the thread was still terminating after a few > seconds > anyway for me. Does it stay running for you? > > > Josh Rivers-2 wrote: > > > > A

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-09 Thread Josh Rivers
A new discovery:public bool Load() { ThreadPool.QueueUserWorkItem((o) => { Log.WriteLine(LogLevel.Notice, "Thread Starting. "); EventConsumer con = new EventConsumer("all", ""); while (true) {

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-09 Thread Josh Rivers
77e6f23b() The breakpoint is: status = load_func_ptr(&module_interface, pool); Line 846 in switch_loadable_module.c --Josh On Tue, Sep 8, 2009 at 10:50 PM, Josh Rivers wrote: > I'm running of the binary release, so I don't have debug symbols for the > freeswitch core. I can do

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-08 Thread Josh Rivers
ng similar, I > don't have any VS nearby), then copy paste that. > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mr...@avgs.ca > > > > > On 8-Sep-09, at 10:30 PM, Josh Rivers wrote: > > Here is t

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-08 Thread Josh Rivers
legates to asynchronously call the function > containing the loop and return back the control to the calling thread. Here > an example (don't have my code at hand, hope it doesn't contain typos). > > > > Regards, > >Raffaele > > > >public class TestLoop : ILoadNotific

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-08 Thread Josh Rivers
You are probably right, but commenting out the msleep doesn't prevent the crash. -Josh On Tue, Sep 8, 2009 at 11:12 AM, Phillip Jones wrote: > What is: > > freeswitch.msleep(100); > > Why aren't you using Thread.Sleep? > > > On Tue, Sep 8, 2009 at 2:21 AM, J

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-08 Thread Josh Rivers
> > Thanks, > > Michael > > > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Josh Rivers > *Sent:* Tuesday, September 08, 2009 12:22 AM > *To:* freeswitch-users@lists.freeswitch.org > *Subject

Re: [Freeswitch-users] Using mod_managed to create full FreeSWITCH modules

2009-09-08 Thread Josh Rivers
ss around a lot > of IntPtrs to get things going. > > > > As far as I know, no one has built a non API/App with mod_managed. > > > > -Michael > > > > *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto: > freeswitch-users-boun...@lists.free

Re: [Freeswitch-users] Using mod_managed to create full FreeSWITCH modules

2009-09-07 Thread Josh Rivers
d you can put that file into the > "managed" dir and will be automatically deployed. The csx (wich is csharp > script) can also be compiled into an exe file and will work the same way. > > Regards, >Raffaele > > On Tue, Sep 8, 2009 at 07:41, Josh Rivers w

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-07 Thread Josh Rivers
in { > public bool Load() { > Log.WriteLine(LogLevel.Notice, "LoadDemo running."); > return true; > } > } > > this example is from Michael Giagnocavo's Demo.csx which you can find into > the mod_managed svn. > > And let me add that wor

[Freeswitch-users] Using mod_managed to create full FreeSWITCH modules

2009-09-07 Thread Josh Rivers
The wiki says: mod_managed exposes nearly the entire FreeSWITCH C API (courtesy of SWIG). This allows creation of not just API functions and call apps, but any type of module that FreeSWITCH supports (codecs, endpoints, etc.). The types are in the FreeSWITCH.Native namespace. FreeSWITCH.Native. The

[Freeswitch-users] mod_managed ILoadNotificationPlugin

2009-09-07 Thread Josh Rivers
What is the purpose if the ILoadNotificationPlugin? I thought it could be used to start off background code, but code run from that point seems to be terminated when the method returns. Does it only exist to check dependencies? ___ FreeSWITCH-users mailin

Re: [Freeswitch-users] Subscribing to events in managed C# / .NET

2009-09-07 Thread Josh Rivers
Is there a way to start this when FreeSWITCH starts? The lua and perl modules have a 'startup-script' configuration preference. Is there something similar in mod_managed? Or is there a way to have an api command executed at a startup? Exactly what I was after - thank you! On Thu, Sep 3, 2009 at