[OpenSIPS-Devel] [opensips] Patch 13 (#200)

fabriziopicconi notifications at github.com
Sat Apr 12 16:59:41 CEST 2014


You can merge this Pull Request by running:

  git pull https://github.com/fabriziopicconi/opensips patch-13

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenSIPS/opensips/pull/200

-- Commit Summary --

  * updated version to 1.10
  * wrong mpath folder (detected by rpmbuild)
  * Update to 1.10
  * Fixed goes_to_gw, is_from_gw and dr_is_gw so that they accept negative
  * Properly mentioned Steve Frécinaux from Be IP as the module creator
  * Fixed crash if send_subscribe fails early
  * Cleanup menucnfig files when doing make proper
  * remove warning compilation
  * parallel compilation
  * parallel compilation
  * Fixed warning
  * Fix: mathops internal parsing bug
  * Fixed compilation in systems without EPOLL
  * Increased menuconfig parsing buffer to 1024
  * Fixed double free issue when reading multiple SIP messages in one TCP chunk
  * Merge pull request #49 from fabriziopicconi/patch-11
  * Merge pull request #47 from fabriziopicconi/patch-9
  * porting of 8ed2ed: spec file for el/fedora synced with build server
  * PUBLISH requests are now handled in the same order than received.
  * Added documentation for recent changes.
  * add m4 config support for debian distros
  * add m4 config support for el/fedora distros, spec file synced with build server
  * fixed setting the default min_expires and max_expires module parameters.
  * Merge pull request #53 from nikbyte/1.10
  * Merge pull request #40 from fabriziopicconi/patch-7
  * Merge pull request #38 from fabriziopicconi/1.10
  * Fix: sdp_free() bug introduced in commit bde8c0a045
  * pike: correct spelling
  * - BYE requests received in confirmed state should terminate the dialog only if they match the TO-tag from 200 OK INVITE.
  * Fix: also run child_init for bin listeners
  * - proper backport of all changes from 1.8 branch
  * Fixed bug introduced by previous commit :
  * - removed unused variable
  * - complete backport from 1.8 of pull request #15
  * - complete backport from 1.8 of pull request #15
  * - complete port of pull request #34
  * Merge pull request #58 from saghul/pua_double_free
  * Fix replicated dialog profile management in distributed systems
  * Merge pull request #68 from wdoekes/wjd-fix_nathelper_memleak
  * Fix compilation issue introduced in commit a9fcd84c
  * - fixed NULL sockets in external scenarios (this leads to crashing when building the contact hdr)
  * Fix replication of dialog delete events
  * Fix several usrloc named flag issues
  * Merge pull request #62 from dsandras/ds-dialoginfo-notifications-fixes
  * - fixed incomplete function call (resulted from the merged commit 09a291e)
  * - fixed how lumps can overlap on the edge - an "add" just next to a "delete"
  * - when starting the FR timer, it should not override any previous setting of a FR or FR_INV timers.
  * -  Gracefully detect if the uac_auth modules is available for usage in b2b_entities modules - do not through an error message but rather an info one, as find the uac_auth module is optional.
  * - fixed CANCEL matching in B2B
  * Fix: allow rest_client functions in onreply_route
  * - new functions added to help a module to check if its functions are used from the script (we cannot rely on the fixup functions as we have functions without parameters or need for fixup). Such function is needed for fixing dependencies between modules (to follow up)
  * - UAC module does not load (no dependency) on UAC_AUTH if the uac_auth() function is not used.
  * removed the beta flag
  * Fix evi crash when defining more than 10 events
  * Fix PUA module so that it sends a final PUBLISH on expiration.
  * - fixed updating the index of the last DEL operation - this is essential for deciding which lumps must be skipped (as overlapping with delete parts of the message)
  * Merge pull request #73 from wdoekes/wjd-pua_min_expires_doc
  * - fixed overflow in parsing the content len value
  * - fixed double free when building insert fails (in buffered insert mode)
  * Fix invalid pointer when fetching the usrloc extra info column
  * Fix missing GPL headers in event_xmlrpc module
  * Fix some documentation typos
  * "registered" must also populate the 'attr' avp, if defined
  * - doc examples fixed
  * Fix unpatched assignment in commit b33d4b3f
  * Properly load contact flags even when NAT pinging is disabled
  * Fixed menuconfig errors when selecting mi_xmlrpc vs mi_xmlrpc_ng
  * Merge branch 'master' of github.com:OpenSIPS/opensips
  * handle the signals while waiting for the startup route to end (if not, the main proc will never know if the child running startup route crashed and it will hang for ever during startup)
  * In DELAYED mode, flush vars & profile to DB at ACK time too - no timer tick between 200 OK and ACK was droping the update operation to DB.
  * Fixed is_mod_func_used() (used from is_script_func_used()) to determin if a function is used from script - we need to follow the IF / WHILE / MODULE set of instructions too.
  * Fixed topology_hiding("U") in case of no username in Contact header
  * Fixed the re-loading of dlg vars after restart
  * Fix a particular startup crash
  * Allow NULL strings to be pushed into binary interface packets
  * 1. Added support for appending parameter string in outbound URI.
  * uac_auth: fix memory leak reported by Jeff Pyle <jpyle at fidelityvoice.com>
  * Make pv_parse_format() more verbous on reporting the causes to fail.
  * fix ratelimit memory corruption
  * The latest Linux distros from OpenSUSE, Fedora, and other non-Debian based distros no longer add symlinks for libcurses.so -> libncurses.so. Trying to compile menuconfig with -lcurses will not work on these distros, so I changed -lcurses to -lncurses, since -lncurses will work on any modern Linux distro with the ncurses5 libraries installed.
  * Fixed accepting "after" changes in lumps attached to the beginning of a del lump
  * Fixed locking on purging profiles for terminated dialogs - in strange cases of concurancy between provisional and final replies, the profile ops for provisional reply may end up iterating on a deleted list.
  * Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG.
  * README files regenerated from XMLs
  * Removed "auto" flag for the dlg_id in DB_TEXT spec file
  * Proper support for BIGINT (as long) in the db_text SQL driver.
  * Fixed the weight-based balancing alg.
  * Merge pull request #109 from rrb3942/shutdown_segfault
  * Re-install dlg callbacks (for restoring FROM/TO hdr) upon re-loading dialogs on startup.
  * Use proper locking function (via the generic locking API)
  * core: enhance error log for un-parsable msg by adding the source IP and port
  * Also trace the CANCEL requests in case we're doing trace_dialog()
  * Do proper return code to script from cachedb_* functions ( treat 0 as success )
  * Allow drouting module to be used for DID matching only ( where you only have prefixes provisioned, no GWs, and call do_routing with the 'C' flag )
  * Proper usage of build_req_buf_from_sip_req() function - socket and proto are required.
  * rework ratelimit distributed queries
  * Mask compile-time shift/reduce conflict due to if statement ambiguity
  * Fixed restoring SOCKET info from AVP during failover
  * Reset the lump cond flags when the condition evaluates to false.
  * Fixed keeping turns on handling PUBLISHes for the same presentity - when presentity is deleted (due a unPUBLISH) do not do any turn related ops anymore
  * Do not free the header string as it is part of the lumps (and freed together with the lumps).
  * revert commit ec0d05a
  * Fix the DB representation of message flags in the acc module
  * uac_registrant: re-register with expires value imposed by the registrar
  * Fixed bogus warning because of variables not being reset.
  * Merge pull request #131 from dsandras/ds-pua-mi-warning-fix
  * Merge pull request #122 from dsandras/ds-fix-dialog-info-entity
  * Fixed residential example when using presence
  * Load xcap module, presence_xml depends on it
  * pua: set db_flag to UPDATEDB_FLAG only if there was a previous update (NO_UPDATEDB_FLAG)
  * fixed README typo
  * Merge pull request #139 from shimaore/pkg_mem_events
  * pua_dialoginfo: do not blindly load all dialogs
  * Properly take into account the dialplan priority in case entry matches both string and regex rules
  * drouting: fix drc_table doc default value
  * Merge pull request #141 from shimaore/db_http_timeout_doc
  * fixed doc avp names
  * Fixed bogus condition in GT, GTE, LT and LTE script tests.
  * Merge pull request #129 from dsandras/ds-pua-expires-refresh-fix
  * Merge pull request #135 from bat-modulis/master
  * Generate proper branch param for the NAT ping requests
  * mi_json: escape '\\' character
  * remove bogus flushing for mi_json
  * revert bogus commit for mi_json
  * Merge pull request #150 from staskobzar/master
  * Fixed bogus triggering of PUBLISHing for non-INVITE sequential requests.
  * Makefile.conf.template: add newline at end of file
  * mediaproxy: always parse To header
  * mediaproxy: fixed detecting messages without a body
  * Fixed bugs with processing m4 in fedora init scripts
  * Merge pull request #159 from nikbyte/1.10
  * Merge pull request #156 from lovelle/1.8
  * properly print statistics while running "-V"
  * "Interrupted system call" on "select" must not be reported as error/warning
  * Merge pull request #160 from rrb3942/localcache_counter_expire
  * Fix "mf_process_maxfwd_header" retcode in case of parsing errors
  * digest+m_auth: Allow a domain in the digest username.
  * Fixed bogus test over the presence of a request route. This was generating bogus warning messages to the logs, but without any negative impact over the actual processing.
  * cachedb_mongodb: fix BSON_DATE conversion
  * Fix NULL pointer deref. in "acc_db_request" when "db_url" is not set
  * improve docs
  * Fix crash when printing $(ct[*])
  * Fixed the lex for tcp_max_msg_chunks and tcp_max_msg_time
  * When updating the database records, first perform all update and inserts and then check the timeout for expired records -> records to be deleted.
  * Merge pull request #174 from wdoekes/wjd-fix_dialogaggr_memleak
  * db_http: add value_delimiter parameter
  * residential config: Also define the "xcap" db_url
  * For topo hiding and fix_route_dialog() usage, do not try do add del lumps for already deleted route headers
  * Added support for embedded arrays within MongoDB documents
  * update ChangeLog file for 1.10.1
  * update Makefile for 1.10.1
  * update specs for 1.10.1
  * Merge pull request #74 from wdoekes/wjd-timeout_avp_and_publish
  * sipmsgops: Fix trailing whitespaces when doing "codec_delete_re"
  * pi_http: fix copy/paste error that can lead to a crash when 'order_by_cols' is used
  * pi_http: fix HTTP escaping
  * Fixed detection of the module functions used in script - we need to look also into the logical expressions (like IF and WHILE conditions)
  * presence_dialoginfo: Fix bounds checking by using a helper function.
  * Fix two mem corruptions.
  * Fix recalculation of sending socket after local route
  * fixed acc to raise the proper event when using acc_evi_request()
  * mi_xmlrpc: fix crash when flushing complex MI trees as strings
  * exec doc: update the OpenSIPS routes for each function
  * msilo dbschema: avoid setting a default value for the body field
  * thrift 0.9

-- File Changes --

    M ChangeLog (1073)
    M Makefile (2)
    M Makefile.conf (13)
    M Makefile.defs (4)
    M Makefile.rules (1)
    M NEWS (4)
    M bin_interface.c (15)
    M bin_interface.h (5)
    M cachedb/cachedb.c (49)
    M cfg.lex (2)
    M cfg.y (9)
    M db/db_insertq.c (4)
    M db/db_query.c (4)
    M db/schema/dialog.xml (2)
    M db/schema/silo.xml (1)
    M evi/event_interface.c (2)
    M flags.c (11)
    M io_wait.h (3)
    M main.c (6)
    M menuconfig/Makefile (2)
    M menuconfig/configs/opensips_residential.m4 (3)
    M menuconfig/parser.c (34)
    M mod_fix.c (4)
    M mod_fix.h (3)
    M modules/acc/README (2)
    M modules/acc/acc.c (12)
    M modules/acc/acc.h (4)
    M modules/acc/acc_logic.c (25)
    M modules/acc/acc_logic.h (1)
    M modules/acc/doc/acc_admin.xml (2)
    M modules/auth/README (3)
    M modules/auth/auth_mod.c (6)
    M modules/auth_aaa/README (3)
    M modules/auth_db/README (3)
    M modules/auth_diameter/README (3)
    M modules/avpops/README (4)
    M modules/b2b_entities/README (3)
    M modules/b2b_entities/b2b_entities.c (2)
    M modules/b2b_entities/dlg.c (17)
    M modules/b2b_logic/logic.c (9)
    M modules/benchmark/README (3)
    M modules/cachedb_cassandra/Makefile (2)
    M modules/cachedb_local/README (3)
    M modules/cachedb_local/hash.c (8)
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c (22)
    M modules/cachedb_mongodb/cachedb_mongodb_json.c (105)
    M modules/cachedb_sql/cachedb_sql.c (11)
    M modules/call_control/README (3)
    M modules/cfgutils/README (3)
    M modules/closeddial/README (2)
    M modules/db_flatstore/README (3)
    M modules/db_http/README (52)
    M modules/db_http/db_http.c (1)
    M modules/db_http/doc/db_http_admin.xml (25)
    M modules/db_http/http_dbase.c (27)
    M modules/db_http/http_dbase.h (1)
    M modules/db_text/README (3)
    M modules/db_text/dbt_base.c (2)
    M modules/db_text/dbt_file.c (18)
    M modules/db_virtual/README (3)
    M modules/dialog/README (14)
    M modules/dialog/dialog.c (4)
    M modules/dialog/dlg_db_handler.c (19)
    M modules/dialog/dlg_db_handler.h (3)
    M modules/dialog/dlg_handlers.c (42)
    M modules/dialog/dlg_hash.c (16)
    M modules/dialog/dlg_hash.h (2)
    M modules/dialog/dlg_load.h (2)
    M modules/dialog/dlg_profile.c (14)
    M modules/dialog/dlg_profile.h (9)
    M modules/dialog/dlg_replication.c (13)
    M modules/dialog/dlg_req_within.c (8)
    M modules/dialog/dlg_tophiding.c (3)
    M modules/dialog/doc/dialog_admin.xml (11)
    M modules/dialplan/dp_repl.c (5)
    M modules/dispatcher/dispatch.c (3)
    M modules/diversion/README (3)
    M modules/domain/README (3)
    M modules/domainpolicy/README (3)
    M modules/drouting/README (13)
    M modules/drouting/doc/drouting_admin.xml (6)
    M modules/drouting/drouting.c (9)
    M modules/enum/README (3)
    M modules/event_xmlrpc/event_xmlrpc.c (25)
    M modules/event_xmlrpc/event_xmlrpc.h (24)
    M modules/exec/README (12)
    M modules/exec/doc/exec_admin.xml (9)
    M modules/gflags/README (3)
    M modules/group/README (3)
    M modules/httpd/httpd_proc.c (2)
    M modules/imc/README (3)
    M modules/json/README (9)
    M modules/json/doc/json_admin.xml (4)
    M modules/load_balancer/README (2)
    M modules/load_balancer/doc/load_balancer_admin.xml (2)
    M modules/load_balancer/lb_data.c (12)
    M modules/mangler/README (3)
    M modules/mathops/README (6)
    M modules/mathops/doc/mathops_admin.xml (4)
    M modules/mathops/math_funcs.c (2)
    M modules/maxfwd/README (3)
    M modules/maxfwd/maxfwd.c (2)
    M modules/mediaproxy/README (3)
    M modules/mediaproxy/mediaproxy.c (14)
    M modules/mi_fifo/README (3)
    M modules/mi_http/README (3)
    M modules/mi_xmlrpc/xr_server.c (2)
    M modules/mi_xmlrpc/xr_writer.c (50)
    M modules/mi_xmlrpc/xr_writer.h (1)
    M modules/msilo/README (3)
    M modules/nat_traversal/README (3)
    M modules/nat_traversal/nat_traversal.c (5)
    M modules/nathelper/nathelper.c (8)
    M modules/nathelper/sip_pinger.h (16)
    M modules/options/README (3)
    M modules/osp/Makefile (3)
    M modules/osp/README (97)
    M modules/osp/doc/osp_admin.xml (23)
    M modules/osp/etc/sample-osp-opensips.cfg (21)
    M modules/osp/globals.c (2)
    M modules/osp/osp_mod.c (15)
    M modules/osp/osp_mod.h (2)
    M modules/osp/sipheader.c (40)
    M modules/path/README (3)
    M modules/peering/README (3)
    M modules/permissions/README (3)
    M modules/permissions/permissions.c (2)
    M modules/pi_http/http_fnc.c (12)
    M modules/pike/README (5)
    M modules/pike/doc/pike_admin.xml (2)
    M modules/presence/hash.c (30)
    M modules/presence/hash.h (7)
    M modules/presence/notify.c (48)
    M modules/presence/notify.h (6)
    M modules/presence/presence.c (4)
    M modules/presence/presentity.c (55)
    M modules/presence/publish.c (2)
    M modules/presence/subscribe.c (41)
    M modules/presence_callinfo/add_events.c (4)
    M modules/presence_dialoginfo/notify_body.c (129)
    M modules/presence_xcapdiff/README (3)
    M modules/pua/README (4)
    M modules/pua/doc/pua_admin.xml (2)
    M modules/pua/hash.c (8)
    M modules/pua/pua.c (33)
    M modules/pua/send_publish.c (4)
    M modules/pua/send_subscribe.c (29)
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml (53)
    M modules/pua_dialoginfo/pua_dialoginfo.c (76)
    M modules/pua_mi/mi_func.c (7)
    M modules/qos/README (3)
    M modules/ratelimit/README (3)
    M modules/ratelimit/ratelimit_helper.c (37)
    M modules/registrar/lookup.c (10)
    M modules/registrar/save.c (2)
    M modules/rest_client/rest_client.c (24)
    M modules/rr/README (4)
    M modules/rr/doc/rr_admin.xml (2)
    M modules/rtpproxy/doc/rtpproxy_admin.xml (2)
    M modules/signaling/README (3)
    M modules/sipmsgops/README (3)
    M modules/sipmsgops/codecs.c (9)
    M modules/sipmsgops/sipmsgops.c (7)
    M modules/siptrace/README (3)
    M modules/siptrace/siptrace.c (56)
    M modules/sl/README (3)
    M modules/sms/README (3)
    M modules/speeddial/README (3)
    M modules/sst/README (3)
    M modules/sst/sst_handlers.c (49)
    M modules/statistics/README (3)
    M modules/stun/README (2)
    M modules/textops/README (11)
    M modules/textops/doc/textops_admin.xml (8)
    M modules/tm/README (2)
    M modules/tm/doc/tm_admin.xml (2)
    M modules/tm/t_funcs.h (4)
    M modules/tm/timer.c (24)
    M modules/tm/uac.c (12)
    M modules/uac/auth.c (6)
    M modules/uac/replace.c (29)
    M modules/uac/replace.h (1)
    M modules/uac/uac.c (117)
    M modules/uac_auth/auth.c (25)
    M modules/uac_auth/uac_auth.h (1)
    M modules/uac_redirect/README (3)
    M modules/uac_registrant/README (7)
    M modules/uac_registrant/registrant.c (9)
    M modules/uri/README (7)
    M modules/uri/doc/uri_admin.xml (5)
    M modules/userblacklist/README (3)
    M modules/usrloc/README (3)
    M modules/usrloc/dlist.c (248)
    M modules/usrloc/ucontact.c (5)
    M modules/usrloc/udomain.c (1)
    M modules/usrloc/ul_mi.c (5)
    M modules/xcap_client/xcap_callbacks.c (2)
    M modules/xcap_client/xcap_functions.c (4)
    M msg_translator.c (88)
    M packaging/debian-lenny/changelog (55)
    M packaging/debian-lenny/opensips.init (27)
    M packaging/debian/changelog (14)
    M packaging/debian/opensips.init (27)
    M packaging/fedora/opensips.init (32)
    A packaging/fedora/opensips.m4cfg (32)
    M packaging/fedora/opensips.service (1)
    M packaging/fedora/opensips.spec (743)
    M packaging/freebsd/Makefile (2)
    R packaging/gentoo/opensips-1.10.1.ebuild (0)
    M packaging/netbsd/Makefile (4)
    M packaging/openbsd/Makefile (2)
    M packaging/rpm/opensips.spec.CentOS (50)
    M packaging/rpm/opensips.spec.SuSE (2)
    M packaging/solaris/base-pkginfo (4)
    M packaging/solaris/berkeley-pkginfo (4)
    M packaging/solaris/carrierroute-pkginfo (4)
    M packaging/solaris/identity-pkginfo (4)
    M packaging/solaris/ldap-pkginfo (4)
    M packaging/solaris/mmgeoip-pkginfo (4)
    M packaging/solaris/mysql-pkginfo (4)
    M packaging/solaris/perl-pkginfo (4)
    M packaging/solaris/pgsql-pkginfo (4)
    M packaging/solaris/regex-pkginfo (4)
    M packaging/solaris/snmp-pkginfo (4)
    M packaging/solaris/tls-pkginfo (4)
    M packaging/solaris/xmlrpc-pkginfo (4)
    M parser/digest/digest.c (7)
    M parser/parse_content.c (5)
    M parser/sdp/sdp.c (2)
    M pvar.c (14)
    M receive.c (4)
    M route.c (58)
    M route.h (3)
    M route_struct.c (51)
    M route_struct.h (1)
    M scripts/db_berkeley/opensips/silo (2)
    M scripts/dbtext/opensips/dialog (2)
    M scripts/mysql/msilo-create.sql (2)
    M scripts/opensipsctl (8)
    M scripts/oracle/msilo-create.sql (2)
    M scripts/postgres/msilo-create.sql (2)
    M socket_info.c (6)
    M sr_module.c (1)
    M sr_module.h (1)
    M tcp_conn.h (3)
    M tcp_read.c (28)
    M test/13.cfg (2)
    M test/14.cfg (2)
    M test/2.cfg (4)
    M test/25.cfg (6)
    M test/7.cfg (180)
    M tls/README (2)
    M tls/doc/tls_user.sgml (2)
    M version.h (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/200.patch
https://github.com/OpenSIPS/opensips/pull/200.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/200
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140412/c1ffa0bb/attachment-0001.htm>


More information about the Devel mailing list