[Sofia-sip-devel] sofia-sip changes (2006-07-28)

2006-07-28 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo
.

Fri Jul 28 13:21:40 EEST 2006  [EMAIL PROTECTED]
  * nua_session.c: fixed session timer case by UAS without default refersher

M ./libsofia-sip-ua/nua/nua_session.c -1 +2

Fri Jul 28 12:39:41 EEST 2006  [EMAIL PROTECTED]
  * configure.ac, RELEASE: prepare for next release.

M ./RELEASE -24 +38
M ./configure.ac -1 +1

Fri Jul 28 12:35:27 EEST 2006  [EMAIL PROTECTED]
  * nua_session.c: updated session timer implementation.
  
  The session timers are defined in RFC 4028. The update involves use of
  "timer" feature tag: if it is not given by UAC, assume UAS always refreshes.
  
  Updated test_nua.c and test_proxy.c, too.

M ./libsofia-sip-ua/nua/nua_session.c -5 +16
M ./libsofia-sip-ua/nua/test_nua.c -3 +24
M ./libsofia-sip-ua/nua/test_proxy.c +32

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] SIP-Gaim-plugin, network detection and Gstreamer 0.10

2006-07-28 Thread Martti Mela
Hello list,

There are now some post-holiday-changes for the SIP-Gaim-plugin  
available:

1) network detection
2) Gstreamer 0.10



1)

I've now implemented initial support for network detection events in  
SIP-Gaim-plugin for OSX. Plugin creates another thread for OSX's run  
loop and registers itself (callback) for an event indicating that IP  
address has changed. We need to use this second thread for OSX run  
loop because the plugin is attached to glib's event loop, too.

At this point several things happen when the network is changed  
(example: we're in WLAN but switch to office ethernet):

OSX initiates the event and callback registered in ssip.c. Thread  
handling this callback raises a flag "address_changed" in ssip_t  
structure and starts nua_shutdown(). Shutdown is continued in  
nua_r_shutdown (handled by the glib thread) and the "address_changed"  
flag causes plugin to restart nua by nua_create(). nua_register()  
follows and almost everybody is happy.

This, of course is quite nasty -> we lose all the dialogs and our  
registration. The proper way to do this is to tell tport_tbind that  
it should recheck our primary addresses and update them without  
touching dialogs (by shutdown+create) etc. One possibility would be  
to implement the whole logic in su_localinfo.c as this clearly is  
local info. Commentados?

So, if somebody is excited about this it would be nice to have the  
same functionality for Linux and Windows, too. There are some quite  
comprehensive pointers for SENS API of Win2K and friends:
http://support.microsoft.com/?id=321381
http://www.intel.com/cd/ids/developer/asmo-na/eng/60826.htm?prn=Y


2)

I've also copy-pasted-modified sofsip-cli's media part for the  
plugin. I've been able to have playback working for 1 sec, followed  
by the silence. Capture side is most probably OK but as I now  
desperately try to be a happy Mac user I don't have it working for  
OSX, BUT it might be OK in Linux (when you ununcomment my #if 0's for  
the capture). The playback problem might be similar to what Kai has  
experienced with ALSA and sofsip-cli with Gst 0.10.


The changes are in darcs, and the ChangeLog follows in the bottom.

Regards,

Martti


-- 
Martti Mela, Nokia Research Center





Thu Jul 27 21:04:44 EEST 2006  [EMAIL PROTECTED]
   * Re-register works now when IP address changes in OSX

 M ./src/ssip.c -19 +92
 M ./src/ssip_internal.h +3

Thu Jul 27 19:17:36 EEST 2006  [EMAIL PROTECTED]
   * Gst 0.10 support (initial; playback), monitoring ip addr changes  
in OSX

 M ./configure.ac -5 +6
 M ./src/Makefile.am -2 +7
 A ./src/farsight-netsocket-stun.c
 A ./src/farsight-netsocket-stun.h
 A ./src/farsight-netsocket-utils.c
 A ./src/farsight-netsocket-utils.h
 A ./src/farsight-netsocket.c
 A ./src/farsight-netsocket.h
 A ./src/gsdp_utils.c
 A ./src/gsdp_utils.h
 A ./src/replace_g_debug.h
 R ./src/ssc_gst.c
 M ./src/ssc_media.h -64 +131
 A ./src/ssc_media_gst.c
 A ./src/ssc_media_gst.h
 A ./src/ssc_media_gst_utils.c
 A ./src/ssc_media_gst_utils.h
 M ./src/ssip.c -31 +451
 M ./src/ssip_internal.h -2 +25
 A ./src/ssip_media.c
 M ./src/ssip_oper.c +14


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] ANN: sofia-sip-1.12.1 released!

2006-07-28 Thread Kai Vehmanen
Hello all,

the first update to 1.12 series is now released! This is mainly
a bugfix release.

Btw, I'll take the opportunity to market the new wiki at:
- http://wiki.opensource.nokia.com/projects/Sofia-SIP

Release notes for Sofia-SIP version 1.12.1 (2006-07-27)
===

Sofia-SIP is an open-source SIP User-Agent library, compliant with
the IETF RFC3261 specification. It can be used as a building block
for SIP client software for uses such as VoIP, IM, and many other
real-time and person-to-person communication services. The primary
target platform for Sofia-SIP is GNU/Linux. Sofia-SIP is based on a
SIP stack developed at the Nokia Research Center. Sofia-SIP is
licensed under the LGPL.

Changes since last release
--

Bugs in highlevel user-agent logic, scheduling of stack timers,
and STUN client code have been fixed. Removed the SHA1 code derived
from RFC3174 due to licensing concerns.

API/ABI changes and versioning
--

libsofia-sip-ua:
- Added su_yield() function (sofia-sip/su_wait.h). See
   http://sofia-sip.sourceforge.net/refdocs/su/su__root_8c.html
- Added host_is_ip6_reference() (sofia-sip/hostdomain.h). See
   http://sofia-sip.sourceforge.net/refdocs/bnf/hostdomain_8h.html
- Removed sofia-sip/sha1.h from the library. This removal is
   not considered as an API change, but instead a bugfix to
   the 1.12.0 API/ABI. We know of no applications that are using
   the sha1.h functionality, so applying this change as a bugfix
   was seen as an acceptable action. If however some application
   relying on sha1.h is found, please contact the sofia-sip team
   and we will reconsider the issue. See sf.net bug #1525308 for
   the whole history.
- This release is ABI/API compatible with applications
   linked against 1.12.0. The ABI has been tested with the nua
   module unit test (test_nua) built against original 1.12.0 release.

libsofia-sip-ua-glib:
- No ABI/API changes, compatible with 1.12.0. Note, libsofia-sip-ua-glib
   interface is not considered stable and may change in a future 1.12.x
   release.

Contributors to this release


- Colin Whittaker (stack timer scheduling, cseq patch)
- Legostayev Denis (patch to soa)

See the AUTHORS file in the distribution package.

Bugs fixed in this release
--

- Fixed crash in soa_static.c offer_answer_step() changing only mode   
(Legostayev Denis)
- Fixed FreeBSD compilation problem, not defining _XOPEN_SOURCE in su/su_port.c.
- Fixed bug #1511403: early subscription failed if the Subscription-State header
   in NOTIFY did not contain expires parameter.
- #1525308 Removal of sha1.[ch] (licensing problem)
- #1511403 Early Subscription Timeouts without NOTIFY

Website and other links
---

The release can be downloaded from:
- http://sourceforge.net/project/showfiles.php?group_id=143636

Checksums for sofia-sip-1.12.1.tar.gz (2501044B)
- md5: 69ca5e5f67728d6a8907dd67704e48ad
- sha1: d170b496dde0c1e48665ee946457aa0209a47493

Project website and mailing list:
- http://sofia-sip.sourceforge.net
- http://lists.sourceforge.net/mailman/listinfo/sofia-sip-devel

Past releases:
- http://sofia-sip.sourceforge.net/relnotes/

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] stun workarounds committed; note about stund

2006-07-28 Thread Kai Vehmanen
Hello,

I just pushed a small workaround for a bug in stund-0.94 and older 
(http://sourceforge.net/projects/stun/). The new stund-0.96 version is ok. 
Unfortunately this server sw is deployed quite widely, and the chances of 
encountering old implementations is quite high, so I thought it's better 
to add a workaround to sofia.

I found this while testing against the "stunserver.org" public STUN 
server. It was running 0.94, but I contacted the server admin and it has 
now been upgraded, so both old and new sofia-sip STUN work with it.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel