Porting to visual studio..

Cesc cesc.santa at gmail.com
Tue Sep 26 11:06:46 CEST 2006


The activex things sounds interesting ... :D

As for the dsound driver ... it seems there were known issues ... you
may want to try to use the portaudio driver (pa:0) ... it works nicely
last time i tried.

Cesc

On 9/26/06, Philippe Torrelli <philippe.torrelli at alcatel.fr> wrote:
> Hi Cesc and Paul,
>
> Sorry if I didn't answer each  mail separately, I subscribed to the list in
> digest mode.
> I changed it now.
>
> Basically what I need is a soft phone able to TLS/SRTP that I can embed in
> an ActiveX .
>
> The functions I need is basic audio call ( no video / but decent audio codec
> ) receive sip calls.
>
> There will be no GUI in the ActiveX but call methods / call events
> (IConnectionPoint ) so that the GUI can be in the browser ( or activeX host
> ), and the configuration is given in the properties passed to the ActiveX.
>
> As minisip seems to be a very good starting point, I'm trying to do a
> proof-of-concept..
>
> My understanding of the architecture of Minisip is that it can be achieved
> with a reimplementation of the TextUI / Minisip classes - didn't sort it out
> completely yet, I need to experiment with the code to have a better
> understanding...
>
> I don't know if this alternative 'GUI' will be  interesting for other
> people...
> For the rest, as the LGPL states, every single change in the libs will of
> course be published, as I will probably need to implement a ConfBackEnd
> class and maybe change / adapt the plugin interface..
>
> To do that I have a vs2005 build environment that I set up this way:
> * I built a bunch of vcproj that were translations of Makefiles / config.h /
> compilation_config.h generated from a cygwin build of minisip.
>
> In a few files I found no better way but to change code that didn't compile
> ( for example extern "C" functions returning C++ templates instances in
> plugin api ) ...
>
> Also tweaked  a tldl.[ch] file a lot so that it is  able to compile...  (
> definitely needs more work ).
>
> There are also many places where extra #include(s) needed to be added
> because of references to incomplete classes that VS doesn't like when it
> expands MRef templates , and also ( not yet fixed ) many warnings about
> calls to deprecated functions ( of the sprintf/strdup... family ) .
>
> My modifications are quite raw and I need to track it all back and
> rationalize each of it ( in a way that doesn't break other build as Cesc
> pointed out ) before it can be submitted.
>
> Probably a matter of two weeks as I don't work full time on this.
>
> After that I will try to re-apply it to a more recent build and will post
> these.
>
> Before I do that I want to have a minisip-textui built with vs2005 that
> works as well as the one cross compiled out of my red hat box, so now I'm in
> the process of testing the exe .
>
> ( My current minisip_textui registers, accepts and send calls but the
> mdsound plugin doesn't seem to work correctly as neither me nor my parties
> hear anything - RTCP UDP packets are issued anyway ...
> There seem to be a weird behavior when registering  with digest
> authentication to a SER proxy but I checked with the mingw build and it's
> the same.. No tls, or gsm codec yet...)
>
>
> Thank you for your interest and remarks
>
> Philippe Torrelli
>
> _______________________________________________
> Minisip-devel mailing list
> Minisip-devel at minisip.org
> http://lists.minisip.org/mailman/listinfo/minisip-devel
>


More information about the Minisip-devel mailing list