Jerry Richards napsal(a): > Hello All, > > If my MD5 Authentication username is incorrect, I noticed my sofia-sip phone > will get a "904 No Matching Challenge" event in response to my > nua_authenticate() call. This only happens AFTER the first > nua_authenticate() call (the first one works correctly). > > Has anyone encountered a similar issue?
Yup, I did and some others too (for a bit different use cases though)... I suggest you search the mailing list. Maybe one of these two will help you a bit: Sofia-sip no matching challenge 904 in event_callback. proxy authentication failed when redirecting There maybe others, but these two I know about Martin > Here is the scenario: > > NUA Sofia-SIP Network > ------------------ ------------------- ----------- > nua_register() ===> ===> REGISTER > (w/o Auth) > <=== nua_r_register <=== 401 Unauth. > (401 Unauthorized) > nua_authenticate() ===> ===> REGISTER > (with Auth) > <=== nua_r_register > (401 Unauthorized) > nua_authenticate() ===> > <=== nua_r_register > (904 Operation has > no matching chal- > lenge) > ... 30 seconds elapse here ... > nua_register() ===> ===> REGISTER > (w/o Auth) > <=== nua_r_register <=== 401 Unauth. > (401 Unauthorized) > nua_authenticate() ===> > <=== nua_r_register > (904 Operation has > no matching chal- > lenge) > > Best Regards, > Jerry > -- Martin Drasar, Developer / Analyst OptimSys, s.r.o. dra...@optimsys.cz Tel: +420 541 143 065 Fax: +420 541 143 066 http://www.optimsys.cz ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel