Hey,

Network detection has now been tested with REGISTER and MESSAGE and  
switching the network seems to work without crashing the stack.
After change is detected, NUA destroys old tport and associated Vias  
+ public Vias. After this a new tport master + tport primaries are  
created and register-specific nua_dialog_usages are refreshed (in  
nua_register.c). This causes stack to re-REGISTER with new Contact +  
Via. Message session between two parties proves that the user does  
not notice anything, which was the idea. Check it out with the latest  
Gaim-SIP-plugin available at our darcs repo.

And btw, the support is still only for OSX, Linux and Windows  
versions will follow. Patches welcome ;)

Martti

--

Related ChangeLog entries below:

Thu Aug 17 17:41:13 EEST 2006  [EMAIL PROTECTED]
   * network detection: updated NUA

   NUA now correctly releases tport, vias and public vias and  
refreshes REGISTERs
   with correct Contact. Works on OSX.

     M ./libsofia-sip-ua/nta/nta.c +5
     M ./libsofia-sip-ua/nua/nua_register.c -6 +37
     M ./libsofia-sip-ua/nua/sofia-sip/nua.h -2 +5

Thu Aug 17 16:48:01 EEST 2006  [EMAIL PROTECTED]
   * nua_register.c: refreshing REGISTER uses now method from  
dialog_usage_class.

     M ./libsofia-sip-ua/nua/nua_register.c -25 +74

Wed Aug 16 19:22:58 EEST 2006  [EMAIL PROTECTED]
   * network detection now closes tports and creates new ones

     M ./RELEASE +4
     M ./libsofia-sip-ua/nta/nta.c +36
     M ./libsofia-sip-ua/nta/sofia-sip/nta.h +2
     M ./libsofia-sip-ua/nua/nua_register.c +67
     M ./libsofia-sip-ua/nua/nua_stack.c -66
     M ./libsofia-sip-ua/su/su_os_nw.c -3 +3

Wed Aug 16 19:02:31 EEST 2006  [EMAIL PROTECTED]
   * su_os_nw.c: compiling stub functions in every case.

     M ./libsofia-sip-ua/su/su_os_nw.c -4 +19

Wed Aug 16 16:29:57 EEST 2006  [EMAIL PROTECTED]
   * su_os_nw.c should now compile on all platforms

     M ./libsofia-sip-ua/su/su_os_nw.c -9 +17

Tue Aug 15 17:09:56 EEST 2006  [EMAIL PROTECTED]
   * moved network detection from NTA to NUA

     M ./libsofia-sip-ua/nta/nta.c -67
     M ./libsofia-sip-ua/nta/nta_internal.h -1
     M ./libsofia-sip-ua/nta/nta_tag.c -2
     M ./libsofia-sip-ua/nta/sofia-sip/nta.h -7
     M ./libsofia-sip-ua/nta/sofia-sip/nta_tag.h -18
     M ./libsofia-sip-ua/nua/nua_params.c +9
     M ./libsofia-sip-ua/nua/nua_params.h +4
     M ./libsofia-sip-ua/nua/nua_stack.c +66
     M ./libsofia-sip-ua/nua/nua_stack.h +5
     M ./libsofia-sip-ua/nua/nua_tag.c +4
     M ./libsofia-sip-ua/nua/sofia-sip/nua.h +12
     M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h +19
     M ./libsofia-sip-ua/su/Makefile.am -2 +2
     M ./libsofia-sip-ua/su/sofia-sip/su_os_nw.h +9



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to