New patches: [fix sdp in 200 without 100rel. Patch from Pekka.Pessi@nokia.com over irc mike@jerris.com**20061007184916] { hunk ./libsofia-sip-ua/nua/nua_session.c 1612 - (sr->sr_offer_recv && !sr->sr_answer_sent && early_answer)) { + (sr->sr_offer_recv && sr->sr_answer_sent <= 1 && early_answer)) { } [only send 100 in notifier when needed to create a dialog. Patch from Pekka.Pessi@nokia.com over irc mike@jerris.com**20061007184956] { hunk ./libsofia-sip-ua/nua/nua_notifier.c 424 - /* Immediate notify */ - nua_stack_post_signal(nh, - nua_r_notify, - SIPTAG_EVENT(event), - SIPTAG_CONTENT_TYPE_STR("message/sipfrag"), - SIPTAG_PAYLOAD_STR("SIP/2.0 100 Trying\r\n"), - TAG_END()); + /* Immediate notify in order to establish dialog */ + if (!sip->sip_to->a_tag) + nua_stack_post_signal(nh, + nua_r_notify, + SIPTAG_EVENT(event), + SIPTAG_CONTENT_TYPE_STR("message/sipfrag"), + SIPTAG_PAYLOAD_STR("SIP/2.0 100 Trying\r\n"), + TAG_END()); } Context: [configure.ac, m4: autoupdated. Pekka.Pessi@nokia.com**20061006153729] [SIP_HEADER_INIT(): removed gcc warning about comma expression. Pekka.Pessi@nokia.com**20061006153057] [su_port.c: fixed registering high-priority events when epoll is not available. Pekka.Pessi@nokia.com**20061006152904] [sofia-sip.spec.in: using --with glib gobject openssl Pekka.Pessi@nokia.com**20061006152634 Autodetecting decent glib gobject openssl using pkg-config. Force BuildRequires with --with flags. Now configure generates a spec file with version number in its name. Including su-glib in glib package even if gobject interface cannot be built. ] [Makefile.am: do not rebuild manpages Pekka.Pessi@nokia.com**20061006152242] [utils/Doxyfile.build.in: fixed make manpages using @INCLUDE_PATH Pekka.Pessi@nokia.com**20061006133412] [sip_aor_strip(): using url_strip_transport(), url_strip_param_string(). Pekka.Pessi@nokia.com**20061006002426] [nta_msg_request_complete(): create To header from request-URI, if needed. Pekka.Pessi@nokia.com**20061006002318] [nua_param.c: when converting NUTAG_URL() to To header remove extra parameters. Pekka.Pessi@nokia.com**20061006002241 Added test for encoding header from URL query string (in test_simple.c) ] [Fixed a silly typo in nua.c. kai.vehmanen@nokia.com**20061006084436] [nua.h, nua.c: added nua_magic(), too. Renamed nua_handle_fetch() as nua_handle_magic(). Pekka.Pessi@nokia.com**20061006002201] [sip: added sip_url_query_as_taglist(). Pekka.Pessi@nokia.com**20061005232546] [nta: nta_msg_request_complete() now adds header from request-URI query part to request message Pekka.Pessi@nokia.com**20061005141055 Headers as well as method parameter are stripped away from request-URI. ] [msg: added msg_header_parse_str() Pekka.Pessi@nokia.com**20061005140755] [url: added url_query_as_header_string(), url_unescape_to(). Pekka.Pessi@nokia.com**20061005140725] [url: added url_strip_param_string(). Pekka.Pessi@nokia.com**20061005140634] [sip_header.h: added sip_headers_as_url_query() Pekka.Pessi@nokia.com**20061005094851] [Added doxygen alias @VERSION_1_12_4. Pekka.Pessi@nokia.com**20061005141111] [sip: fixed sip_header_as_string() prototype. Pekka.Pessi@nokia.com**20061005140854] [nua: fixed registration without Contact. Pekka.Pessi@nokia.com**20061005072624] [add nua_handle_fetch to get the magic from nh anthmct@yahoo.com**20061004231211] [nua: added nua_handle_make_replaces(), nua_handle_by_replaces(). Pekka.Pessi@nokia.com**20061004160757] [test_register.c: added test for nua_i_register and nua_respond() with NUTAG_WITH(). Pekka.Pessi@nokia.com**20061004143805] [su_taglist.c: fixed tl_find_last(), added tests for it. Pekka.Pessi@nokia.com**20061004142848] [sip_refer.c: fixed sip_referred_by_d(): accept no more syntax errors. Pekka.Pessi@nokia.com**20061004140852] [sip_refer.c: sip_refer_d() now fixes URLs with headers but without <>. Pekka.Pessi@nokia.com**20061004134247 Currently you lose if you have url parameters and headers but no <>. ] [torture_sip.c: added more tests for refer-to. Pekka.Pessi@nokia.com**20061004122610] [nua_register.c removed random() stuff. Pekka.Pessi@nokia.com**20061004124214] [test_100rel: do not run test_prack_auth() without proxy. Pekka.Pessi@nokia.com**20061004124020] [nua: moved active_call and hold_remote flags to nua handle structure. Pekka.Pessi@nokia.com**20061004104437 Removed outdated nua_handle_has_streaming(). ] [nua.h: added nua_saved_event_request() and nua_current_request(). Pekka.Pessi@nokia.com**20061004101102] [configure.ac: bumped version number (added nutag_with and nutag_with_ref) Pekka.Pessi@nokia.com**20061004095813] [Fix doxygen build rules remi.denis-courmont@nokia.com**20061003071349] [nua.docs: documentin use of status with nua_i events. Pekka.Pessi@nokia.com**20061003100152] [nua_tag.h: fixed nutag_with casing. Pekka.Pessi@nokia.com**20061004074239] [su_source.c: #defining _XOPEN_SOURCE hurts more than helps Pekka.Pessi@nokia.com**20061004073154] [nua_stack.c: using nutag_with when responding to incoming REGISTER. Pekka.Pessi@nokia.com**20061003073839] [nua: added NUTAG_WITH(), NUTAG_WITH_THIS(), NUTAG_WITH_SAVED(). Pekka.Pessi@nokia.com**20061003073402] [Ignore gawk bug in generating from msg_parser.awk. Kai Vehmanen *-20061003133008] [fix build on OpenBSD and NetBSD due to missing errno defs mike@jerris.com**20061003143306] [BSD build fix, you need _XOPEN_SOURCE for ipv6 defs mike@jerris.com**20061003142430] [add nua_registrar.c to dsp files mike@jerris.com**20061003142035] [add config.h include mike@jerris.com**20061003141731] [Ignore gawk bug in generating from msg_parser.awk. Kai Vehmanen **20061003133008] [Non-static inlines in implementation files confuse VC6 with static builds. Kai Vehmanen **20061003132640] [Added sip_options_static to the workspace. Kai Vehmanen **20061003132044] [nua: moved documentation from nua.c/nua.docs towards the implementation. Pekka.Pessi@nokia.com**20061003100047] [nua: using nua_stack_set_handle_special() to set handle flags and special event. Pekka.Pessi@nokia.com**20061003082919] [nua_stack_process_register(): moved to nua_registrar.c. Pekka.Pessi@nokia.com**20061003082902] [sofia-sip/nua.h: re-assigned nua_i_none. Pekka.Pessi@nokia.com**20061003071849] [register fix mike@jerris.com**20060926221239] [more register nua handling mike@jerris.com**20060926184617] [initial register nua handling mike@jerris.com**20060926180058] [sofia.am, msg/Makefile.am: fixed distclean. Pekka.Pessi@nokia.com**20061003065742] [su_wait.h: using #if SU_HAVE_POLL in consistent manner Pekka.Pessi@nokia.com**20061003065216] [RELEASE, configure.ac: preparing for next release. Pekka.Pessi@nokia.com**20061002133920] [nua: removed unupported smime hooks Pekka.Pessi@nokia.com**20061001144423] [fix gcc4 warnings under -Wall mike@jerris.com**20060927161912] [su_source.c: use SU_WAIT_MAX/SU_WAIT_MIN (synch with su_port using epoll). Pekka.Pessi@nokia.com**20060929134027] [su: initial support for epoll in su_root_t/su_port_t. Pekka.Pessi@nokia.com**20060929131355] [strtoull(): doxyfied document. Pekka.Pessi@nokia.com**20060929113942] [TAG rel-sofia-sip-1_12_3 Pekka.Pessi@nokia.com**20061002131041] [RELEASE, configure.ac: release 1.12.3. Pekka.Pessi@nokia.com**20061002130947] [Updated make manpages with utils/Doxyfile.build.in. Pekka.Pessi@nokia.com**20061002130740] [Fixed manpages build. Pekka.Pessi@nokia.com**20060930130052] [Fixed built-files and clean-built-files targets. Pekka.Pessi@nokia.com**20060930125739 ] [configure.ac, win32/Makefile.am: including win32/config.h.in in dist. Pekka.Pessi@nokia.com**20060929134247] [nua_stack.c: not adding all tags twice to request message. Pekka.Pessi@nokia.com**20060929115226] [removed OSX specific code from su_wait.c martti.mela@nokia.com**20060928154457] [restructured RunLoop functionality in su_osx_runloop.c martti.mela@nokia.com**20060928154404] [removed OSX specific parts from su_wait.h martti.mela@nokia.com**20060928154323] [Fixed help usage of stunc tool. kai.vehmanen@nokia.com**20060928111317] [Fixed typo in su-glib/Makefile.am. kai.vehmanen@nokia.com**20060928111301] [Included nua_glib_marshal.list in the dist package. Do not include the generated nua_glib_marshal.[ch] files anymore. kai.vehmanen@nokia.com**20060928111219] [Added some missing files to dist. Pekka.Pessi@nokia.com**20060928090532] [su_os_nw.c: API cleanup continued for *_remove_*(). martti.mela@nokia.com**20060928053928] [su_os_nw.[ch]: new su_root_remove_network_changed() martti.mela@nokia.com**20060928053431 Removed first parameter (su_root_t) as it is useless. ] [sac-su2.m4: --enable-corefoundation turns me on martti.mela@nokia.com**20060927225250] [references to SU_USE_OSX_CF_API -> s/USE/HAVE/ martti.mela@nokia.com**20060927225152] [su/Makefile.am: OSX related files optionalized martti.mela@nokia.com**20060927225028] [added test torture_su_root_osx.c martti.mela@nokia.com**20060927221806] [su_wait.c has now OSX CoreFoundation specific waits implemented martti.mela@nokia.com**20060927221721] [updated su_os_nw.c as recommended by Brian West martti.mela@nokia.com**20060927221639] [su_wait.h has now OSX CoreFoundation specific event support martti.mela@nokia.com**20060927221546] [added su_osx_runloop.[ch] martti.mela@nokia.com**20060927221456] [su_configure.in has now define for OSX specific run looping martti.mela@nokia.com**20060927221327] [updated Makefile.am to contain su_osx_runloop.[ch] martti.mela@nokia.com**20060927221211] [configure.ac, RELEASE, Doxyfile.aliases: prepare for next release. Pekka.Pessi@nokia.com**20060927131808] [TAG rel-sofia-sip-1_12_2-2 Pekka.Pessi@nokia.com**20060927125829] Patch bundle hash: ae761995b2c0f450b3013dc5c19a093603cd1c22