On Mon, Sep 28, 2009 at 4:44 PM, Francesco Lamonica <alienpeng...@gmail.com> wrote: > On Thu, Sep 24, 2009 at 9:57 AM, Pekka Pessi <ppe...@gmail.com> wrote: >> 2009/9/23 Francesco Lamonica <alienpeng...@gmail.com>: >>> hi ppl, i am having some problems in shutting down the nua; i am still >>> using sofia 1.12.9 and i am handling the eventloop with su_root_step. >>> >>> I read on the list the procedure pessi suggested: >>> 1. call nua_shutdown(mynua) >>> 2. wait for nua_r_shutdown with status code 200 then >>> 3. call nua_destroy >>> 4. break out of event loop (this should not be necessary in my case right?) >>> 5. then call su_deinit() >>> my problem is that i never get the nua_r_shutdown, with any status >> >>> what can i check? >> >> That sounds weird. Best you can do is to enable more detailed >> debugging output (e.g., env vars NUA_DEBUG=9 NTA_DEBUG=9) and try to >> see where the execution hangs within the stack. >> >
Hi all, this is what i get (with latest darcs) when i call nua_shutdown(nua); tport_tsend(0x1a961b0) tpn = */192.168.23.200:5060/sip tport_resolve addrinfo = 192.168.23.200:5060 tport_by_addrinfo(0x1a961b0): not found by name */192.168.23.200:5060/sip tport_vsend(0x1a961b0): 693 bytes of 693 to udp/192.168.23.200:5060 tport_vsend returned 693 tport_pend(0x1a961b0): pending 0x7f8d4801add0 for udp/192.168.23.2:5080 (already 0) shutdown result: 0 tport_wakeup_pri(0x1a961b0): events IN tport_recv_event(0x1a961b0) tport_recv_iovec(0x1a961b0) msg 0x7f8d480197d0 from (udp/192.168.23.2:5080) has 430 bytes, veclen = 1 tport_deliver(0x1a961b0): msg 0x7f8d480197d0 (430 bytes) from udp/192.168.23.200:5080/sip next=(nil) tport_release(0x1a961b0): 0x7f8d4801add0 by 0x7f8d480173a0 with 0x7f8d480197d0 (preliminary) tport_wakeup_pri(0x1a961b0): events IN tport_recv_event(0x1a961b0) tport_recv_iovec(0x1a961b0) msg 0x7f8d480197d0 from (udp/192.168.23.2:5080) has 506 bytes, veclen = 1 tport_deliver(0x1a961b0): msg 0x7f8d480197d0 (506 bytes) from udp/192.168.23.200:5080/sip next=(nil) tport_release(0x1a961b0): 0x7f8d4801add0 by 0x7f8d480173a0 with 0x7f8d480197d0 tport_destroy(0x1ad7650) still no nua_r_shutdown received in my callback any suggestions? ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel