Please post questions regarding sipxtapi on the sipxtapi-dev mailinglist.

The underlying libraries of sipxtapi use C++, but the sipxtapi itself 
exports only C functions with plain C data types. This is to make 
sipxtapi useful for C programs as well. If you wanted to use C++, you 
would have to use sipxcalllib directly and basically rewrite the whole 
sipxtapi. This is unnecessary.
I use sipxtapi in my GPL softphone too (from the sipxtapi branch not the 
main branch). If your program needs to use unicode, then just pass 
strings in UTF-8 into sipxtapi.

I think the only C++ example application that uses sipxtapi is 
sipxezphone (bundled with sipxtapi), but it's really only a 
demonstration. I have a better softphone that I will release, which uses 
much more of sipxtapi functions and can be configured in every detail.

There is no reason to be affraid of sipxtapi if you are patient enough, 
at first it seems it has lots of functions you don't understand, but 
later you will find it very easy to work with.

You don't need to create any md5 response strings, sipxtapi will handle 
it for you.

The place call and receive call are really the simplest application you 
can get. I personally haven't looked at them when I was starting with my 
softphone at all, I looked at sipxezphone a little bit, found its 
architecture too complicated, read the sipxtapi.h and started coding. 
All I needed was sipxtapi.h really, its documented well enough.

Jaroslav Libak

Sebastian Sjögren wrote:
> Hello
>
> I'm a software development student currently doing 4 months of 
> practical training at a company working on a rather large project that 
> involves sipX and writing a CA using sipxtapi. I've been assigned to 
> start the work on that CA, and I'm sort of stuck. Have tried to find 
> some useful example code that use the C++ classes in sipxtapi but I 
> haven't really found any, only stuff that uses the C functions 
> (PlaceCall, ReceiveCall and such), but isn't it better to use the 
> classes, I mean stuff like SipUserAgent, SipMessage and that.
>
> So I was wondering, anyone have or know where to find example stuff 
> like that? The reason i'm asking is I'm not really sure how to use the 
> sipxtapi in the right way. I've been studying/modifing one example i 
> found in a mail-archive but i can't even get it to register with 
> digest authentication, because I don't really know how to, for example 
> create that md5 response string. I can post that code if someone want 
> to look, but I start with this mail:)
>
> best regards
>
> Sebastian Sjögren
> ------------------------------------------------------------------------
>
> _______________________________________________
> sipx-dev mailing list
> [EMAIL PROTECTED]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to