On 3/19/07, Pekka Pessi <[EMAIL PROTECTED]> wrote:


Your loop sends a new register every timeit calls send_message()?


yes it was just a test app

I'd do it like

send_register(nua);

for (registered = 0; !registered;)  {
  su_root_step(root);
}

and change registered to 1 if REGISTER succeeds and to -1 if it fails.
Or store SIP response code there.


thanks for the hints Pekka, however i forgot to add that the problem was,
obviously, my fault: i kept the nua_destroy_handle() that was in the
send_message from the sip options example, therefore when the 200 was
arriving there was no handle to refer it too :-)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to