Hello ladies,

I just added initial support for network change detection. This seems  
to work for OS X, but Linux and Windows support are missing. Here's  
the short introduction:

The idea behind is to enable stack recovering in an environment where  
IP address or network changes. Change of address can be caused by  
DHCP, switching from fixed to wireless etc. Network change detection  
commands Sofia-SIP to restart tport (re-bind sockets) and updates NTA  
accordingly.

Change detection can be enabled as a tag  
"NTATAG_DETECT_NETWORK_UPDATES" to nua_create(). This tag can have  
three different values:
NTA_NW_DETECT_NOTHING: do nothing
NTA_NW_DETECT_ONLY_INFO: only send an event to application, let user  
handle the logic and needed actions
NTA_NW_DETECT_TRY_FULL: try to update all transactions and send an  
event to application

With the last option NTA will re-REGISTER and user should not notice  
anything. This of course works only with signaling; any media session  
will be terminated. Currently NTA is still missing the logic to  
update tport, this is under work.

Patches are available in the darcs tree, comments are welcome :)

BR,

Martti


Tue Aug 15 09:05:18 EEST 2006  [EMAIL PROTECTED]
   * Network detection: added su_os_nw.[ch]

     A ./libsofia-sip-ua/su/sofia-sip/su_os_nw.h
     A ./libsofia-sip-ua/su/su_os_nw.c
     M ./libsofia-sip-ua/su/su_wait.c +1

Tue Aug 15 09:01:40 EEST 2006  [EMAIL PROTECTED]
   * Network detection: NTA headers updated

     M ./libsofia-sip-ua/nta/nta_internal.h -125 +128
     M ./libsofia-sip-ua/nta/sofia-sip/nta.h +7
     M ./libsofia-sip-ua/nta/sofia-sip/nta_tag.h +18

Tue Aug 15 09:00:25 EEST 2006  [EMAIL PROTECTED]
   * Network change detection: NTA updated to support

     M ./libsofia-sip-ua/nta/nta.c +68
     M ./libsofia-sip-ua/nta/nta_tag.c +2



-------------------------------------------------------------------------
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