Hi Jaro,

This probably means that the old applications using "old api" are no longer
going to work. Why don't we have a "new" api and the old api be changed to
use the "new api" with some warnings, deprecations notices in comments?

Medhavi.


On 6/28/07, Jaroslav Libak <[EMAIL PROTECTED]> wrote:

I have finished refactoring sipxtapi, now it's time to fix bugs. It's
available from
http://sourceforge.net/project/showfiles.php?group_id=194794 as
sipxtapi-9753-experimental-r66.tar.bz2 . There is also a prebuilt version.

There were some minor API changes (mostly to make it useful for C
programs):
- parameter passing by & has been removed, instead values are passed by
pointer *
- bool type was replaced with int
- converting event and event cause is now slightly different, functions
return just const char*, no buffer needs to be supplied
(sipxSubStatusStateToString, sipxMediaCauseToString etc).
sipxCallEventToString, sipxEventToString, sipxLineEventToString remained
the same.

To name a few internal changes:
- refactored event system, TapiMgr singleton from sipxtacklib is gone
- safer locking
- CpPeerCall and SipConnection use different callIds, which fixes
problems with conferences
- conferencing including join/split finally works
- code was split into separate cpp and h files
- many bugs fixed
- many other changes

Currently, only wxCommunicator works with this version. I haven't tried
to compile sipxezphone. Unittests were not maintained in this
experimental version. At weekend, I will try to fix all sipxtapi
unittests and check that all functions really work and compile a list of
what doesn't work. This experimental version corresponds to revision
9753 from sipxtapi branch.

Please note that I have only refactored sipxtapi. There were only minor
changes in other libraries - mostly connected to the event system. So
bugs that are in sipxtacklib, medialib, calllib are still there.

There were so many changes in sipxtapi, that your custom patches will
probably break, and will need to be applied manually.

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




--
Medhavi Bhatia

CTO, 3CLogic
www.3clogic.com
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to