Hi,

On Fri, 15 Jun 2007, Jan Van den bosch wrote:

> I left my NUA application on during the night, and when I returned, my
> console showed this:
>
> tport_vsend(0x43434e0): Invalid argument with (s=12 */172.16.58.69:5060)
> nta: SUBSCRIBE (84798893): Invalid argument (22) with */[172.16.58.69]:5060

that could happen if the network interface the NUA instance was bound to 
was shut down (and maybe restarted later).

Sofia-SIP provides a mechanism to monitor these and automatically 
restart: NUTAG_DETECT_NETWORK_UPDATES() which takes one of 
NUA_NW_DETECT_NOTHING, NUA_NW_DETECT_ONLY_INFO, NUA_NW_DETECT_TRY_FULL. 
But unfortunately the low-level implementation is only available for Mac 
OS X at the moment (libsofia-sip-ua/su/su_os_nw.c).

An alternative way is to monitor for network changes in the client (for 
instance using Linux netlink APIs), and restart NUA if there are changes 
in the local network interfaces.

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to