I need to add code to make my Sofia-SIP integration more resilient if periodic
re-registration fails.
Please help me think about how best to approach this.
Thanks.
How to recover from failed auto re-registration due to DNS error
Jim Thomas
Fri, 27 Mar 2009 11:15:05 -0700
Hello,
When successfully registered with the ITSP using Sofia-SIP v1..12.10, I observe
reasonable periodic re-registration events in my application log:
12:25:52 INF: auto re-registration: 200 OK
12:26:56 INF: auto re-registration: 200 OK
12:28:12 INF: auto re-registration: 100 Request Authorized by Cache
12:28:12 INF: auto re-registration: 200 OK
12:29:17 INF: auto re-registration: 200 OK
12:30:42 INF: auto re-registration: 100 Request Authorized by Cache
12:30:42 INF: auto re-registration: 200 OK
12:31:52 INF: auto re-registration: 200 OK
But after several hours of runtime, I observed:
17:36:43 ERR: nua_r_register: 503 DNS Error
17:36:43 INF: nua_r_unregister: 200 OK
It looks like the periodic re-registration encountered a DNS error, and
Sofia-SIP unregistered.
Is that the expected behavior?
Is the solution simply to have the application repeat the original call to
nua_register() when automatic re-registration fails with a DNS error?
Or are there stack context issues that need to be somehow unwound?
Thanks.
Jim
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel