=========================== Release 1.11.0 ============================== 2014-03-20 Liviu Chircu * [1c7f225] : Makefile.conf.template: disable HP_MALLOC from the default setup 2014-03-20 Liviu Chircu * [56b325b] : core: High Performance Memory Allocator included * ideal for systems with high volumes of calls-per-second * fine-grained locking * tunable two-level hashing of free memory fragments * memory allocation pattern recording * fragmentation-on-startup * enable "HP_MALLOC" within "make menuconfig" 2014-03-20 Liviu Chircu * [5fbc82f] : atomic.h: add 64-bit atomic operations 2014-03-20 Razvan Crainea * [66354d1] : update specs for 1.11 2014-03-20 Vlad Paiu * [fcc1ab5] : Changed 1.11 status to beta 2014-03-20 Răzvan Crainea * [1a0310f] : dialog: remove timeout_avp from docs 2014-03-20 Razvan Crainea * [c6b1a6a] : packaging: remove old debian-lenny 2014-03-20 Razvan Crainea * [d110328] : update credits for 1.11 2014-03-20 Bogdan-Andrei Iancu * [e2c7ece] : MYSQL DB migration script updated from 1.10 to 1.11 migration 2014-03-20 Ovidiu Sas * [bffa103] : tm: fix README 2014-03-20 Ovidiu Sas * [6d41b53] : tm: update doc for "own_timer_proc" parameter - it defines the number of timer procs - completes commit f001f098a0cf3996655e1ca47675b15d2f69c984 2014-03-20 Răzvan Crainea * [ff3f11a] : rtpproxy: update documentation 2014-03-20 Razvan Crainea * [3c36a16] : rtpproxy: rename script functions * engage_rtp_proxy() is deprecated and replaced by rtpproxy_engage() * unforce_rtp_proxy() is deprecated and replaced by rtpproxy_unforce() * start_recording() is deprecated and replaced by rtpproxy_start_recording() 2014-03-20 Razvan Crainea * [00c42e3] : call_center: fix compile warning for unsigned printing 2014-03-20 Ovidiu Sas * [c2b3726] : drouting: use constans for indexing values while loading dr_rules table 2014-03-20 Razvan Crainea * [7b3ead2] : makefile: prevent Makefile.conf from being ovewritten 2014-03-20 Ovidiu Sas * [bdda717] : Merge branch 'master' of github.com:OpenSIPS/opensips 2014-03-20 Ovidiu Sas * [f552335] : mi_xmlrpc_ng: make module opensips-cp compatible 2014-03-20 Razvan Crainea * [6d76fe3] : compile: add Makefile.conf dependency 2014-03-20 Ovidiu Sas * [ca046ae] : drouting: use constans for indexing values while loading dr_carriers table 2014-03-20 Vlad Paiu * [a6f42db] : Fixed compile warning Module compiles even with STATISTICS support disabled 2014-03-20 Vlad Paiu * [8c83b13] : fixed sched_yield() warning 2014-03-20 Ovidiu Sas * [ecbc003] : drouting: use constans for indexing values while loading dr_gateways table 2014-03-20 Bogdan-Andrei Iancu * [791ab01] : fixed compile warning 2014-03-20 Vlad Paiu * [f14766a] : Fixed free which lead to bogus memory access: 2014-03-20 Vlad Paiu * [804c9f7] : Fixed compile warning 2014-03-20 Bogdan-Andrei Iancu * [5492dbf] : Code cleanup - removed variables which are not actually used for anything 2014-03-20 Bogdan-Andrei Iancu * [8ad0901] : Fixed return code in case of error 2014-03-20 Bogdan-Andrei Iancu * [a4cdbcb] : Added db schema for the Call Center module; DB stuff re-generated 2014-03-20 Ovidiu Sas * [4f5b87a] : pua_usrloc: fix error: SCB_RUN_ALL undeclared (first use in this function) 2014-03-20 Liviu Chircu * [276339f] : [NEW] Script Helper module * simplifies the scripting process in OpenSIPS * transparent sequential request management * embedded record routing and loose routing logic * may be configured to include dialog support * future directions include NAT and auth support 2014-03-20 Liviu Chircu * [f333109] : tm: reset $T_fr_timeout to default when setting a NULL value * same for $T_fr_inv_timeout * docs updated 2014-03-20 Liviu Chircu * [a9c8016] : rest_client: rename "ssl_ca_path" to match documentation 2014-03-20 Liviu Chircu * [ff4f8c1] : call_center: added README 2014-03-20 Liviu Chircu * [6e46a57] : script callbacks: add a priority-based register function * useful for modules which must run their callback first/last 2014-03-20 Liviu Chircu * [4570b22] : script callbacks: new return code mechanism * script callbacks must now return a "what-to-run-next" bitmask * e.g. a module may now skip running top route, yet run post callbacks 2014-03-20 Bogdan-Andrei Iancu * [cb847c1] : Adding new module "Call-Center" for call queueing and distribution TODO : add documentation and add DB schema 2014-03-19 Ovidiu Sas * [657ce89] : mi_xmlrpc_ng: align output format with mi_xmlrpc module 2014-03-19 Razvan Crainea * [beb383f] : makefile: add FASTER variable Increase the compile time of opensips by compiling all modules in parallel. Because the output of the command gets mixed and it is hard to parse, we simply suppress it. Usage example: FASTER=1 make -j all 2014-03-19 Walter Doekes * [176a41f] : Address concern: readability of compiling modules without -j. 2014-03-19 Walter Doekes * [67cfefe] : Address concerns: clearly note that there was an error. 2014-03-19 Walter Doekes * [9271a45] : Replace odd -j in module-submake with ability for proper parallelism. Recently `-j` was added to the list of flags passed to the modules $(MAKE) command. That's bad practise for two reasons: (1) the caller should decide on how much -j is required, not the programmer, and (2) just -j without any numeric argument is "use all resources you can get", which can be too much. We order the Makefile around so the supermake (the user invocation) can dispatch individual submakes in a parallel fashion. This is done by (a) making the module directories phony targets and (b) replacing the sequential for-loop over the modules with a simple dependency. 2014-03-19 Razvan Crainea * [0260de0] : event_rabbitmq: URI-decode fields in rabbitmq socket Closes issue #148 2014-03-19 Ovidiu Sas * [ff5f403] : pi_http: fix copy/paste error that can lead to a crash when 'order_by_cols' are used 2014-03-18 Razvan Crainea * [a65eca9] : fix sst dialog timeout after timeout_avp removal 2014-03-18 Liviu Chircu * [b91cba4] : cfgutils doc: specify RFC 2445 compatibility of "check_time_rec()" params 2014-03-18 Liviu Chircu * [26af2e8] : tm: update documentation with latest changes 2014-03-18 Liviu Chircu * [4b5e4f8] : tm: rename "fr_timer" and "fr_inv_timer" * to "fr_timeout", "fr_inv_timeout" * rename equivalent variables to $T_fr_timeout and * $T_fr_inv_timeout * backwards-compatible 2014-03-17 Bogdan-Andrei Iancu * [253753e] : Added new script function t_new_request() to allow sending SIP initial requests (as UAC transactions) from the OpenSIPS script. 2014-03-17 Bogdan-Andrei Iancu * [6c0cdf3] : Before DB flush, check if the DB connection was actually open (during failed starts, destroy may be triggered without having init done) 2014-03-17 Bogdan-Andrei Iancu * [d244686] : Fixed setting timeout (via script vars) for UAC transactions 2014-03-17 Bogdan-Andrei Iancu * [b4bb68b] : Forgotten file from commit 1db2fc (local route changes) Reported by Ovidiu Sas. 2014-03-17 Ovidiu Sas * [40a34fb] : drouting: fix compiler warnings - * may be used uninitialized in this function 2014-03-16 Bogdan-Andrei Iancu * [1db2fc5] : LOCAL Route support enhanced : - serial forking for UAC transactions added - possibility to use ONREPLY and FAILURE routes for UAC transactions - ability to use (transaction wise) AVPs, flags, timeouts - DNS based failover works now for UAC transactions (solving #140) 2014-03-15 Ovidiu Sas * [75f1ed6] : pi_http: run DB_UPDATE commands with prefilled values 2014-03-13 Liviu Chircu * [3f3d52d] : drouting: update documentation with latest changes * also fix some missing paragraph tags 2014-03-13 Liviu Chircu * [d24b10e] : drouting: Rework of all "attributes" AVPs * now exported at script level using optional function pvar parameters * by default, they are not stored at all inside the transaction * stored internally if pvars are given to do_routing|route_to_carrier|route_to_gw * no additionally required module parameters * NOT backwards-compatible 2014-03-12 Vlad Paiu * [61e21a0] : Added support for embedded arrays within MongoDB documents 2014-03-12 Vlad Paiu * [2520b8a] : For topo hiding and fix_route_dialog() usage, do not try do add del lumps for already deleted route headers (cherry picked from commit 5a119db9031d6231c521367847bf1b3c1b6bb7a5) 2014-03-11 Liviu Chircu * [e93234b] : Merge branch 'master' of github.com:OpenSIPS/opensips 2014-03-11 Liviu Chircu * [4b4ac96] : residential config: Also define the "xcap" db_url 2014-03-11 Razvan Crainea * [ab80ade] : db_http: add value_delimiter parameter Add a new parameter used to specify the fields delimiters for queries variables 2014-03-11 Răzvan Crainea * [112f504] : Merge pull request #125 from rrb3942/index_trans Add s.index and s.rindex transformations 2014-03-10 Bogdan Andrei IANCU * [1e02b32] : Merge pull request #174 from wdoekes/wjd-fix_dialogaggr_memleak presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. 2014-03-10 Bogdan-Andrei Iancu * [3c1164a] : When updating the database records, first perform all update and inserts and then check the timeout for expired records -> records to be deleted. Doing first the delete may hide records "expired but to be updated". Credits go to Nick Altmann Closes bug #112. 2014-03-10 Razvan Crainea * [ec56716] : tm: compute the timer set based on the fragments align 2014-03-10 Razvan Crainea * [ed31ed5] : tm: prevent timer list overflow when using multiple timer procs 2014-03-10 Razvan Crainea * [67ced1c] : dialog: only update timer if the timeout is set on current request 2014-03-10 Razvan Crainea * [ea19362] : rtpproxy: properly unforce dialog when using engage 2014-03-10 Razvan Crainea * [ff18c53] : rtpproxy: updated documentation for the setid and pvar changes 2014-03-10 Razvan Crainea * [6a213ed] : rtpproxy: properly store/fetch variables by engage 2014-03-10 Razvan Crainea * [dbe4535] : rtpproxy: properly parse the bavp set 2014-03-10 Razvan Crainea * [26ed2fa] : rtpproxy: removed the 'rtpp_sock_pvar' parameter now all functions return the rtpproxy server used in the 4th optional parameter 2014-03-10 Razvan Crainea * [2d4ce86] : rtpproxy: allow functions to receive optional parameters 2014-03-10 Razvan Crainea * [b528acd] : rtpproxy: remove set_rtp_proxy_set() function The set_rtp_proxy_set() function has been completely remove. From now on, you can specify the set directly in the rtpproxy comands. If not specified, the default set is used. 2014-03-10 Razvan Crainea * [ba80ddd] : nathelper: remove unused nathelper.h header 2014-03-10 Razvan Crainea * [6b3c22c] : rtpproxy: allow unexisting set Do not exit if a set is not found during startup, since it may be later on loaded from database. 2014-03-10 Razvan Crainea * [b5fd777] : dialog: add $DLG_timeout pvar documentation 2014-03-10 Razvan Crainea * [dc57fed] : dialog: replace timeout_avp with $DLG_timeout * removed the timeout_avp parameter * added DLG_timeout pseudovariable for specifying dialog timeout 2014-03-10 Bogdan-Andrei Iancu * [f001f09] : Added support for multiple timer processes in TM. The timer process may easyly become a bottleneck in TM because: (a) single lock on the timer lists, (b) single process to purge/free all transactions, (c) single process running all failure routes (with all script complexity of failure routes). This patch addresses all the above problems allowing multi-locking and multi-processing for the the overall timer concept in TM. Existing "own_timer_proc" module parameter extended from boolean value to an integer value : 0 - no separate timer proc for TM; 1 - one separate timer proc for TM; n - multiple timer procs for TM. 2014-03-10 Bogdan-Andrei Iancu * [9314abb] : Output the address of previous fragment when overwritten is detected (just better logging) 2014-03-06 Walter Doekes * [60716e8] : presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. This commit fixes a couple of presence issues (introduced in 80c48e6): * There was a memory leak in dlginfo_agg_nbody. * Bounds checking in dlginfo_agg_nbody was off by 4 (potential stack corruption). * There were 2 PKG allocs, straight after one another while no alloc was needed at all: reduced to 1 optional one. * Replace "dumy" with "dummy" in the vicinity. 2014-03-05 Liviu Chircu * [9a801ba] : Remove 18KB worth of whitespace from all .c, .h and .cpp files 2014-03-05 Liviu Chircu * [1f47b10] : Fix various typos throughout documentation and code 2014-03-05 Liviu Chircu * [15784be] : statistics: fix compiler warning in 32-bit environments 2014-03-05 Liviu Chircu * [a1d61f3] : Merge branch 'wjd-compile_warnings' of https://github.com/wdoekes/opensips into wdoekes-wjd-compile_warnings 2014-03-05 Razvan Crainea * [f544472] : config: skip optional parameters when a parameter is not mandatory, you can skip it by adding the next comma. For example: uac_replace_from(,"sip:robin@gotham.org") 2014-03-05 Vlad Paiu * [5cf71c3] : Fixed the lex for tcp_max_msg_chunks and tcp_max_msg_time 2014-03-05 Walter Doekes * [f2e64f5] : core: Fix pass_fd.c aliasing warnings by forcing proper packing. Compiling pass_fd.c pass_fd.c: In function ‘send_fd’: pass_fd.c:132:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)CMSG_DATA(cmsg)=fd; ^ pass_fd.c: In function ‘receive_fd’: pass_fd.c:240:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *fd=*((int*) CMSG_DATA(cmsg)); ^ 2014-03-05 Walter Doekes * [0b18a17] : exec: Fix kill.c compile warnings by including . Compiling kill.c kill.c: In function ‘__popen’: kill.c:129:2: warning: implicit declaration of function ‘pipe’ [-Wimplicit-function-declaration] if (pipe(fds) != 0) { ^ ... 2014-03-05 Liviu Chircu * [4aa4f49] : rest_client: update documentation 2014-03-05 Liviu Chircu * [15423bb] : rest_client: allow disabling of SSL remote host verifications * with the new *ssl_verifypeer* and *ssl_verifyhost* modparams 2014-03-04 Liviu Chircu * [277f587] : stun: update documentation 2014-03-04 Liviu Chircu * [d5f7ddf] : stun: add the option to specify advertised addresses and ports * as an extension to the existing modparam strings 2014-03-04 Ovidiu Sas * [7c171aa] : dispatcher: ds_select_dst/domain - fast emty slot detection 2014-03-04 Ovidiu Sas * [650a60b] : drouting: enforce route_to_gw() param parsing - no empty slots allowed inside GW list 2014-03-04 Ovidiu Sas * [d809369] : drouting: do not alter PVARs while scanning GW lists in route_to_gw() 2014-03-04 Ovidiu Sas * [b3696d2] : dispatcher: update documentation for ds_select_dst/domain 2014-03-03 Ovidiu Sas * [37f8774] : dispatcher: add ability to dispatch over multiple dispatchng groups - ds_select_dst/domain can accept lists of comma separated values as parameters 2014-03-03 Ovidiu Sas * [671b81d] : core: add q_memrchr - faster memrchr version 2014-03-02 Liviu Chircu * [9bfce00] : for-each statement completed * final syntax: for ($var(it) in $(ct[*])) { ... } * now works for any pvar which supports indexing * current such pvars in OpenSIPS: $avp, $ct, $ct.fields, $branch, $hdr(xxx)) 2014-03-02 Liviu Chircu * [c09c126] : Update .gitignore 2014-03-02 Liviu Chircu * [cd93704] : core: $hdrcnt should not be indexed 2014-03-02 Liviu Chircu * [a5cd55b] : core: improve script_trace() performance with a wrapper macro 2014-03-01 Ovidiu Sas * [0e37b92] : mod_fix: return error for fixup_get_isvalue() if no int or str value is available 2014-03-01 Ovidiu Sas * [3186e69] : core: new function: str_trim_spaces_lr() - same as trim_spaces_lr() but without '0' padding 2014-03-01 Ovidiu Sas * [08eb851] : dispatcher: fix erroneous forced mode 0 introduced by previous commit 2014-03-01 Liviu Chircu * [aeb4e88] : Fix crash when printing $(ct[*]) 2014-03-01 Ovidiu Sas * [2b64f2a] : dispatcher: use a single helper function for all ds_select_dst/domain functions 2014-02-28 Ovidiu Sas * [2049108] : dispatcher: change signature for ds_select_dst - group all controlling params in a single structure 2014-02-27 Ovidiu Sas * [abf3947] : mod_fix:fixup_get_isvalue - make sure that we have a valid string for int converision 2014-02-27 Ovidiu Sas * [d15578c] : dispatcher: enhance error probe - print dispatching id for unknown dispatching algorithm 2014-02-27 Liviu Chircu * [52b6793] : mod_fix: have commit 4e3b6b7c390a work on strings and pv_elem_t as well 2014-02-27 Ovidiu Sas * [bf56024] : dispatcher: simplify ds_select_dst/domain params handling 2014-02-27 Ovidiu Sas * [4e3b6b7] : mod_fix: fixup_get_isvalue - return the int value if possible 2014-02-27 Ovidiu Sas * [bc4ccbe] : dispatcher: reorganize the code by using a define 2014-02-26 Liviu Chircu * [79bc8d7] : tm: change the "fr_(inv_)?timer_avp" params into module vars * namely $T_fr_timer and $T_fr_inv_timer * simplifies the scripting logic (also prevents some errors) * less CPU cycles, less mem usage * documentation updated 2014-02-26 Liviu Chircu * [1d5e117] : Fix issue introduced in commit "23174d2629c" 2014-02-26 Ovidiu Sas * [ff6e145] : dispatcher: add ability to handle string PVs for ds_select_dst/domain 2014-02-26 Liviu Chircu * [23174d2] : dialplan: move the "attrs" pvar into the "dp_translate" param list * simplifies the scripting logic * more efficient - it is now a local option, as opposed to a global one 2014-02-26 Liviu Chircu * [6da4e47] : registrar: Fix harmless compiler warning 2014-02-26 Ovidiu Sas * [7870f22] : mod_fix: new helper fixup function that returns string and/or int value from a gparam_t 2014-02-24 Liviu Chircu * [1ccdca4] : Job timeout for the 'exec' module * the "time_to_kill" parameter now works for all "exec_*" commands * improved overall documentation and usage examples 2014-02-21 Bogdan-Andrei Iancu * [aaa5f60] : docs updated for route_to_gw() 2014-02-21 Bogdan-Andrei Iancu * [5232238] : allow route_to_gw() to receive a list of gw IDs (instead of only one) - the list is a comma separated list of gw IDs 2014-02-20 Liviu Chircu * [7637f58] : Proper reporting for invalid module parameter types 2014-02-13 Bogdan-Andrei Iancu * [57d60b6] : improve docs 2014-02-10 Ovidiu Sas * [14c2630] : cachedb_mongodb: complete previous commit - handle _id based queries 2014-02-10 Ovidiu Sas * [a6148b1] : cachedb_mongodb: handle _id based queries 2014-02-10 Ovidiu Sas * [4b48f18] : cachedb_mongodb: fix sorting results for mongo queries 2014-02-07 Ovidiu Sas * [49a9f2a] : cachedb_mongodb: retieve ObjectId _id as string 2014-02-06 Ovidiu Sas * [36fa3cc] : cachedb_mongodb: use constants for oip size 2014-02-06 Liviu Chircu * [5d61f37] : Fix NULL pointer deref. in "acc_db_request" when "db_url" is not set 2014-02-06 Ovidiu Sas * [abdcbaf] : cachedb_mongodb: fix BSON_DATE conversion 2014-02-05 Bogdan-Andrei Iancu * [cdd3c51] : 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. Credits go to rrb3942 on GITHUB Closes issue #162 2014-02-05 Ovidiu Sas * [5bdd706] : dispatcher: enhance MI ds_list command - print socket if set - print attr if set 2014-02-05 Bogdan Andrei IANCU * [7949175] : Merge pull request #164 from wdoekes/wjd-allow_domain_in_digest_user digest+m_auth: Allow a domain in the digest username. 2014-02-05 Walter Doekes * [3b66855] : digest+m_auth: Allow a domain in the digest username. Before this patch, a domain in the digest username was allowed: Digest username="abc@domain", realm="domain" but only if the domain is equal to the realm. This was introduced in a92bf789 (Juha Heinanen, Mar. 29 2006). The SIP spec. doesn't mention any such restriction. This patch undoes that commit and makes sure the whole username is used when authenticating through `pv_www_authorize` and `pv_proxy_authorize`. That makes the following valid: Digest username="abc@domain", realm="something different" 2014-02-04 Ovidiu Sas * [11db9b8] : dispatcher: fix crash at shutdown with incorrect table version 2014-01-30 Liviu Chircu * [707982e] : Fix "mf_process_maxfwd_header" retcode in case of parsing errors 2014-01-28 Ovidiu Sas * [76d2499] : dialog: print dialog start and timeout in human readable format (MI) 2014-01-28 Ovidiu Sas * [45d660d] : pua_dialoginfo: documentation updates 2014-01-28 Ovidiu Sas * [188b2e7] : pua_dialog_info: failed calls should not trigger PUBLISH errors - related to Issue #142 2014-01-28 Ovidiu Sas * [51b5195] : pua: define constants for send_publish return codes 2014-01-27 Ovidiu Sas * [f10288b] : dialog: do not print missing to tag error for final replies in DLG_STATE_UNCONFIRMED 2014-01-21 Vlad Paiu * [ce35927] : Added new flag to is_from_gw/goes_to_gw , 'c' , which will push the respective carrier ID to the carrier_id_avp AVP 2014-01-15 vladpaiu * [11a74d7] : Merge pull request #160 from rrb3942/localcache_counter_expire Do not reset counter expiration on incr/decr 2014-01-15 Bogdan-Andrei Iancu * [adc3aaa] : "Interrupted system call" on "select" must not be reported as error/warning 2014-01-14 Razvan Crainea * [e8195fc] : properly print statistics while running "-V" 2014-01-10 Ryan Bullock * [4eed903] : Do not reset counter expiration on incr/decr 2014-01-10 Liviu Chircu * [5685379] : Merge pull request #144 from shimaore/mathops_extension Mathops extension: new RPN expression parsing function 2014-01-10 Liviu Chircu * [6c06594] : Correct an error message 2014-01-10 Bogdan Andrei IANCU * [09500ab] : Merge pull request #158 from nikbyte/master Fixed bugs with processing m4 in fedora init scripts 2014-01-10 Nick Altmann * [4f10a57] : Fixed bugs with processing m4 in fedora init scripts 2014-01-06 Bogdan-Andrei Iancu * [934fa69] : Fixed copy'n'paste error in the state flushing routine. Reported by Stéphane Alnet (shimaore) Closing issue #154 2013-12-30 Bogdan-Andrei Iancu * [7565996] : Fixed crash when dr_state_flusher() (via timer) may be called before data is loaded (by first SIP worker) Credits go to shimaore on GITHUB 2013-12-20 Saúl Ibarra Corretgé * [e4a334e] : mediaproxy: fixed detecting messages without a body 2013-12-20 Saúl Ibarra Corretgé * [359db7f] : mediaproxy: always parse To header 2013-12-17 Ovidiu Sas * [54a22de] : scripts/opensipsctl: nicer output for 'trap' if opensips is not running 2013-12-17 Ovidiu Sas * [55bde1d] : Makefile.conf.template: add newline at end of file 2013-12-16 Ovidiu Sas * [9d25d0c] : opensipsctl: new command 'trap' - useful to get a full bt dump of all opensips processes - handy in dead-lock investigatigations 2013-12-15 Bogdan-Andrei Iancu * [0ecaccb] : Fixed bogus triggering of PUBLISHing for non-INVITE sequential requests. Credits go to Damien Sandras Closes pull request #149 (cherry picked from commit e0cc9d009151a086f42c08d7f8092b8c7d5835ed) 2013-12-15 Bogdan Andrei IANCU * [6b6be30] : Merge pull request #150 from staskobzar/master opensipsctl is calling ds_relaod for dr instead of dr_reload 2013-12-15 Stas Kobzar * [da687c5] : opensipsctl is calling ds_relaod for dr instead of dr_reload 2013-12-11 Ovidiu Sas * [017e0c0] : scripts: db files for b2b_sca module 2013-12-11 Ovidiu Sas * [b1cd8a5] : db/schema: xml files for b2b_sca module 2013-12-11 Ovidiu Sas * [29e1b28] : b2b_sca: new module providing SCA functionality 2013-12-11 Vlad Paiu * [d4e8c03] : Re-formatted the dlg_list_ctx output Added extra intermediary nodes for the dlg values and profiles in order to avoid key duplication for certain MI output formats ( eg. xml, json ) 2013-12-11 Razvan Crainea * [0935742] : fixing the '\b' hexa representation for dialog vals Thanks go to Walter Doekes for reporting on IRC 2013-12-11 Razvan Crainea * [0d47a32] : remove bogus flushing for mi_json TODO: find a proper way for handling flushing, since the current implementation leads to a infinite loop 2013-12-11 Razvan Crainea * [28b399b] : mi_json: escape '\\' character also fix incorrect '"' escaping 2013-12-11 Razvan Crainea * [9df9872] : properly fix the dialog values escaping for nonascii chars 2013-12-10 Liviu Chircu * [c8f47c8] : Fix compile warnings when defining -DDBG_LOCK 2013-12-09 Razvan Crainea * [9eacde3] : fixed dialog dlg_vals printing Also encode DEL (0x7f) character since it does not print properly at the console 2013-12-07 Bogdan Andrei IANCU * [8988cdb] : Merge pull request #138 from secusmartChris/master Feature request #77 fulfilled 2013-12-07 Bogdan Andrei IANCU * [1076300] : Merge pull request #135 from bat-modulis/master Renamed permissions parameter 'from_col' to 'pattern_col' 2013-12-07 Bogdan Andrei IANCU * [ef43e3d] : Merge pull request #129 from dsandras/ds-pua-expires-refresh-fix Fix bug where a new publication does not extend the desired expire time. (cherry picked from commit ccac0fac1da8ad663e500148fb7f7d9e43e34fd1) 2013-12-06 Bogdan-Andrei Iancu * [012ad21] : Fixed keeping DB conn open in the process doing shutdown Fixed bug in memory handling (size and init) 2013-12-06 Bogdan-Andrei Iancu * [89b8ffb] : At shutdown, do not attempt to use the DB conn if not opened. 2013-12-06 Bogdan-Andrei Iancu * [1f18541] : Generate proper branch param for the NAT ping requests Credits go to Varun (varunvairavan on GITHUB) Closes #145 2013-12-06 Bogdan-Andrei Iancu * [d0086df] : Fixed bogus condition in GT, GTE, LT and LTE script tests. Reported by dcb314 on GITHUB Closing issue #146 (cherry picked from commit 96921f5f90919bdc3dc1a573bcb0c32899c65075) 2013-12-06 Razvan Crainea * [6adb5c3] : fixed compile error when statistics are not enabled Thanks to Liviu Chircu for reporting them 2013-12-06 Liviu Chircu * [21f543d] : Fix a couple of potential deadlocks in commit b30b43b4 2013-12-05 Bogdan-Andrei Iancu * [b30b43b] : Rework the reload part - use readers/writers locking for ensure safe and efficient reload. 2013-12-03 Răzvan Crainea * [f93bbd3] : fixed doc avp names 2013-12-03 vladpaiu * [9a807b8] : Merge pull request #141 from shimaore/db_http_timeout_doc Corrected db_http example: the timeout is an integer. 2013-12-02 Razvan Crainea * [8587e79] : sort the db_berkeley and dbtext version entries this makes further updating easier, since the entries are no longer in a random entry. Moreover, they can be easily followed in the file. 2013-12-02 Razvan Crainea * [177fe84] : drouting: properly update the drouting versions 2013-12-02 Razvan Crainea * [f25c8e1] : drouting: fix drc_table doc default value 2013-12-02 Bogdan-Andrei Iancu * [bd1b78e] : Updated DB schema for dispatcher in order to reflect latest changes (state persistency) 2013-12-02 Bogdan-Andrei Iancu * [3583ab2] : Added persistency for the state of the destinations : (1) persistency across opensips restart, via DB amd (2) persistency across reloads. 2013-12-02 Bogdan-Andrei Iancu * [d2facc3] : State of the destination is persistent across reloads. 2013-12-02 Vlad Paiu * [0625610] : Properly take into account the dialplan priority in case entry matches both string and regex rules 2013-12-02 Vlad Paiu * [adebbe6] : For dialog pvars, we don't actually need a SIP msg in order to evaluate 2013-12-02 Vlad Paiu * [11e393a] : For db_extra & db_extra_bye params, create dummy SIP message in case we have NULL msg, in order to allow the evaluation of PVARs that don't actually need the SIP msg ( eg. $DLG_end_reason ) 2013-11-30 Stephane Alnet * [2776156] : Rebuilt README 2013-11-30 Stephane Alnet * [d823932] : Corrected typos. 2013-11-30 Stephane Alnet * [be2ce6f] : Built README 2013-11-30 Stephane Alnet * [a87b2af] : Mathops extensions Add a new `math_rpn` function, and capacity to add new operators when using the RPN parser. New operators (RPN only): `exp`, `floor` 2013-11-28 Ovidiu Sas * [c631abc] : pua_dialoginfo: do not blindly load all dialogs - only dialogs with "dlg_peer" vals should be registered for callbacks 2013-11-28 Răzvan Crainea * [25289f0] : Merge pull request #139 from shimaore/pkg_mem_events Allow for `event_pkg_threshold` support. Credits go to Stéphane Alnet (shimaore) 2013-11-28 Razvan Crainea * [609c81c] : sipmsgops: prevent remove_hf from removing header twice closes #137 2013-11-28 Razvan Crainea * [1ed8107] : Merge branch 'dialog-vars-fix' Conflicts: scripts/db_berkeley/opensips/version scripts/dbtext/opensips/version 2013-11-28 Razvan Crainea * [62d644e] : dialog: hexa representation for dlg_list_ctx binary values 2013-11-28 Razvan Crainea * [6c7e9c7] : dialog: update dialog dbschema 2013-11-28 Razvan Crainea * [36b533b] : dialog: dialog variables should be blob 2013-11-28 Razvan Crainea * [0aec9af] : dbtext: generate blob instead of string for binary columns 2013-11-27 Razvan Crainea * [4c1fb5d] : event_xmlrpc: pass parameters as struct Added a new parameter that allows the possibility to send the event parameters as XMLRPC structures, instead of simple values. 2013-11-27 Vlad Paiu * [144e112] : fixed README typo 2013-11-27 Razvan Crainea * [fae8dc3] : dbtext: fix newline typo 2013-11-27 Razvan Crainea * [0636a00] : dbschema: fix tmp file usage in makefile 2013-11-26 Stephane Alnet * [2c1af18] : Corrected db_http example: the timeout is an integer. 2013-11-26 Stephane Alnet * [e86bf5d] : Allow for `event_pkg_threshold` support. PKG_MEM is not defined or use anywhere else in the code, so assuming `PKG_MALLOC` is meant here. 2013-11-26 Christian Lahme * [9394e0a] : Added IFDEF to ensure TLSv1.2 is only used when openssl >= 1.0.1 is used 2013-11-26 Christian Lahme * [2383515] : Feature request #77 fulfilled 2013-11-26 Ovidiu Sas * [40962ce] : pua: set db_flag to UPDATEDB_FLAG only if there was a previous update (NO_UPDATEDB_FLAG) - in case of a server restart, if the db_flag went from INSERTDB_FLAG to UPDATEDB_FLAG the record will be lost because the record is marked as to be updated, and since there's no record in the db, the update will fail. - if the db_flag is INSERTDB_FLAG, any updates should leave the flag as is and this will cause the new record to be properly inserted (and not updated) into the db. 2013-11-24 Bogdan-Andrei Iancu * [4e51f8d] : STEP 3 - flushing changes in GW/CARRIER's state back to DB (periodically and at shutdown) ; preserve the state of GWs/CARRIERs during reload. 2013-11-24 Bogdan-Andrei Iancu * [253704e] : Updated DB schema to reflect the changes in the DR module (adding persistency for carrier/gateway's state and sockets for gateways) 2013-11-24 Saúl Ibarra Corretgé * [a802488] : Load xcap module, presence_xml depends on it 2013-11-24 Saúl Ibarra Corretgé * [002b43f] : Fixed residential example when using presence 2013-11-23 Bogdan Andrei IANCU * [175f853] : Merge pull request #122 from dsandras/ds-fix-dialog-info-entity This patch fixes the entity URI in XML documents to contain "sip:". (cherry picked from commit 377e7574d411aa974cf469d6df18b6213b43a31f) 2013-11-22 Bogdan Andrei IANCU * [8c64901] : Merge pull request #131 from dsandras/ds-pua-mi-warning-fix Fixes bug where a refreshed PUBLISH request triggers an error message. (cherry picked from commit ded0559c527f30181e9bbd494f0e63b048059108) 2013-11-22 Bogdan Andrei IANCU * [3cf2c68] : Merge pull request #133 from shimaore/add-callid-to-ul_mi Add `callid` field to information returned by the `ul` module's MI. 2013-11-22 Bogdan-Andrei Iancu * [cfb8457] : Fixed bogus warning because of variables not being reset. Reported by Jeff Pyle, part of fixing issue #126. 2013-11-22 Liviu Chircu * [f456377] : Ignore all cscope database files 2013-11-22 Ovidiu Sas * [f9a8d98] : uac_registrant: re-register with expires value imposed by the registrar 2013-11-22 Liviu Chircu * [f90e347] : Fix the DB representation of message flags in the acc module * storing flags as strings rather than bitmasks prevents flag conflicts when doing flag modifications in the script, then restarting the proxy * similar usrloc issue was fixed in commit 98b6b0437 2013-11-22 Liviu Chircu * [0845069] : Add the "remove" script function to the registrar module * remove(domain, AOR[, target]]) * explicitly remove contacts behind specific addresses-of-record * may delete contacts by Contact URI or by domain * domains are resolved before they are matched 2013-11-22 Liviu Chircu * [9d5889b] : Add the SIP-wise determined "next_hop" field to ucontact_t * based on Path -> Received -> Contact (decreasing priorities) * URIs are parsed only at contact creation * useful for the nathelper SIP pinging routine and domain-based lookups * compatible with all DB modes, no extra DB columns required 2013-11-22 Razvan Crainea * [7401a7a] : revert commit ec0d05a dialog variables might be binary, therefore strlen should not be used 2013-11-20 Bogdan-Andrei Iancu * [b279e17] : Do not free the header string as it is part of the lumps (and freed together with the lumps). Reported by Jeff Pyle. Fixing bug #126 2013-11-20 Bogdan-Andrei Iancu * [a0ba76e] : 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 Reported by Damien Sanders 2013-11-20 Bogdan-Andrei Iancu * [3d33b3b] : Step 2: use the socket info during routing to GW 2013-11-20 Vlad Paiu * [24f9366] : Reset the lump cond flags when the condition evaluates to false. In case there are multiple branches, the conditions can evaluate differently on each branch - which might lead to bad counting of the added lumps ( used by the dialog module for dlg validation ) 2013-11-20 Vlad Paiu * [b4b3517] : Added exec_threshold parameter to cachedb_* modules in order to be able to track slow queries 2013-11-20 Bogdan-Andrei Iancu * [cc657ff] : Fixed restoring SOCKET info from AVP during failover 2013-11-20 Bogdan-Andrei Iancu * [fdfc71d] : Step 1 in enhancing drouting: - GW - load state and outbound sokcet from database - carriers - load state (as separate field) from database - cleanup - remove the avp "type" as no longer used (work in progress) 2013-11-20 Ovidiu Sas * [f7dac99] : httpd: remove bogus error log 2013-11-19 Baptiste Cholley * [4f285d1] : Renamed parameter 'from_col' to 'pattern_col' 2013-11-17 Liviu Chircu * [c4b8be1] : Mask compile-time shift/reduce conflict due to if statement ambiguity 2013-11-16 Stephane Alnet * [6408bd7] : Add `callid` field to information returned by the `ul` module's MI. This allows e.g. to retrieve the information even when using a memory-only store. 2013-11-15 Razvan Crainea * [5852895] : when joining two frags, only the used memory changes 2013-11-15 Razvan Crainea * [27197fa] : memory statistics can be used only if stats are on 2013-11-15 Razvan Crainea * [a8bdfa8] : rework ratelimit distributed queries instead of adding -1 to the counter, use the cachedb_sub function exported by the cachedb module. This prevents ratelimit counters from adding extremely large values for some backends (ex: memcached). Thanks go to Brett Nemeroff for reporting and testing. 2013-11-12 Ryan Bullock * [ba22d03] : Add s.index and s.rindex transformations 2013-11-08 Ovidiu Sas * [cae7f80] : core: set proper identification label for timer procs - check labels via 'ps' MI command 2013-11-07 Liviu Chircu * [2418f37] : Fix bogus comma when printing an AVP array with $(avp(foo)[*]) 2013-11-05 Razvan Crainea * [26d9adc] : removed Makfile.conf from versioning 2013-11-05 Razvan Crainea * [2055db5] : menuconfig reads from template if config does not exist 2013-11-05 Razvan Crainea * [2cdf24f] : separate file for the original Makefile.conf The original Makefile.conf is now found in Makefile.conf.template. This prevents merge conflicts while updating the Makefile.conf 2013-11-05 Vlad Paiu * [cbe8d24] : Rebuilt mi_json README 2013-11-05 vladpaiu * [fefa37c] : Merge pull request #121 from shimaore/mi_json mi_json documentation: corrected typo and XML translation problem 2013-11-05 Stephane Alnet * [fff5c39] : mi_json documentation: corrected typo and XML translation problem 2013-11-04 Vlad Paiu * [52405e6] : Added mi_json module README 2013-11-04 Vlad Paiu * [afa15e3] : If commands accepts parameters, doesn't mean they are mandatory Leave it to the MI function to decide if it's ok to have empty params 2013-11-04 vladpaiu * [7339345] : Merge pull request #119 from shimaore/mi_json mi_json module (new module) 2013-11-04 Bogdan-Andrei Iancu * [02f983d] : Proper usage of build_req_buf_from_sip_req() function - socket and proto are required. Closes Bug 664 on SF. 2013-11-04 Vlad Paiu * [92a2c9d] : 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 ) 2013-11-04 Vlad Paiu * [43de2d8] : rebuilt the cachedb_couchbase documentation to reflect the recent changes 2013-11-04 vladpaiu * [4d1736d] : Merge pull request #106 from rrb3942/couchbase Switches to LCB_SYNCHRONOUS. Enables better reconnect support with command retry as well as a lazy_connect option. 2013-11-04 Vlad Paiu * [f59fef0] : Support returning the new value from cache_add/cache_sub Credits to rrb3942 2013-11-04 Vlad Paiu * [5635d71] : Do proper return code to script from cachedb_* functions ( treat 0 as success ) 2013-11-04 Vlad Paiu * [3738a7c] : Added Redis Raw query capability 2013-11-01 Razvan Crainea * [bbdd474] : event_rabbitmq: added heartbeat parameter doc 2013-11-01 Răzvan Crainea * [a6090ec] : Merge pull request #100 from franklyfox/1.9_rabbitmq_heartbeat enable rabbitmq heartbeat to solve issues of hanging SIP processing because of a broken amqp socket 2013-11-01 Bogdan Andrei IANCU * [34df519] : Merge pull request #111 from csollet/rfc6598 nat_uac_test() : Add support for Shared Address Space (RFC 6598) 2013-11-01 Vlad Paiu * [043606a] : Also trace the CANCEL requests in case we're doing trace_dialog() (cherry picked from commit 50463f044c5bd42eb5485cac52419a8ec45ee201) 2013-11-01 Stephane Alnet * [7f5019b] : mi_json documentation 2013-11-01 Stephane Alnet * [0263804] : Modified httpd to support `application/json` for our purposes. 2013-11-01 Stephane Alnet * [90b909a] : mi_json: simplify datasets Also rewrote the string handling code. 2013-10-31 Stephane Alnet * [c1d6f19] : libmicrohttpd5 is no longer in Debian/testing 2013-10-31 Stephane Alnet * [ece1322] : Initial code, copied over from mi_xmlrpc_ng, with output changed to JSON. The input is statically set to the "which" command. 2013-10-30 Ovidiu Sas * [57e6092] : core: enhance error log for un-parsable msg by adding the source IP and port 2013-10-29 Bogdan-Andrei Iancu * [c5b2030] : Use proper locking function (via the generic locking API) Reported by Max E. Reyes Vera Juarez. 2013-10-29 Bogdan-Andrei Iancu * [adfe53f] : Re-install dlg callbacks (for restoring FROM/TO hdr) upon re-loading dialogs on startup. Reported by Jeff Pyle. 2013-10-24 csollet * [9af4953] : nat_uac_test() : Add support for Shared Address Space (RFC 6598) 100.64.0.0/10 address block is processed like any RFC 1918 blocks 2013-10-23 Bogdan Andrei IANCU * [d2c84e7] : Merge pull request #109 from rrb3942/shutdown_segfault Reset prepared statement between query lists on shutdown 2013-10-23 Bogdan-Andrei Iancu * [aa61cec] : Fixed the weight-based balancing alg. Credits go to Rob Gagnon (rgagnon24) 2013-10-23 Bogdan-Andrei Iancu * [582a949] : Proper support for BIGINT (as long) in the db_text SQL driver. Many thanks to Jeff Pyle for reporting and troubleshooting this. 2013-10-22 Bogdan-Andrei Iancu * [fbab4a8] : Removed "auto" flag for the dlg_id in DB_TEXT spec file Reported by Jeff Pyle. 2013-10-22 Bogdan-Andrei Iancu * [2739d12] : README files regenerated from XMLs 2013-10-20 Ryan Bullock * [a24848f] : Reset prepared statement between query lists on shutdown 2013-10-20 Ryan Bullock * [83e6399] : Revert "Reset prepared statement between query lists on shutdown" This reverts commit 1a070015f4cffe612d3a3cb3a66e864d7374db04. 2013-10-20 Ryan Bullock * [1a07001] : Reset prepared statement between query lists on shutdown 2013-10-18 Liviu Chircu * [1b12e26] : Scripting enhancement: for-each statement - syntax: for ($var(it) in $avp(array)) { ... } - faster than the "while"-based equivalent loop - currently only allows iterating over an avp's values 2013-10-18 Bogdan-Andrei Iancu * [bd0952d] : Fixed bad prototype for abort when compiling with TM_TIMER_DEBUG. Reported by Mayama Takeshi Closes issue #105 2013-10-18 Bogdan-Andrei Iancu * [47a3386] : 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. Reported by Trevor Francis (46labs) Closes issue #102 2013-10-18 Bogdan-Andrei Iancu * [9ceb0c0] : Fixed accepting "after" changes in lumps attached to the beginning of a del lump Reported by NicK Altmann Solves issues with missing Route hdrs when using the dialog based TH 2013-10-17 Liviu Chircu * [62cadee] : Enhance usrloc with the binary replication feature - 3 additional module parameters - extra parameter in some usrloc_api functions - properly works with all DB modes 2013-10-17 Razvan Crainea * [72ab3f4] : fix ratelimit memory corruption 2013-10-15 Ryan Bullock * [b51b980] : Switches to LCB_SYNCHRONOUS. Enables better reconnect support with command retry as well as a lazy_connect option. 2013-10-15 Ovidiu Sas * [8689767] : uac_auth: fix memory leak reported by Jeff Pyle - affected modules: b2b_entities, uac, uac_registrant 2013-10-16 Bogdan-Andrei Iancu * [1abc835] : Make pv_parse_format() more verbous on reporting the causes to fail. Reported by peppolon on IRC 2013-10-15 Liviu Chircu * [268803b] : Merge branch 'master' of github.com:OpenSIPS/opensips 2013-10-15 Liviu Chircu * [0dc6524] : Minor binary interface improvements - better debugging on receive operations - improve readability with a couple of macros 2013-10-15 Di-Shi Sun * [4145040] : 1. Added support for appending parameter string in outbound URI. 2. Removed skip plus feature for called number. 2013-10-10 Liviu Chircu * [3a334c3] : Allow NULL strings to be pushed into binary interface packets 2013-10-10 Liviu Chircu * [101ee78] : Fix a particular startup crash e.g. when defining only 1 tcp interface while specifying "disable_tcp=true" 2013-10-07 vladpaiu * [6ce4321] : Merge pull request #85 from earlruby/master Changed -lcurses to -lncurses 2013-10-07 Vlad Paiu * [ec0d05a] : Fixed the re-loading of dlg vars after restart Credits to Nick Altmann 2013-10-07 Vlad Paiu * [b200e11] : Fixed topology_hiding("U") in case of no username in Contact header Credits for report & fix to Nick Altmann 2013-10-06 Norm Brandinger * [8dbef29] : route.c - correct spelling 2013-10-05 Norm Brandinger * [de01e4c] : dialog module - correct spelling in documentation 2013-10-04 liviuchircu * [d54a04c] : Fix duplicated code in db_virtual 2013-10-04 franklyfox * [8c21659] : enable rabbitmq heartbeat to solve issues of hanging SIP processing because of a broken amqp socket This implementation enabled the rabbitmq's client side's heartbeat negotiation. Issue: Because of TCP's nature, it takes very long time for a TCP peer to make the decision of closing a local socket when the connection actually is broken. The event_rabbitmq module didn't handle the situation which causes the Opensips1.9 stop processing UDP packets until the O.S decides to close the local socket. One of the consequence is that UAC cannot register to the registrar during this time period. Issue Reproduce: 1. Block an existing amqp connection from the rabbitmq-server that event_rabbitmq module connects to. 2. From the event_rabbitmq side, the UDP receive-buffer that Opensips uses should be full. Solution: If the module, even_rabbitmq/rabbitmq-client, doesn't get a heartbeat message from the rabbitmq-server within X seconds, the rabbitmq-client will kill the local socket connection actively. Added a modparam: modparam("event_rabbitmq", "heartbeat", [X seconds] 2013-10-04 Bogdan-Andrei Iancu * [bdf49e0] : 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. Reported by Mayama Takeshi - many thanks for the detailed report on this. Closes issue #98 2013-10-04 Bogdan-Andrei Iancu * [2ca05d9] : 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. Please note that this "bug" had actually no implications, as dialog data is either used from memory cache, either from DB after a restart (and a shutdown flushes everything to DB). Related to issue #97. 2013-10-03 Bogdan-Andrei Iancu * [d990644] : 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) 2013-10-03 Bogdan-Andrei Iancu * [00b8b63] : Merge branch 'master' of github.com:OpenSIPS/opensips 2013-10-03 Bogdan-Andrei Iancu * [b341dde] : Fixed the un-initialized "reason" string when certain headers are missing Fixed reported "invalid" code on maxforrward missing (closes Issue #95) 2013-10-03 Vlad Paiu * [7ad1db2] : Fixed menuconfig errors when selecting mi_xmlrpc vs mi_xmlrpc_ng 2013-10-03 liviuchircu * [39119d1] : Properly load contact flags even when NAT pinging is disabled 2013-10-03 liviuchircu * [bfcc635] : Fix unpatched assignment in commit b33d4b3f 2013-10-03 Bogdan-Andrei Iancu * [af195e9] : Merge branch 'master' of github.com:OpenSIPS/opensips 2013-10-03 Bogdan-Andrei Iancu * [7ccddbe] : - doc examples fixed Reported by "miha" on IRC 2013-10-02 liviuchircu * [286f06f] : "registered" must also populate the 'attr' avp, if defined 2013-10-01 franklyfox * [62ce85f] : enable rabbitmq heartbeat to solve processes hang by amqp socket 2013-10-01 liviuchircu * [c229d98] : Fix some documentation typos 2013-10-01 liviuchircu * [5bcab39] : Fix missing GPL headers in event_xmlrpc module 2013-09-27 liviuchircu * [f2b283d] : Fix invalid pointer when fetching the usrloc extra info column 2013-09-25 Earl C. Ruby III * [7ae769d] : 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. See http://stackoverflow.com/questions/1517756/whats-the-difference-between-lcurses-and-lncurses-when-compiling-c-using-ncur for more info. 2013-09-25 Bogdan-Andrei Iancu * [8fbdcc4] : - fixed double free when building insert fails (in buffered insert mode) Reported by Brett Nemeroff 2013-09-25 Bogdan-Andrei Iancu * [3559383] : - fixed overflow in parsing the content len value Reported by franklyfox on GITHUB Closing issue #78 2013-09-20 Bogdan Andrei IANCU * [5c3bcaa] : Merge pull request #69 from dsandras/ds-try-naptr2 Added new dns_try_naptr option. 2013-09-20 Bogdan Andrei IANCU * [615a36e] : Merge pull request #73 from wdoekes/wjd-pua_min_expires_doc pua.c sets int min_expires= 300, not 0 as documentation states. 2013-09-20 Bogdan-Andrei Iancu * [7938941] : - 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) Credits go to Nick Altmann for reporting and helping with troubleshooting. Closes issue #79 2013-09-17 Damien Sandras * [c5a57a8] : Fix PUA module so that it sends a final PUBLISH on expiration. A final PUBLISH with expires=0 is now generated when a publication has expired. This will trigger the transmission of a final state NOTIFY. 2013-09-16 liviuchircu * [ba04cba] : Fix evi crash when defining more than 10 events 2013-09-04 Bogdan-Andrei Iancu * [98330c7] : - UAC module does not load (no dependency) on UAC_AUTH if the uac_auth() function is not used. - UAC module does not load RR and DIALOG (with further dependencies on the params of those modules) if no FROM/TO replace ops are done. 2013-09-04 Bogdan-Andrei Iancu * [99b233a] : - 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) 2013-09-04 liviuchircu * [6f048e0] : Fix: allow rest_client functions in onreply_route Credits to Jayesh Nambiar for reporting 2013-09-04 Bogdan-Andrei Iancu * [01db912] : - fixed CANCEL matching in B2B 2013-09-04 Bogdan-Andrei Iancu * [bb2313d] : - 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. 2013-09-04 Bogdan-Andrei Iancu * [ea44068] : - when starting the FR timer, it should not override any previous setting of a FR or FR_INV timers. Solves Issue #25 (reported and troubleshooted by Mayama Takeshi) when a very fast 100 reply may stop retransmissions, but brake the updating of fr timer from FR to FR_INV state. 2013-09-03 Bogdan-Andrei Iancu * [ec82ef8] : - fixed how lumps can overlap on the edge - an "add" just next to a "delete" Reported by Saul Ibarra Corretge Closes issue #59 2013-09-03 Bogdan-Andrei Iancu * [6dd4b76] : - fixed incomplete function call (resulted from the merged commit 09a291e) 2013-09-03 Bogdan Andrei IANCU * [31a7aa2] : Merge pull request #62 from dsandras/ds-dialoginfo-notifications-fixes Fixed RFC 4235 notifications compliance. 2013-09-03 Damien Sandras * [515b790] : Added new dns_try_naptr option. The rationale behind this is that many stacks do not implement NAPTR correctly and rely only on DNS SRV. With misconfigured DNS servers, it can lead to useless lookups generating potentially long delays. This can now be disabled if not needed. 2013-09-03 liviuchircu * [b33d4b3] : Fix several usrloc named flag issues - fix get_all_db_ucontacts() lookup logic to work with named flags - fix "Cflags" row of MI *ul_dump* command - fix DB contact update function to properly store the flags 2013-09-02 liviuchircu * [5a63dcd] : Fix replication of dialog delete events - instead of sending "deleted" packets based on hash delete operations, they are now sent when a dialog changes state to "DLG_STATE_DELETED" - this prevents the receiving instance from replicating the event again 2013-08-30 Bogdan-Andrei Iancu * [5e33750] : - fixed NULL sockets in external scenarios (this leads to crashing when building the contact hdr) Reported by dexteruk on IRC . 2013-08-30 liviuchircu * [6f82449] : Fix compilation issue introduced in commit a9fcd84c 2013-08-29 Bogdan Andrei IANCU * [3eb2a54] : Merge pull request #68 from wdoekes/wjd-fix_nathelper_memleak Fix memleak in nathelper natping when "failed to fetch contacts". 2013-08-29 liviuchircu * [20c9245] : Fix replicated dialog profile management in distributed systems - replication-receiving instances must not do any profile-related DB queries 2013-08-29 Bogdan Andrei IANCU * [50117fb] : Merge pull request #58 from saghul/pua_double_free Fixed double free issue in pua module 2013-08-29 Saúl Ibarra Corretgé * [9da5524] : Fixed double free issue in pua module Also fix a couple of related memory leaks 2013-08-28 Bogdan-Andrei Iancu * [5fb6bb8] : - complete port of pull request #34 2013-08-28 Bogdan-Andrei Iancu * [f26c257] : - complete backport from 1.8 of pull request #15 2013-08-28 Bogdan-Andrei Iancu * [6cfdc3a] : - complete backport from 1.8 of pull request #15 2013-08-28 Vlad Paiu * [18257f3] : Fixed bug introduced by previous commit : - downstream BYEs should go to 200OK leg in order to trigger dialog termination - upstream BYEs have no such limitation ( there's only one caller leg :) ) 2013-08-28 Bogdan-Andrei Iancu * [78ff5db] : - proper backport of all changes from 1.8 branch 2013-08-27 liviuchircu * [389de52] : Fix: also run child_init for bin listeners - bin listeners are now identified by the PROC_BIN rank - this way, only the UDP listeners receive positive ranks 2013-08-26 Bogdan-Andrei Iancu * [f153a9a] : - BYE requests received in confirmed state should terminate the dialog only if they match the TO-tag from 200 OK INVITE. This affects parallel forking scenarios where rejected branches are terminated via BYE by caller. Thanks for reporting and testing to Marco Hierl. 2013-08-14 Norm Brandinger * [879eacb] : pike: correct spelling 2013-08-14 liviuchircu * [a5e9f4b] : Fix: sdp_free() bug introduced in commit bde8c0a045 Credits to csollet for reporting. 2013-08-13 Bogdan Andrei IANCU * [b19eca9] : Merge pull request #37 from fabriziopicconi/patch-5 wrong mpath folder (detected by rpmbuild) 2013-08-13 Bogdan Andrei IANCU * [9e8a497] : Merge pull request #39 from fabriziopicconi/patch-6 Update Centos spec file 2013-08-13 Bogdan Andrei IANCU * [c00b39a] : Merge pull request #54 from nikbyte/master yum package specs / init-scripts changes for el/fedora 2013-08-13 Bogdan-Andrei Iancu * [39669e8] : fixed setting the default min_expires and max_expires module parameters. Credits go to MayamaTakeshi. 2013-08-13 Nick Altmann * [775d22f] : changed el/fedora spec version to 1.11.0 2013-08-13 Nick Altmann * [2425adf] : add m4 config support for el/fedora distros, spec file synced with build server 2013-08-13 Nick Altmann * [310e195] : add m4 config support for debian distros 2013-08-13 Damien Sandras * [b31075d] : Added documentation for recent changes. 2013-08-13 Damien Sandras * [b4d0368] : PUBLISH requests are now handled in the same order than received. That is specifically useful for pua dialoginfo which was generating dialog info notifications that were handled in the wrong order with that patch. PUBLISH with older documents were sometimes treated after PUBLISH requests with newer documents, leading to incoherent states. 2013-08-13 Nick Altmann * [196ec52] : spec file for el/fedora synced with build server 2013-08-13 vladpaiu * [3a49140] : Merge pull request #46 from fabriziopicconi/patch-8 remove warning compilation 2013-08-12 vladpaiu * [c8e64b8] : Merge pull request #48 from fabriziopicconi/patch-10 improved parallel compilation 2013-08-12 Vlad Paiu * [db24ec0] : Fixed double free issue when reading multiple SIP messages in one TCP chunk Do proper zero-ing out of the tcp_req structure 2013-08-11 Vlad Paiu * [41157e7] : Increased menuconfig parsing buffer to 1024 (Reported by Richard Revels) Removed mi_http from the excluded modules list - has no external dependencies 2013-08-09 liviuchircu * [aeddd31] : Fix: mathops internal parsing bug Credits to Jayesh Nambiar for reporting 2013-08-08 fabriziopicconi * [56f0269] : parallel compilation speedup compilation on multicore/multicpu machines 2013-08-08 fabriziopicconi * [6dfb090] : remove warning compilation remove warning: ‘ret’ may be used uninitialized in this function 2013-08-08 saghul * [dc83eb1] : Kill compilation warnings io_wait.c: In function ‘check_poll_method’: io_wait.c:368:15: warning: variable ‘os_ver’ set but not used [-Wunused-but-set-variable] unsigned int os_ver; ^ io_wait.c: In function ‘choose_poll_method’: io_wait.c:448:15: warning: variable ‘os_ver’ set but not used [-Wunused-but-set-variable] unsigned int os_ver; ^ 2013-08-08 saghul * [7d727aa] : Fixed compilation in systems without EPOLL 2013-08-07 saghul * [4d4d3db] : Cleanup menucnfig files when doing make proper 2013-08-07 Saúl Ibarra Corretgé * [6e3b16e] : Fixed crash if send_subscribe fails early In that case presentity is still NULL, check for it 2013-08-07 Vlad Paiu * [1ee176a] : Fixed warning Fixed compilation error for libcurl < 7.16.2 ( due to CURLOPT_TIMEOUT_MS ) 2013-08-06 Vlad Paiu * [8f642ba] : Properly mentioned Steve Frécinaux from Be IP as the module creator 2013-08-06 Vlad Paiu * [3bfd505] : Fixed goes_to_gw, is_from_gw and dr_is_gw so that they accept negative gateway types ( to match all gw types) 2013-08-06 fabriziopicconi * [7fe3f81] : Update Centos spec file Some new rpm optional modules are added: mi_xmlrpc_ng,sngtc,db_cachedb,mathops,rest_client 2013-08-06 fabriziopicconi * [9e1f0d3] : wrong mpath folder (detected by rpmbuild) change modules-prefix (tmp folder) to modules-target (installation folder)