New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated to 2.1 #6
Commits on Sep 23, 2015
-
Fix usage of t_reply_with_body() with reply lumps.
Force pushing all reply lumps (headers added to the reply) when using t_reply_with_body() - the function takes the msg from the transaction, not the real msg; so we need to be sure that the msg in transaction was fully cloned. Reported by Giuseppe Cardone on mailing list.
Configuration menu - View commit details
-
Copy full SHA for 783a18a - Browse repository at this point
Copy the full SHA 783a18aView commit details
Commits on Sep 24, 2015
-
Check if at least one DB URL is provided in avpops
Reported by David Sanders (@dsanders11). Closes #644 .
Configuration menu - View commit details
-
Copy full SHA for 34fab0d - Browse repository at this point
Copy the full SHA 34fab0dView commit details -
Dialplan module should honor db_default_url
(cherry picked from commit 566d4db)
Configuration menu - View commit details
-
Copy full SHA for de7bcfc - Browse repository at this point
Copy the full SHA de7bcfcView commit details -
Dispatcher module should honor db_default_url
(cherry picked from commit 684846d)
Configuration menu - View commit details
-
Copy full SHA for 4963c7c - Browse repository at this point
Copy the full SHA 4963c7cView commit details
Commits on Sep 29, 2015
-
memset all connection memory to 0 to avoid unwanted values
ionutrazvanionita committedSep 29, 2015 Configuration menu - View commit details
-
Copy full SHA for ad8011a - Browse repository at this point
Copy the full SHA ad8011aView commit details
Commits on Sep 30, 2015
-
on DB error: avoid double free;release only in destroy function
ionutrazvanionita committedSep 30, 2015 Configuration menu - View commit details
-
Copy full SHA for 76e9809 - Browse repository at this point
Copy the full SHA 76e9809View commit details
Commits on Oct 5, 2015
-
* proper error messages on compress * correct buffer size aproximation on gzip compress(10% + 12) * fix bug on decompression
ionutrazvanionita committedOct 5, 2015 Configuration menu - View commit details
-
Copy full SHA for ca3895d - Browse repository at this point
Copy the full SHA ca3895dView commit details
Commits on Oct 6, 2015
-
Updated to support CNAM diversion use case.
Di-Shi Sun committedOct 6, 2015 Configuration menu - View commit details
-
Copy full SHA for a43ccca - Browse repository at this point
Copy the full SHA a43cccaView commit details -
ratelimit: avoid deadlock if counter is not updated
(cherry picked from commit ec25c07)
Configuration menu - View commit details
-
Copy full SHA for fe654e4 - Browse repository at this point
Copy the full SHA fe654e4View commit details
Commits on Oct 7, 2015
-
Fix
make menuconfig
compile warnings(cherry picked from commit b9fe3c2)
Configuration menu - View commit details
-
Copy full SHA for 844fae5 - Browse repository at this point
Copy the full SHA 844fae5View commit details
Commits on Oct 20, 2015
-
fix: some sh(busybox) do not support syntax of `$(< file)'
(cherry picked from commit ffb2554)
Configuration menu - View commit details
-
Copy full SHA for 4c0c371 - Browse repository at this point
Copy the full SHA 4c0c371View commit details
Commits on Oct 22, 2015
-
Configuration menu - View commit details
-
Copy full SHA for f8c424d - Browse repository at this point
Copy the full SHA f8c424dView commit details
Commits on Oct 23, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7901324 - Browse repository at this point
Copy the full SHA 7901324View commit details
Commits on Oct 26, 2015
-
fix context reusage if async is made
This affects timers and failure routes that are supposed to reuse a static context
Configuration menu - View commit details
-
Copy full SHA for 440ab21 - Browse repository at this point
Copy the full SHA 440ab21View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf38ed - Browse repository at this point
Copy the full SHA fdf38edView commit details
Commits on Oct 27, 2015
-
Fix potential memory corruption on TCP write errors
This patch fixes a well-hidden TCP connection referencing bug which would only reveal itself upon running into failed TCP send() operations due to various reasons (e.g. full send buffer) in high-traffic environments. Credits to Hieu Ta and Don Steul from Jibe Mobile for detailed reporting and providing an adequate replication environment (cherry picked from commit 3e1a1a7)
Configuration menu - View commit details
-
Copy full SHA for 34eaede - Browse repository at this point
Copy the full SHA 34eaedeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17255b2 - Browse repository at this point
Copy the full SHA 17255b2View commit details
Commits on Oct 28, 2015
-
Fix compiler warnings with NO_DEBUG, NO_LOG
Also add a handy macro for future usage (cherry picked from commit 48b88bd) Conflicts: modules/emergency/emergency_methods.c modules/emergency/subscriber_emergency.c modules/usrloc/udomain.c
Configuration menu - View commit details
-
Copy full SHA for ac557ff - Browse repository at this point
Copy the full SHA ac557ffView commit details
Commits on Oct 29, 2015
-
run destroy context when the message is sent
Credits go to 46Labs for discovering and providing test scenarios (cherry picked from commit 28bcadf)
Configuration menu - View commit details
-
Copy full SHA for e37bdab - Browse repository at this point
Copy the full SHA e37bdabView commit details -
properly handle async functions when reactor cannot fullfil the request
Credits go to 46labs for debugging this (cherry picked from commit c18c8ea)
Configuration menu - View commit details
-
Copy full SHA for 025eb66 - Browse repository at this point
Copy the full SHA 025eb66View commit details
Commits on Nov 2, 2015
-
ionutrazvanionita committed
Nov 2, 2015 Configuration menu - View commit details
-
Copy full SHA for a836064 - Browse repository at this point
Copy the full SHA a836064View commit details
Commits on Nov 3, 2015
-
Fixed Post Script callbacks triggering in Async.
If the async engine in TM detects a SIP retransmission, break script and run the Post Script callbacks, othewise the transaction will stay ref'ed for ever. Credits for spotting this problem go to Razvan Crainea.
Configuration menu - View commit details
-
Copy full SHA for 6735c27 - Browse repository at this point
Copy the full SHA 6735c27View commit details -
topo_hiding: replace LM_INFO with LM_DBG for debugging logs
(cherry picked from commit 3ae7e37172b5ce3142e8448972a84a49d0faa53a)
Configuration menu - View commit details
-
Copy full SHA for cfc1092 - Browse repository at this point
Copy the full SHA cfc1092View commit details -
async: store cancelled and e2eack transactions in async ctx
This fix prevents transactions from being unrefferenced when dangling transaction pointers remain stored in static variables. (cherry picked from commit 3f3b6fd)
Configuration menu - View commit details
-
Copy full SHA for da1b8c3 - Browse repository at this point
Copy the full SHA da1b8c3View commit details
Commits on Nov 5, 2015
-
tm: free async context when resuming
This commit fixes context_alloc memory leak (cherry picked from commit d69d085)
Configuration menu - View commit details
-
Copy full SHA for 01e93c9 - Browse repository at this point
Copy the full SHA 01e93c9View commit details
Commits on Nov 6, 2015
-
dialog: increase ref when setting dialog
(cherry picked from commit 5286558)
Configuration menu - View commit details
-
Copy full SHA for 2526521 - Browse repository at this point
Copy the full SHA 2526521View commit details
Commits on Nov 13, 2015
-
check if startup_done var is allocated before trying to set it
ionutrazvanionita committedNov 13, 2015 Configuration menu - View commit details
-
Copy full SHA for 0f82238 - Browse repository at this point
Copy the full SHA 0f82238View commit details -
fix str2int and str2sint input params check
* if a void string was given to the function ("") 0 value was returned which was not correct * input values should be checked for NULL
ionutrazvanionita committedNov 13, 2015 Configuration menu - View commit details
-
Copy full SHA for 96ec5ee - Browse repository at this point
Copy the full SHA 96ec5eeView commit details
Commits on Nov 17, 2015
-
fix warnings reported by Ovidiu Sas
(cherry picked from commit 19edf61)
Configuration menu - View commit details
-
Copy full SHA for 8fe69f1 - Browse repository at this point
Copy the full SHA 8fe69f1View commit details
Commits on Nov 19, 2015
-
acc:evi: if the request failed send a missed event
In case the acc_evi_request() function was used on a failed request (code < 300), send a missed event rather than the normal one. Reported by Trevor Francis from 46Labs (cherry picked from commit 18f5da0)
Configuration menu - View commit details
-
Copy full SHA for 7f570e7 - Browse repository at this point
Copy the full SHA 7f570e7View commit details
Commits on Nov 23, 2015
-
RPM spec: remove excess rest client package
Nick Altmann committedNov 23, 2015 Configuration menu - View commit details
-
Copy full SHA for 21b2728 - Browse repository at this point
Copy the full SHA 21b2728View commit details
Commits on Nov 25, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 8ce36d3 - Browse repository at this point
Copy the full SHA 8ce36d3View commit details -
dialplan: after inserting a new partition, set the pointer to the nex…
…t record to NULL (cherry picked from commit fb3923d)
Configuration menu - View commit details
-
Copy full SHA for 511269f - Browse repository at this point
Copy the full SHA 511269fView commit details -
dialplan: memset to 0 newly alocated memory for dp partition
- suggested by Liviu Chircu (cherry picked from commit 1cf5dd8)
Configuration menu - View commit details
-
Copy full SHA for ba0ea01 - Browse repository at this point
Copy the full SHA ba0ea01View commit details -
dialplan: allocate the right amount of memory when creating a partition
(cherry picked from commit bd35916)
Configuration menu - View commit details
-
Copy full SHA for 120e6e2 - Browse repository at this point
Copy the full SHA 120e6e2View commit details -
dialplan: check if memory is properly allocated when updateing partit…
…ion records (cherry picked from commit 889f353)
Configuration menu - View commit details
-
Copy full SHA for d1177fe - Browse repository at this point
Copy the full SHA d1177feView commit details -
* database are now started in child_init * avoid opening db conns in mod_init and leaving them in the db pool because when fork() shall be done all the processes will use the same db structure therefore the same tcp connection (cherry picked from commit 47b5dc9)
Configuration menu - View commit details
-
Copy full SHA for 139415b - Browse repository at this point
Copy the full SHA 139415bView commit details -
Fix bug in populating the PIDs
(cherry picked from commit eccbf8d)
Configuration menu - View commit details
-
Copy full SHA for 13c6043 - Browse repository at this point
Copy the full SHA 13c6043View commit details
Commits on Nov 27, 2015
-
Fix proper reporting for the statistics types.
This fixes the charting of SHMEM related stats in Control Panel (cherry picked from commit 52d5ef5)
Configuration menu - View commit details
-
Copy full SHA for b188bff - Browse repository at this point
Copy the full SHA b188bffView commit details -
Reduce the amount of "useless" DBG's
(cherry picked from commit 0dca32b)
Configuration menu - View commit details
-
Copy full SHA for 1535a27 - Browse repository at this point
Copy the full SHA 1535a27View commit details
Commits on Dec 3, 2015
-
RPM spec: increase max files limit and add dependencies
Nick Altmann committedDec 3, 2015 Configuration menu - View commit details
-
Copy full SHA for 98b76ee - Browse repository at this point
Copy the full SHA 98b76eeView commit details -
RPM spec: move ulimit to init-script
Nick Altmann committedDec 3, 2015 Configuration menu - View commit details
-
Copy full SHA for abc82d4 - Browse repository at this point
Copy the full SHA abc82d4View commit details -
ionutrazvanionita committed
Dec 3, 2015 Configuration menu - View commit details
-
Copy full SHA for b6cd61b - Browse repository at this point
Copy the full SHA b6cd61bView commit details
Commits on Dec 4, 2015
-
b2b_logic: parameters cannot be lower than 1
(cherry picked from commit 152f22e63cc3f045492367b18ed5357cf5a89f2b)
Configuration menu - View commit details
-
Copy full SHA for 4a06a71 - Browse repository at this point
Copy the full SHA 4a06a71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88bd36b - Browse repository at this point
Copy the full SHA 88bd36bView commit details -
Merge pull request #681 from shiningstarj/dialoginfo-memory-leak
Presence_dialoginfo: Fix memory leaks in notify_body.c (cherry picked from commit ab5cd61)
Configuration menu - View commit details
-
Copy full SHA for ee99ac7 - Browse repository at this point
Copy the full SHA ee99ac7View commit details
Commits on Dec 8, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 68b202e - Browse repository at this point
Copy the full SHA 68b202eView commit details
Commits on Dec 9, 2015
-
b2b_logic: set late SDP negociation flag
For the entity that initiates a call, late SDP negociation is used, because the SDP of the first entity is not known. This patch sets the late_sdp flag for that entity, to flag the b2b logic to send the ACK with SDP. This bug was reported on the mailing list by Sebastian Sastre. (cherry picked from commit 20df836)
Configuration menu - View commit details
-
Copy full SHA for a173499 - Browse repository at this point
Copy the full SHA a173499View commit details
Commits on Dec 21, 2015
-
Usrloc: modify invalid contacts behaviour
* stop inserting a contact even though received is OK (call parse_uri() for each contact) * at startup, if a bogus contact is found continue processing, letting the user know that he has to remove that contact from the database
ionutrazvanionita committedDec 21, 2015 Configuration menu - View commit details
-
Copy full SHA for ef76542 - Browse repository at this point
Copy the full SHA ef76542View commit details
Commits on Dec 22, 2015
-
comparse_uris: unescape all characters in user field
ionutrazvanionita committedDec 22, 2015 Configuration menu - View commit details
-
Copy full SHA for 62e2969 - Browse repository at this point
Copy the full SHA 62e2969View commit details -
Configuration menu - View commit details
-
Copy full SHA for a95341a - Browse repository at this point
Copy the full SHA a95341aView commit details
Commits on Dec 23, 2015
-
strip_body(): check if content-type exists
ionutrazvanionita committedDec 23, 2015 Configuration menu - View commit details
-
Copy full SHA for c11af55 - Browse repository at this point
Copy the full SHA c11af55View commit details -
avpops: start without db_url if no func is using DB
Conflicts: modules/avpops/avpops.c
ionutrazvanionita committedDec 23, 2015 Configuration menu - View commit details
-
Copy full SHA for 7df8a1a - Browse repository at this point
Copy the full SHA 7df8a1aView commit details
Commits on Jan 8, 2016
-
Merge pull request #746 from lemenkov/remove_has_sdp
rtpproxy: patch: has_sdp() does not exist (cherry picked from commit 2e59ba9)
Configuration menu - View commit details
-
Copy full SHA for 7f933a5 - Browse repository at this point
Copy the full SHA 7f933a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d1d634 - Browse repository at this point
Copy the full SHA 5d1d634View commit details -
regex: Fix implicit declaration of 'isspace'
(cherry picked from commit 3607208)
Configuration menu - View commit details
-
Copy full SHA for a752c53 - Browse repository at this point
Copy the full SHA a752c53View commit details -
Fix several print formatting bugs
%*.s is a format specifier for string width %.*s is a format specifier for string length 99% of the time, we want the latter one and _not_ the former. (cherry picked from commit e0c0a54) Conflicts: modules/event_flatstore/event_flatstore.c modules/proto_tls/tls_params.c modules/usrloc/dlist.c
Configuration menu - View commit details
-
Copy full SHA for f4b81d3 - Browse repository at this point
Copy the full SHA f4b81d3View commit details
Commits on Jan 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5d32b84 - Browse repository at this point
Copy the full SHA 5d32b84View commit details -
Fix pinging partitioning from nat_traversal.
Do not use the static counter as the timer routine gets executed in various processes now - better use a shm counter. See all the details in #751 Based on the PR #751 Closing / outdating #751 Credits for finding the fix and comming up with a solutoin go to @aerringer.
Configuration menu - View commit details
-
Copy full SHA for 4395575 - Browse repository at this point
Copy the full SHA 4395575View commit details -
Fix race condition between retransmission and wait timer in TM.
Overlapping of retransmission timer and wait timer may lead to inconsistent timer list -> various crashes around TM timer lists. Related to #749, #732, #723. Many thanks for Trevor Francis ( @46labs ) for helping with the troubleshooting. IMPORTANT NOTE: this is a temporary fix as it simply avoid the collision between the two timer routines - normally the routines themselves should be safe to run in parallel (more digging is required here). (cherry picked from commit ea6e1fa)
Configuration menu - View commit details
-
Copy full SHA for 5f486bb - Browse repository at this point
Copy the full SHA 5f486bbView commit details -
Allow retransmissions and wait for reply/timeout on canceled branches.
Do not do anything about branches with no received reply; better continue the retransmission hoping to get something back; if still not, we will generate the 408 Timeout based on FR timer; this helps with better coping with missed/lated provisional replies in the context of cancelling the transaction Many thanks to Maxim Sobolev for bringing this under discussion. More to be read: http://lists.opensips.org/pipermail/devel/2015-November/018623.html http://lists.opensips.org/pipermail/devel/2015-December/018810.html (cherry picked from commit 0dfb46d)
Configuration menu - View commit details
-
Copy full SHA for f267746 - Browse repository at this point
Copy the full SHA f267746View commit details -
[snmpstats]more hints for setting up in the docs
(cherry-picked from 6e7535207d5531e0fc2562d05b874acd30488368)
ionutrazvanionita committedJan 13, 2016 Configuration menu - View commit details
-
Copy full SHA for 4c775f2 - Browse repository at this point
Copy the full SHA 4c775f2View commit details
Commits on Jan 14, 2016
-
[sipcapture]mi_cmds were registered twice
(cherry picked from commit e36453e)
ionutrazvanionita committedJan 14, 2016 Configuration menu - View commit details
-
Copy full SHA for d2f90b6 - Browse repository at this point
Copy the full SHA d2f90b6View commit details -
[sipcapture]completely remove mod_init mi_cmds registration
(cherry picked from commit 02defafe421fa1ff4ab0f05f63cc490fa1717ff3)
ionutrazvanionita committedJan 14, 2016 Configuration menu - View commit details
-
Copy full SHA for 548eb53 - Browse repository at this point
Copy the full SHA 548eb53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d813f6 - Browse repository at this point
Copy the full SHA 5d813f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9608063 - Browse repository at this point
Copy the full SHA 9608063View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b011be - Browse repository at this point
Copy the full SHA 4b011beView commit details -
fixing coverity found defects - invalid memory access / memory corrup…
…tions (cherry picked from commit c537cb8) Conflicts: modules/dialog/dlg_tophiding.c
Configuration menu - View commit details
-
Copy full SHA for 57a7bf0 - Browse repository at this point
Copy the full SHA 57a7bf0View commit details -
fixing coverity found defects - resource leakage
(cherry picked from commit e09f09a)
Configuration menu - View commit details
-
Copy full SHA for 21083e8 - Browse repository at this point
Copy the full SHA 21083e8View commit details -
fixing coverity found defects - processing initialized variables, con…
…trol flow, invalid expressions (cherry picked from commit b22844e) Conflicts: modules/drouting/drouting.c
Configuration menu - View commit details
-
Copy full SHA for 50737ff - Browse repository at this point
Copy the full SHA 50737ffView commit details -
fixing coverity found defects - logical fix in ul callback check type…
…, null dereference (cherry picked from commit aeedb7d) Conflicts: modules/dispatcher/dispatcher.c
Configuration menu - View commit details
-
Copy full SHA for a152bdf - Browse repository at this point
Copy the full SHA a152bdfView commit details -
fixing coverity found defects - null dereference, break missing
(cherry picked from commit c004967) Conflicts: db/db.c
Configuration menu - View commit details
-
Copy full SHA for ed699bf - Browse repository at this point
Copy the full SHA ed699bfView commit details -
fixing coverity found defects - null dereference, invalid e164 number…
… check (cherry picked from commit b8e2318)
Configuration menu - View commit details
-
Copy full SHA for c48773c - Browse repository at this point
Copy the full SHA c48773cView commit details -
fixing coverity found defects - copying into fixed size buffer
(cherry picked from commit 92a7361)
Configuration menu - View commit details
-
Copy full SHA for c9aaae3 - Browse repository at this point
Copy the full SHA c9aaae3View commit details -
fixing coverity found defects - copying into fixed size buffer withou…
…t check, db_http (cherry picked from commit d471234)
Configuration menu - View commit details
-
Copy full SHA for 20004e4 - Browse repository at this point
Copy the full SHA 20004e4View commit details -
fixing coverity found defects - null dereference
(cherry picked from commit b578dda)
Configuration menu - View commit details
-
Copy full SHA for 19e5188 - Browse repository at this point
Copy the full SHA 19e5188View commit details -
fixing coverity found defects - null dereference
(cherry picked from commit 906bb91) Conflicts: cachedb/cachedb_id.c
Configuration menu - View commit details
-
Copy full SHA for 37a7466 - Browse repository at this point
Copy the full SHA 37a7466View commit details -
fixing coverity found defects - null dereference & broken logic
(cherry picked from commit 81aeba4)
Configuration menu - View commit details
-
Copy full SHA for 6b4a327 - Browse repository at this point
Copy the full SHA 6b4a327View commit details -
fixing coverity found defects - memory corruption, null dereference
(cherry picked from commit fd57609)
Configuration menu - View commit details
-
Copy full SHA for 56a7230 - Browse repository at this point
Copy the full SHA 56a7230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f4597 - Browse repository at this point
Copy the full SHA 83f4597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02fde2a - Browse repository at this point
Copy the full SHA 02fde2aView commit details -
RPM spec: update version to 2.1.2
Nick Altmann committedJan 14, 2016 Configuration menu - View commit details
-
Copy full SHA for 7023ade - Browse repository at this point
Copy the full SHA 7023adeView commit details
Commits on Jan 15, 2016
-
[avpops]check if asyn funcs used in separate loop(on acmds struct)
(cherry picked from commit 939b343)
ionutrazvanionita committedJan 15, 2016 Configuration menu - View commit details
-
Copy full SHA for 69aad41 - Browse repository at this point
Copy the full SHA 69aad41View commit details -
function search: properly search through switch st
(cherry picked from commit 446dd58)
Configuration menu - View commit details
-
Copy full SHA for c0a0408 - Browse repository at this point
Copy the full SHA c0a0408View commit details -
[avpops]fix acmds instead of cmds
(cherry picked from commit 9bd4c77)
ionutrazvanionita committedJan 15, 2016 Configuration menu - View commit details
-
Copy full SHA for ad32566 - Browse repository at this point
Copy the full SHA ad32566View commit details -
leave IPPROTO_* format in hep header(which is returned by pipport2su() function) and after setting it use OpenSIPS format for sending(PROTO_UDP)
ionutrazvanionita committedJan 15, 2016 Configuration menu - View commit details
-
Copy full SHA for 5a28baf - Browse repository at this point
Copy the full SHA 5a28bafView commit details
Commits on Jan 17, 2016
-
RPM spec: prepare for new build system
- remove obsolete triggers - change tarball name and url
Nick Altmann committedJan 17, 2016 Configuration menu - View commit details
-
Copy full SHA for 44cc594 - Browse repository at this point
Copy the full SHA 44cc594View commit details
Commits on Jan 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bd3751b - Browse repository at this point
Copy the full SHA bd3751bView commit details -
fix calls per minute for fraud_detection module
Now the calls per minute parameter is build as consisting of an initial time(t0) and a 60 seconds window(as was before). Each window slot holds the calls received in that second(as before). The difference is that now these parameters are updated based on three conditions: * we receive the call between [t0; t0 + WINDOW_SIZE(60s)] - we only update the number of calls for that slot(t0 + current time) and the calls per minute parameter * we receive the call in the interval of [t0+WINDOW_SIZE; t0+2*WINDOW_SIZE] - we do the following: move t0 in current call time - WINDOW_SIZE, invalidate all the calls we knew of from t0 to current t0 (current call time - WINDOW_SIZE) * we receive a call after 2 * WINDOW_SIZE(60 seconds) + t0 - this invalidates all the calls we knew of since the window is not does not contains calls newer than the last 60 seconds; (cherry picked from commit dd25c63)
ionutrazvanionita committedJan 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 0c26f91 - Browse repository at this point
Copy the full SHA 0c26f91View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb37439 - Browse repository at this point
Copy the full SHA bb37439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a642c5 - Browse repository at this point
Copy the full SHA 0a642c5View commit details
Commits on Jan 19, 2016
-
db in string or int pvar for avp_db_query()
(cherry picked from commit 8a51273) Conflicts: modules/avpops/avpops.c
ionutrazvanionita committedJan 19, 2016 Configuration menu - View commit details
-
Copy full SHA for d0f5c3d - Browse repository at this point
Copy the full SHA d0f5c3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b602a7f - Browse repository at this point
Copy the full SHA b602a7fView commit details -
Merge pull request #664 from wdoekes/wjd-allow_unset_dlg_in_req_route
dialog: Document that unset_dlg_profile can be used from request_route. (cherry picked from commit 8d23d9b)
Configuration menu - View commit details
-
Copy full SHA for fbb4aac - Browse repository at this point
Copy the full SHA fbb4aacView commit details
Commits on Jan 21, 2016
-
Coverity PR: minor refactorings
(cherry picked from commit 9750241) Conflicts: modules/ldap/iniparser.c modules/usrloc/dlist.c Credits to Ognjen Seslija for the bug report
Configuration menu - View commit details
-
Copy full SHA for fbb97b8 - Browse repository at this point
Copy the full SHA fbb97b8View commit details -
Missing module "emergency" in extra list.
This was braking the creation of extra tables (at least in postgres is did). Reported by Nathaniel L. Keeling III on mailing.
Configuration menu - View commit details
-
Copy full SHA for d9af15b - Browse repository at this point
Copy the full SHA d9af15bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de5534 - Browse repository at this point
Copy the full SHA 7de5534View commit details
Commits on Jan 25, 2016
-
Fix double free in case of errors when running MI command
(cherry picked from commit ce6e844)
Configuration menu - View commit details
-
Copy full SHA for 2641feb - Browse repository at this point
Copy the full SHA 2641febView commit details -
Fix STANDARD and EXTRA list of tables.
Permissions (in postgres) were not granted for the missing tables. Reported by Nathaniel L. Keeling III on mailing list
Configuration menu - View commit details
-
Copy full SHA for aebf41f - Browse repository at this point
Copy the full SHA aebf41fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ba97b - Browse repository at this point
Copy the full SHA 58ba97bView commit details -
Fix bugs in modules-readm target.
(cherry picked from commit 0042b94)
Configuration menu - View commit details
-
Copy full SHA for 9b42ff6 - Browse repository at this point
Copy the full SHA 9b42ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b63fd - Browse repository at this point
Copy the full SHA 16b63fdView commit details
Commits on Jan 26, 2016
-
Fix codec handling functions when faulty streams are defined.
Bogus test on the return code of stream_process() (using bitwise OR for -1, 0 and 1 values :O ), leads to a generic failure to find any codec in any stream if there is an invalid stream in the SDP. For example, if a video stream is defined but with no codecs, stream_process() will return -1 for it (as it is a bogus stream). While iterating through all the stream (including the valid audio stream), the -1 ret code will discard any 1 future ret code due the bogus bitwise OR. (cherry picked from commit ef82ca2) Conflicts: modules/sipmsgops/codecs.c
Configuration menu - View commit details
-
Copy full SHA for 41c8902 - Browse repository at this point
Copy the full SHA 41c8902View commit details -
Fixed wrong warning on memory leak.
Set the auth_hdr buffer to NULL after moving the buffer into the lump. Reported by Colin Martin on mailing list
Configuration menu - View commit details
-
Copy full SHA for bbaf821 - Browse repository at this point
Copy the full SHA bbaf821View commit details
Commits on Jan 28, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bce5306 - Browse repository at this point
Copy the full SHA bce5306View commit details
Commits on Feb 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5b7b5f7 - Browse repository at this point
Copy the full SHA 5b7b5f7View commit details -
Fixed autodetection of the reactor size (open files)
If we auto-detect the size of the reactor(via rulimit), be sure we have enough pkg memory (and do the necessary correction). If the open files limit is given, warn if the reactor will use too much memory. Thanks to MAxim Sobolev for reporting it via mailing list and to @cepehutu Closes #778 (cherry picked from commit 6dd88ab)
Configuration menu - View commit details
-
Copy full SHA for 12d27ab - Browse repository at this point
Copy the full SHA 12d27abView commit details
Commits on Feb 2, 2016
-
fix async: context shall be destroyed only at the last async call
(cherry picked from commit 672cb13)
Configuration menu - View commit details
-
Copy full SHA for eb586ee - Browse repository at this point
Copy the full SHA eb586eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f84d5 - Browse repository at this point
Copy the full SHA a3f84d5View commit details
Commits on Feb 4, 2016
-
Fixed improper setting of Missed column's type.
Credits go to Pete Kelly (@petekelly). Closes #703 .
Configuration menu - View commit details
-
Copy full SHA for c846598 - Browse repository at this point
Copy the full SHA c846598View commit details
Commits on Feb 5, 2016
-
Fix IPv6 insertion in fix_nated_contact()
Add the [ ] around IPv6 in the newly built contact URI. Reported by Jonathan Hunter on the mailing list (cherry picked from commit ce89e29)
Configuration menu - View commit details
-
Copy full SHA for 0a3c97b - Browse repository at this point
Copy the full SHA 0a3c97bView commit details
Commits on Feb 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ad44a05 - Browse repository at this point
Copy the full SHA ad44a05View commit details -
Fix proper callig in local cancels with TH.
Extend the coverage of the preocessing context and TM context over the cancel_branch() function (in the timeout handler) so the TH callbacks can reach back the dialog and do the TH related changes. Reported by Julian Santer on mailing list.
Configuration menu - View commit details
-
Copy full SHA for 8133656 - Browse repository at this point
Copy the full SHA 8133656View commit details -
Don't push throug RTPProxy streams with port 0 in SDP
(cherry picked from commit 5dec43a)
Configuration menu - View commit details
-
Copy full SHA for 135a0d6 - Browse repository at this point
Copy the full SHA 135a0d6View commit details
Commits on Feb 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 96f6c77 - Browse repository at this point
Copy the full SHA 96f6c77View commit details
Commits on Feb 17, 2016
-
* accept qvalues with no decimal digits (e.g. "1." and "0.") (this removes E_Q_DEC_MISSING from error.h) * improve bad qvalue error reporting (cherry picked from commit ed60363)
Configuration menu - View commit details
-
Copy full SHA for f84cc83 - Browse repository at this point
Copy the full SHA f84cc83View commit details
Commits on Feb 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b055320 - Browse repository at this point
Copy the full SHA b055320View commit details
Commits on Feb 23, 2016
-
SIP forking engine: Fix async-related issues
Previously (on OpenSIPS...), doing _any_ async operation at script level after a destination set had been built (by lookup(), append_branch(), etc) would have lead to unpredictable results. This patch addresses the problem by moving the destination set storage into the current processing context (from static mem to pkg mem). Impact on memory usage at worst (12 branches for each request) is an extra 30 MB of PKG memory per every 1000 cps. (cherry picked from commit a7b287f) Conflicts: main.c
Configuration menu - View commit details
-
Copy full SHA for 12817d4 - Browse repository at this point
Copy the full SHA 12817d4View commit details
Commits on Feb 24, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bedecc4 - Browse repository at this point
Copy the full SHA bedecc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc407d - Browse repository at this point
Copy the full SHA 9fc407dView commit details -
SIP forking logic: Add extra NULL checks
This prevents a crash when no branches are pushed yet, but a branch management function is called (e.g. t_replicate() or a write to $(branch(uri)[0]) is done) Issue reported by Trevor Francis (cherry picked from commit 5e3f068)
Configuration menu - View commit details
-
Copy full SHA for b25c8aa - Browse repository at this point
Copy the full SHA b25c8aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b30865 - Browse repository at this point
Copy the full SHA 8b30865View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29028cf - Browse repository at this point
Copy the full SHA 29028cfView commit details -
build: change variables for other OSes
(cherry picked from commit cec0c72)
Configuration menu - View commit details
-
Copy full SHA for 3ea83ce - Browse repository at this point
Copy the full SHA 3ea83ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eeb44d - Browse repository at this point
Copy the full SHA 1eeb44dView commit details
Commits on Feb 25, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 6ce7676 - Browse repository at this point
Copy the full SHA 6ce7676View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b2eba - Browse repository at this point
Copy the full SHA 04b2ebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d04e3b7 - Browse repository at this point
Copy the full SHA d04e3b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b7395 - Browse repository at this point
Copy the full SHA e6b7395View commit details -
Configuration menu - View commit details
-
Copy full SHA for e615552 - Browse repository at this point
Copy the full SHA e615552View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b517d - Browse repository at this point
Copy the full SHA 39b517dView commit details
Commits on Feb 26, 2016
-
Di-Shi Sun committed
Feb 26, 2016 Configuration menu - View commit details
-
Copy full SHA for 41e2b38 - Browse repository at this point
Copy the full SHA 41e2b38View commit details -
loop: declare fd_map for devpoll
Reported by Nathaniel L. Keeling III (cherry picked from commit fe785bf)
Configuration menu - View commit details
-
Copy full SHA for 7dadebb - Browse repository at this point
Copy the full SHA 7dadebbView commit details
Commits on Feb 29, 2016
-
(cherry picked from commit e5f0b55)
Configuration menu - View commit details
-
Copy full SHA for 8dce547 - Browse repository at this point
Copy the full SHA 8dce547View commit details -
rename s_addr to avoid overlapping with Solaris structs
Discovered by Nathaniel L. Keeling (cherry picked from commit 6c99004)
Configuration menu - View commit details
-
Copy full SHA for aa4b580 - Browse repository at this point
Copy the full SHA aa4b580View commit details
Commits on Mar 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b0e5fab - Browse repository at this point
Copy the full SHA b0e5fabView commit details
Commits on Mar 4, 2016
-
tcp: prevent invalid mem access
Reported by Saúl Ibarra Corretgé (cherry picked from commit a607aa8)
Configuration menu - View commit details
-
Copy full SHA for cde7bd4 - Browse repository at this point
Copy the full SHA cde7bd4View commit details -
Allow setting branch flags when no branches are yet appended
Configuration menu - View commit details
-
Copy full SHA for 2555c5e - Browse repository at this point
Copy the full SHA 2555c5eView commit details -
tm: Refactor some hardcoded static string lengths
This also fixes a couple of chopped MI error strings in "t_uac_dlg" (cherry picked from commit 60d4d4b)
Configuration menu - View commit details
-
Copy full SHA for 6d126a1 - Browse repository at this point
Copy the full SHA 6d126a1View commit details
Commits on Mar 7, 2016
-
Merge pull request #814 from sippy/master_rtpp_ip6_fix
Fix an issue with IPv6 in the rtpproxy module (cherry picked from commit f906d93)
Configuration menu - View commit details
-
Copy full SHA for 172009c - Browse repository at this point
Copy the full SHA 172009cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f89dfc7 - Browse repository at this point
Copy the full SHA f89dfc7View commit details
Commits on Mar 8, 2016
-
t_newtran() automatically sends a 100 Tryting for INVITE.
TO have a consistent behavior between: t_newtran(); t_relay(); and t_relay(); (where in the first case a 100 Trying will not be auto generated), we do not sent the 100 Trying on r_relay (when transaction is built) but on t_newtan(). Reported by MAxim Sobolev. (cherry picked from commit 0db7789)
Configuration menu - View commit details
-
Copy full SHA for 054836a - Browse repository at this point
Copy the full SHA 054836aView commit details -
dialog: Lower log level of state change errors
Out-of-order SIP requests are a frequent occurence in high-traffic environments. The dialog module should not consider these events as being critical, but rather as warnings, so they can be easily filtered out from the logs. (cherry picked from commit e403a2b)
Configuration menu - View commit details
-
Copy full SHA for e2bdb30 - Browse repository at this point
Copy the full SHA e2bdb30View commit details -
Merge pull request #823 from jarrodb/db_postgres
Add JSONOID to pg_type.h for supporting JSON return types as DB_STRING (cherry picked from commit e6bb7ac)
Configuration menu - View commit details
-
Copy full SHA for e48bc6f - Browse repository at this point
Copy the full SHA e48bc6fView commit details
Commits on Mar 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1a194ad - Browse repository at this point
Copy the full SHA 1a194adView commit details
Commits on Mar 15, 2016
-
Fixed async jump for end2end ACKs.
As end2end ACKs do not create a sip transaction, force sync for all async operations (as we cannot suspend and resume). Closes #819
Configuration menu - View commit details
-
Copy full SHA for b2bc43e - Browse repository at this point
Copy the full SHA b2bc43eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 981e354 - Browse repository at this point
Copy the full SHA 981e354View commit details
Commits on Mar 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for dc229a1 - Browse repository at this point
Copy the full SHA dc229a1View commit details -
topology_hiding: prefent crash at shutdown
(cherry picked from commit 00632a0b5a93f84531bb391bda2939b2ba351013)
Configuration menu - View commit details
-
Copy full SHA for a759574 - Browse repository at this point
Copy the full SHA a759574View commit details
Commits on Mar 17, 2016
-
Reset to 0 the whole branch if failed.
If we do not reset, on trying to add the next branch (on the same position), we will end up with dangling pointers. (cherry picked from commit d5c3bd1)
Configuration menu - View commit details
-
Copy full SHA for 847805e - Browse repository at this point
Copy the full SHA 847805eView commit details
Commits on Mar 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e74f665 - Browse repository at this point
Copy the full SHA e74f665View commit details
Commits on Mar 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e49e2e8 - Browse repository at this point
Copy the full SHA e49e2e8View commit details
Commits on Mar 20, 2016
-
Fixed port param for lb_is_destination().
It must accept integer values also, not only variables. Reported by @telephone-man on GITHUB Closes #808.
Configuration menu - View commit details
-
Copy full SHA for 143328f - Browse repository at this point
Copy the full SHA 143328fView commit details
Commits on Mar 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c4cc161 - Browse repository at this point
Copy the full SHA c4cc161View commit details -
The way local route is implemented (triggered and terminated in TM module) does not allow async resumes, so, for the moment, we simply force all the async triggers to be executed in a sync way in local route.
Configuration menu - View commit details
-
Copy full SHA for 940996f - Browse repository at this point
Copy the full SHA 940996fView commit details -
scripts/opensipsctl: complete support for optional database port
(cherry picked from commit 04d8a84)
Configuration menu - View commit details
-
Copy full SHA for ef2a42f - Browse repository at this point
Copy the full SHA ef2a42fView commit details
Commits on Mar 22, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8002174 - Browse repository at this point
Copy the full SHA 8002174View commit details
Commits on Mar 24, 2016
-
Proper handling of isolated EPOLLHUP events.
capture and handle EPOLLHUP or EPOLLERR events even if they are not in conjunction with EPOLLIN or EPOLLOUT. Many thanks to @santhosh-kumar for reporting and helping with troubleshooting. Closes #829
Configuration menu - View commit details
-
Copy full SHA for 92245fd - Browse repository at this point
Copy the full SHA 92245fdView commit details -
Improve robustness of core URI copying functions
Namely set_ruri(), set_dst_uri(), set_path_vector(). This patch corrects the behaviour of the above functions when they are fed strange/corrupt strings, such as {NULL, 5} or {0x7fb..., 0}. There are still plenty of pieces of OpenSIPS code which assume such strings should be correctly processed, e.g. next_branches(), which may lead to a whole world of problems ranging from segfaults, double free operations and dangling pointers all the way up to intermixed shm/pkg memory pointers. The best way of addressing this issue is to simply accept such input and zeroize (and free) the concerned sip_msg attributes. Many thanks to Ovidiu Sas <osas@voipembedded.com> for in-depth error reporting and assistance in fixing this issue (cherry picked from commit 2787308)
Configuration menu - View commit details
-
Copy full SHA for f1f67d9 - Browse repository at this point
Copy the full SHA f1f67d9View commit details
Commits on Mar 29, 2016
-
drouting api: Fix a double free bug
Crashes / memory corruptions could ensue after running "fraud_reload" MI commands or during OpenSIPS shutdown, if fraud_detection had some data to work with. (cherry picked from commit 2380bbd)
Configuration menu - View commit details
-
Copy full SHA for 15bf627 - Browse repository at this point
Copy the full SHA 15bf627View commit details
Commits on Mar 30, 2016
-
TLS: Fix misleading error logs on accept() failures
OpenSIPS would always log SSL_accept() failures as being "rejected by client". This is entirely not the case, as the errors may as very well be server-side, due to cipher mismatches, failed peer verifications, etc. Reported by Nabeel Shikder on the "users" mailing list
Configuration menu - View commit details
-
Copy full SHA for e925732 - Browse repository at this point
Copy the full SHA e925732View commit details
Commits on Mar 31, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 87c93b8 - Browse repository at this point
Copy the full SHA 87c93b8View commit details
Commits on Apr 7, 2016
-
cachedb_redis: Prevent crash when re-connect keeps failing
(cherry picked from commit b501df7)
Configuration menu - View commit details
-
Copy full SHA for 44d2748 - Browse repository at this point
Copy the full SHA 44d2748View commit details
Commits on Apr 11, 2016
-
pi_http: return "200 OK" instead of "0 Unknown"
(cherry picked from commit 73f8117)
Configuration menu - View commit details
-
Copy full SHA for 36c4c63 - Browse repository at this point
Copy the full SHA 36c4c63View commit details
Commits on Apr 20, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b9aa873 - Browse repository at this point
Copy the full SHA b9aa873View commit details -
MI library: Add comments regarding a known issue
Currently, MI arrays cannot contain objects with non-identical "name" attributes. This patch also quickfixes this issue in mi_list_all_profiles() by dropping the array idea altogether, in favour of a top-most object. (cherry picked from commit 6c10501)
Configuration menu - View commit details
-
Copy full SHA for 4358451 - Browse repository at this point
Copy the full SHA 4358451View commit details
Commits on Apr 26, 2016
-
[tls_mgm] properly handle SSL_ERROR_SYSCALL on SSL_shutdown
(cherry picked from commit bdcee39)
ionutrazvanionita committedApr 26, 2016 Configuration menu - View commit details
-
Copy full SHA for 5600997 - Browse repository at this point
Copy the full SHA 5600997View commit details
Commits on May 3, 2016
-
regex: fix spell-check in package
(cherry picked from commit 647ea21)
Configuration menu - View commit details
-
Copy full SHA for 25b6041 - Browse repository at this point
Copy the full SHA 25b6041View commit details
Commits on May 4, 2016
-
ratelimit: initialize the length of the algorithm
(cherry picked from commit 0eebf10)
Configuration menu - View commit details
-
Copy full SHA for d273ced - Browse repository at this point
Copy the full SHA d273cedView commit details -
Updated opensipsctl.base to also search /sbin
The md5 utility is located at /sbin/md5 on FreeBSD 8.3. An additional common location was added to allow the script to accommodate this. (cherry picked from commit ca87f55)
Configuration menu - View commit details
-
Copy full SHA for c25b6b2 - Browse repository at this point
Copy the full SHA c25b6b2View commit details
Commits on May 11, 2016
-
[dispatcher] fix double allocation issue
(cherry picked from commit d6891363e3b3b4047a1948eb03fb6b6bab285885)
ionutrazvanionita committedMay 11, 2016 Configuration menu - View commit details
-
Copy full SHA for 4f0dce9 - Browse repository at this point
Copy the full SHA 4f0dce9View commit details
Commits on May 18, 2016
-
Fixed bogus memory operations.
Fixed bogus free (of uninit pointer) if parse_contact() fails Fixed shm leak on errors after print_rr_body Fixed shm leak on success if record_route is present. Reported by John Nash.
Configuration menu - View commit details
-
Copy full SHA for 4b0fca5 - Browse repository at this point
Copy the full SHA 4b0fca5View commit details
Commits on May 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 80a1c31 - Browse repository at this point
Copy the full SHA 80a1c31View commit details -
Fix bogus timer ref counter during expire update.
Many thanks to Trevor Francis for reporting and helping with troubleshooting and testing. (cherry picked from commit 047b1b3)
Configuration menu - View commit details
-
Copy full SHA for d94885a - Browse repository at this point
Copy the full SHA d94885aView commit details
Commits on May 20, 2016
-
Process sequential messages received in CONFIRMED_NA state
Due to UDP race conditions, sequential messages may be received before the ACK confirming the initial INVITE ( eg. Re-INVITE sent immediately as the call is established in order to force a specific codec ) - also push these requests through the whole dialog processing in order to avoid any future issues ( eg. CSEQ updating which, if left unprocessed, will lead to generating out of order sequentials by OpenSIPS ) (cherry picked from commit bfaf022)
Configuration menu - View commit details
-
Copy full SHA for eacc39c - Browse repository at this point
Copy the full SHA eacc39cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bab109f - Browse repository at this point
Copy the full SHA bab109fView commit details -
re-register topo hiding callbacks after restart
Thanks to Pete Kelly for reporting this (cherry picked from commit 4c84bd8)
Configuration menu - View commit details
-
Copy full SHA for 2a3d31e - Browse repository at this point
Copy the full SHA 2a3d31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 351d85b - Browse repository at this point
Copy the full SHA 351d85bView commit details
Commits on May 23, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5c3f7ff - Browse repository at this point
Copy the full SHA 5c3f7ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c07f61 - Browse repository at this point
Copy the full SHA 1c07f61View commit details -
[mmgeoip] allow chosing memory caching type
Before GEOIP_MMAP_CACHE was used causing a segmentation fault when database file was changed. Now users can choose between reading the database directly from file, cahing it into memory with the possibility to change the database file at runtime. (cherry picked from commit ecf5032aaafbe5a93bbfc3562c4b3358548839e7)
ionutrazvanionita committedMay 23, 2016 Configuration menu - View commit details
-
Copy full SHA for 0735d51 - Browse repository at this point
Copy the full SHA 0735d51View commit details
Commits on May 24, 2016
-
Revert "Accept TCP aliases by default"
This reverts commit d62bc96. Firstly, TCP connection reusage (RFC 5923) should only be employed between TLS endpoints - only TLS allows the endpoints to authenticate each other during connection setup, preventing unauthorized connection hijacking. Secondly, aside from any security considerations, RFC 5923 must not be employed fanatically (Proxy-Proxy, Edge-UA, UA-Proxy) on any TCP connection (especially disregarding the ";alias" Via parameter!), but rather only between adjacent SIP entities who can both initiate a connection towards each other, and also support the RFC. In the real world, we're basically only talking about the Proxy-Proxy usage case, as any SIP UA scenario will most likely involve some form of NAT and a Proxy that cannot open connections backwards, towards the UA. In these cases, TCP connection reusage is _completely_ out of the question, as a single UA might end up receiving all calls of all users behind their public IP. Thanks to Jonas Borjesson for reporting the problem in the first place. (cherry picked from commit 715339f)
Configuration menu - View commit details
-
Copy full SHA for 3a7f90e - Browse repository at this point
Copy the full SHA 3a7f90eView commit details -
TCP connection lookup: Add matching by transport
The fact that all currently supported TCP-oriented protocols have different standard ports is not an excuse for not including the transport into the match condition (i.e. dest IP address + dest port + dest transport). This may very well prevent issues with messages being sent out over the wrong TCP connection in a number of scenarios where we employ TCP connection reusage over both plain TCP and TLS with a Proxy that specifies the same port in the topmost Via header when it establishes each of the two connections. (cherry picked from commit 13970bb) Conflicts: modules/proto_bin/proto_bin.c modules/proto_hep/proto_hep.c modules/proto_wss/proto_wss.c modules/tls_mgm/tls_mgm.c
Configuration menu - View commit details
-
Copy full SHA for 5937884 - Browse repository at this point
Copy the full SHA 5937884View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfda90a - Browse repository at this point
Copy the full SHA dfda90aView commit details
Commits on May 25, 2016
-
mi_xmlrpc_ng: Fix a shared memory leak
(cherry picked from commit d047e10)
Configuration menu - View commit details
-
Copy full SHA for 3e5fe64 - Browse repository at this point
Copy the full SHA 3e5fe64View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e0989 - Browse repository at this point
Copy the full SHA d1e0989View commit details -
Obey USE_SYSV_SEM and USE_PTHREAD_MUTEX.
If USE_SYSV_SEM or USE_PTHREAD_MUTEX are defined via Makefile.conf, do you force autodetection (based on arch type) of the locking support. (cherry picked from commit 39592dc)
Configuration menu - View commit details
-
Copy full SHA for c0c9eaa - Browse repository at this point
Copy the full SHA c0c9eaaView commit details -
Fix bogus destroy of a RW lock.
(cherry picked from commit 83f3945)
Configuration menu - View commit details
-
Copy full SHA for 0c9c688 - Browse repository at this point
Copy the full SHA 0c9c688View commit details -
Proper support for USE_POSIX_SEM option in Makefile
(cherry picked from commit 5e40aaf)
Configuration menu - View commit details
-
Copy full SHA for c6df63a - Browse repository at this point
Copy the full SHA c6df63aView commit details -
Fix bogus set locking functions.
It is used for SYSTEM V locking only, looks like a copy'n'paste error. (cherry picked from commit 4bcdf4e)
Configuration menu - View commit details
-
Copy full SHA for a18183f - Browse repository at this point
Copy the full SHA a18183fView commit details -
Fix warning in SYSTEM V locking functions
(cherry picked from commit 53b3f40)
Configuration menu - View commit details
-
Copy full SHA for f663dd3 - Browse repository at this point
Copy the full SHA f663dd3View commit details -
call_center: obey lock_set interface
(cherry picked from commit 4a226ce)
Configuration menu - View commit details
-
Copy full SHA for a645657 - Browse repository at this point
Copy the full SHA a645657View commit details
Commits on May 26, 2016
-
dialplan: Fix a rule tie-breaking bug
When an input string would match both a "string" rule and a "regex" rule, the priority based tie-breaking was incorrect (now favouring the bigger priority instead - opposite to default module behavior). Thanks to @paolodepa for suggesting this fix Fixes issue #696 (cherry picked from commit cbdd79a)
Configuration menu - View commit details
-
Copy full SHA for 9c66491 - Browse repository at this point
Copy the full SHA 9c66491View commit details -
fix bin crash if no listener defined
When using usrloc and dialog replication, if no bin_listen is defined, OpenSIPS crashes. This fix ensures that if there are any replication destinations defined, the binary listener exists. Thanks go to Stas Kobzar for reporting this Closes #652
Configuration menu - View commit details
-
Copy full SHA for 8f46c2f - Browse repository at this point
Copy the full SHA 8f46c2fView commit details -
dialplan: Improve documentation
Added paragraphs regarding rule types along with explanations on they way priorities and rule tie-breaking work. (cherry picked from commit 46894f8) Conflicts: modules/dialplan/doc/dialplan_admin.xml
Configuration menu - View commit details
-
Copy full SHA for 4ef316b - Browse repository at this point
Copy the full SHA 4ef316bView commit details -
dbtext: convert DBG to ERR for better debugging
(cherry picked from commit 0f08b26)
Configuration menu - View commit details
-
Copy full SHA for 7697fba - Browse repository at this point
Copy the full SHA 7697fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b57eaf - Browse repository at this point
Copy the full SHA 2b57eafView commit details
Commits on May 27, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1a38656 - Browse repository at this point
Copy the full SHA 1a38656View commit details -
add license to rw_locking.h header
(cherry picked from commit e3a57ac)
Configuration menu - View commit details
-
Copy full SHA for 4c18d31 - Browse repository at this point
Copy the full SHA 4c18d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f56fd - Browse repository at this point
Copy the full SHA d3f56fdView commit details
Commits on May 30, 2016
-
Fixed bogus test when using POSIX or PTHREAD locks.
Reported by Steve Woolley. (this was fixed on 2.2 and trunk when debug support was added for locks).
Configuration menu - View commit details
-
Copy full SHA for f8a21e4 - Browse repository at this point
Copy the full SHA f8a21e4View commit details -
Fixed proper cleanup on failure of tcpconn_new()
The chances for going for error cases are very low, still let's do it in the proper way (cherry picked from commit 57c163b)
Configuration menu - View commit details
-
Copy full SHA for 7bc985c - Browse repository at this point
Copy the full SHA 7bc985cView commit details -
If POSIX sems are used, be sure to link against pthread lib
(cherry picked from commit f7de640)
Configuration menu - View commit details
-
Copy full SHA for 82f8093 - Browse repository at this point
Copy the full SHA 82f8093View commit details -
Fixed interface matching in loose_route()
If port is missing in Route URI, do not assume default 5060, but consider the schema and protocol (they may require a different default port). Ex: sip:10.0.0.5;transport=tls was previously handled as sip:10.0.0.5:5060;transport=tls, which is wrong as the default TLS port is 5061 Reported on mailing list by Ravitez Dondeti. (cherry picked from commit 3593a5f)
Configuration menu - View commit details
-
Copy full SHA for d670270 - Browse repository at this point
Copy the full SHA d670270View commit details -
Fix invalid memory access with async MySQL queries
Due to the way the libmysqlclient query result strings were managed, they would be freed by the library before OpenSIPS would copy them into the output AVPs. This patch fixes the issue by adding a new DB API function which handles the cleanup of async query results. Reported by Ovidiu Sas Addresses issue #873 (cherry picked from commit 177c60a) Conflicts: db/db.h modules/avpops/avpops_impl.c modules/db_mysql/dbase.c modules/db_mysql/dbase.h modules/db_sqlite/db_sqlite.c modules/db_virtual/db_virtual.c modules/db_virtual/dbase.c modules/db_virtual/dbase.h modules/sipcapture/sipcapture.c
Configuration menu - View commit details
-
Copy full SHA for 3a5138b - Browse repository at this point
Copy the full SHA 3a5138bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bee0cee - Browse repository at this point
Copy the full SHA bee0ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1867198 - Browse repository at this point
Copy the full SHA 1867198View commit details
Commits on May 31, 2016
-
httpd: properly treat select response
(cherry picked from commit b49d374)
Configuration menu - View commit details
-
Copy full SHA for 34abb00 - Browse repository at this point
Copy the full SHA 34abb00View commit details
Commits on Jun 1, 2016
-
Fix documentation on former b2bl_key_avp module param
(cherry picked from commit ca21c6d)
Configuration menu - View commit details
-
Copy full SHA for 72f1711 - Browse repository at this point
Copy the full SHA 72f1711View commit details
Commits on Jun 3, 2016
-
Proper handle the case of no usrloc domain registered.
Prevent get_next_udomain() crashing if there are no usrloc domains registered (reported by Qasim Akhan on users mailing list. Do not enable the pinging support in nathelper if usrloc has no registered domains. (cherry picked from commit 8f0c677)
Configuration menu - View commit details
-
Copy full SHA for f2ab0da - Browse repository at this point
Copy the full SHA f2ab0daView commit details -
Fix error handling in DB writes.
If inserting/updating a dlg record in DB fails, do not exit with error, but continue with the rest of the dialogs. Credits for finding and reporting this go to Rik Broers @ Motto (cherry picked from commit 0ca6cf0)
Configuration menu - View commit details
-
Copy full SHA for 48c178b - Browse repository at this point
Copy the full SHA 48c178bView commit details -
Removed unused "error" jump label
(cherry picked from commit 5819b0f)
Configuration menu - View commit details
-
Copy full SHA for a5b1249 - Browse repository at this point
Copy the full SHA a5b1249View commit details -
Removed wrong "NOT NULL" constraint over the contact DB fields
The code actually handles the case of NULL callee / caller contacts, so DB must allow NULL values.
Configuration menu - View commit details
-
Copy full SHA for 485bfad - Browse repository at this point
Copy the full SHA 485bfadView commit details
Commits on Jun 7, 2016
-
implicit declaration of function â"sched_yield" [-Wimplicit-function-declaration] (cherry picked from commit 8ef8d79)
Configuration menu - View commit details
-
Copy full SHA for 10bff83 - Browse repository at this point
Copy the full SHA 10bff83View commit details
Commits on Jun 8, 2016
-
Fix evaluating the SIP port from a SIP URI.
Use the new function get_uri_port() to evaluate the port and proto, in a SIP wise manner, form a SIP URI. If port/proto are not explicitly set in the URI, consider the default port for the used transpor proto. If protocol misses, we assume the default protos according to the URI schema. NOTE: it is completly bogus (and dangerous) to assue 5061 if SIPS schema is used as: 1) SIPS can use used with WSS, which actually has 443 port 2) TLS can pe required via transport param in a SIP schema URI too (cherry picked from commit 4c54bcd)
Configuration menu - View commit details
-
Copy full SHA for 2ca9e1d - Browse repository at this point
Copy the full SHA 2ca9e1dView commit details
Commits on Jun 9, 2016
-
Fixed forcing FAST LOCKS for arm6.
Use FAST locking support for arm6 too. For Linux, use POSIX as default locking support. (cherry picked from commit 058e16f)
Configuration menu - View commit details
-
Copy full SHA for 58b2d8b - Browse repository at this point
Copy the full SHA 58b2d8bView commit details
Commits on Jun 16, 2016
-
Fix potential 100 Trying duplicates.
Added the "auto_100trying" module parameter to allow the script writter to take control (from script level) over when the 100 Trying reply is to be sent back. By default, the reply is automatically generated when the INVITE transaction is created. Fixes #833 (cherry picked from commit b023c93) (cherry picked from commit 71b5274)
Configuration menu - View commit details
-
Copy full SHA for 248c836 - Browse repository at this point
Copy the full SHA 248c836View commit details -
Fix memory corruption on $stat() vars
The $stat() var specs are kept in pkg, while the name (if stat not found) is kept in memeory. This means all the copies (form all procs) of the specs will point to a single shm block. It is not safet to free this block as you have no idea how many copies of the spec (from other processes) still refer the name. Closes #902 (cherry picked from commit 4baead7)
Configuration menu - View commit details
-
Copy full SHA for 5b76510 - Browse repository at this point
Copy the full SHA 5b76510View commit details -
Fixed failure to enable NAT pinging.
Commit 8f0c677 introduces a bug in testing is usrloc domains are available, and if not, to disable the NAT pinging in nathelper. The test is wrong as it is done in mod_init, while registrar module registerd the usrloc domain via fixup function, after the mod_init section. Reported by Nick Altmann (cherry picked from commit f150fb7)
Configuration menu - View commit details
-
Copy full SHA for 8ea0ab1 - Browse repository at this point
Copy the full SHA 8ea0ab1View commit details -
Add support for SIP URIs without user part in 'avpops' module.
This module provides a set of avp_db_xxx functions which take pseudo var and flag as first argument. Flag can be one of username, domain, uri or uuid. Previosly avp_db_xxx functions used to return an error if flag has been set to username, domain or uri and specifed pseudo var did not contain username and host after parsing as SIP URI. This behaviour seems to be strange because if flag is being set to domain/username and sip URI contains domain/username we can still load/store/delete this variable. (cherry picked from commit 459f2e9)
Configuration menu - View commit details
-
Copy full SHA for 5c25300 - Browse repository at this point
Copy the full SHA 5c25300View commit details
Commits on Jun 17, 2016
-
When building I/O vector for command to rtpproxy in "force_rtp_proxy_body", after an IPv6 address is detected and the "6" option is added, increase the length component in the I/O vector so it is passed correctly. (cherry picked from commit 4e73871)
Configuration menu - View commit details
-
Copy full SHA for 5708cf5 - Browse repository at this point
Copy the full SHA 5708cf5View commit details -
When moving stored parameters from Branch AVP to Dialog variable, make sure that the integer value "setid" is handled correctly so that it remains valid for the remainder of the dialog. (cherry picked from commit e267e9e)
Configuration menu - View commit details
-
Copy full SHA for 2edafc6 - Browse repository at this point
Copy the full SHA 2edafc6View commit details -
rtpproxy: no need to update the len for IPv6
(cherry picked from commit 5cfd916)
Configuration menu - View commit details
-
Copy full SHA for 01cf24e - Browse repository at this point
Copy the full SHA 01cf24eView commit details -
Fix proper testing of context content
If a STR is register to the context, a valid STR * will be always returned , so we need to test the content, not the pointer. (cherry picked from commit 968a8a8)
Configuration menu - View commit details
-
Copy full SHA for 853998c - Browse repository at this point
Copy the full SHA 853998cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d00f1f3 - Browse repository at this point
Copy the full SHA d00f1f3View commit details
Commits on Jun 23, 2016
-
init: use the specified CFGFILE in debian init
In case the CFGFILE changes in the init script, opensips will still start with the compiled file instead of the one configured (cherry picked from commit 030efef)
Configuration menu - View commit details
-
Copy full SHA for d4c45ab - Browse repository at this point
Copy the full SHA d4c45abView commit details
Commits on Jun 24, 2016
-
proto: always populate default values for protocols name and port
This allows you to print the protocol you received, and its associated port (cherry picked from commit 0ae5ba2)
Configuration menu - View commit details
-
Copy full SHA for daf692a - Browse repository at this point
Copy the full SHA daf692aView commit details -
Allow proto modules to populate its name
(cherry picked from commit 00d052c)
Configuration menu - View commit details
-
Copy full SHA for 6e0e811 - Browse repository at this point
Copy the full SHA 6e0e811View commit details -
Fix script varibles for providing port and proto (as part of SIP URI).
If the SIP URI does not have an explicit port or proto, determine the default port/proto in a SIP wise manner (rather than returning 5060 / UDP) (Ex: sip:example.com;transport=tls has default port 5061 and not 5060 ; or sips:example.com has default proto TLS and not UDP). Affected variables are $dp, $rp, $op and $dP, $rP, $oP (cherry picked from commit 6cc850e)
Configuration menu - View commit details
-
Copy full SHA for 81da723 - Browse repository at this point
Copy the full SHA 81da723View commit details
Commits on Jun 25, 2016
-
Using gcc 4.8.4, we would get: net/trans.c:43:2: warning: missing initializer for field ‘name’ of ‘struct proto_info’ [-Wmissing-field-initializers] { }, /* PROTO_NONE */ ^ (cherry picked from commit 376579f)
Configuration menu - View commit details
-
Copy full SHA for 055730a - Browse repository at this point
Copy the full SHA 055730aView commit details
Commits on Jun 27, 2016
-
Fix dialplan module when using db_text backend.
The db_text makes no difference between NULL or "empty string" values in DB -> both are internally translated as NULL . The dialplan module, in a very abusive way, forces "not null" (in DB schema and in the code for data validation) even for columns that are optional (like subst_exp, repl_exp, timerec and attrs). Besides being bogus (if a column is not to be used, you have to set it to empty string rather than let it NULL), it makes impossible the usage of db_text with dialplan. This fix allows (DB and code) the mentioned DB columns to be also NULL. The change is backward compatible, it should not break any existing usage of the dialplan module. (cherry picked from commit 8f54897)
Configuration menu - View commit details
-
Copy full SHA for 618ff92 - Browse repository at this point
Copy the full SHA 618ff92View commit details -
[siptrace][bugfix] fix bad macro in siptrace(trace local ip logic)
This commit closes #916 Thanks to @Tinet-AaronAn for reporting the issue (cherry picked from commit 2a4f686d4997b814eeaa425dc23fe822cb8ef91a)
ionutrazvanionita committedJun 27, 2016 Configuration menu - View commit details
-
Copy full SHA for e56b290 - Browse repository at this point
Copy the full SHA e56b290View commit details
Commits on Jul 4, 2016
-
permissions: fix get_source_group() return
In case a group is not found, return -1 instead of true
Configuration menu - View commit details
-
Copy full SHA for e7f8d1b - Browse repository at this point
Copy the full SHA e7f8d1bView commit details -
acc: Fix incorrect Request-URI handling
If the config script does not include any Request-URI altering logic (e.g. no lookup() or $ru manipulation), the acc module would incorrectly fill in a "msg->new_uri" field which should NOT be freed into the SIP request structure, leading to the memory pool being corrupted upon transaction release. Credits to Guillaume Lacroix for reporting (cherry picked from commit 02cb9f0)
Configuration menu - View commit details
-
Copy full SHA for 63e25f5 - Browse repository at this point
Copy the full SHA 63e25f5View commit details
Commits on Jul 5, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d3e9b6a - Browse repository at this point
Copy the full SHA d3e9b6aView commit details
Commits on Jul 7, 2016
-
Fix error message when a route is not defined.
Print the name of the route too - the ID is irrelevant for the script writter. (cherry picked from commit 4094818)
Configuration menu - View commit details
-
Copy full SHA for 186c4c2 - Browse repository at this point
Copy the full SHA 186c4c2View commit details
Commits on Jul 8, 2016
-
dialog: advance to next cell in case of error
(cherry picked from commit 70db2cf)
Configuration menu - View commit details
-
Copy full SHA for a48af8e - Browse repository at this point
Copy the full SHA a48af8eView commit details
Commits on Jul 11, 2016
-
[acc][bugfix] check if database loaded before using its handler
(cherry picked from commit 8dd10d85b408947576223e75a67228ed7c7abd91)
ionutrazvanionita committedJul 11, 2016 Configuration menu - View commit details
-
Copy full SHA for 61e0ca2 - Browse repository at this point
Copy the full SHA 61e0ca2View commit details -
When creating the blacklists, use the port and protocol of the destination too, otherwise the rules may conflict or be too wide to be used (like 2 destinations with same IP but different ports). (cherry picked from commit 0495faa)
Configuration menu - View commit details
-
Copy full SHA for f5a251a - Browse repository at this point
Copy the full SHA f5a251aView commit details -
When creating the blacklists, use the port and protocol of the destination too, otherwise the rules may conflict or be too wide to be used (like 2 destinations with same IP but different ports). (cherry picked from commit 97f309c)
Configuration menu - View commit details
-
Copy full SHA for a51b18a - Browse repository at this point
Copy the full SHA a51b18aView commit details -
When creating the blacklists, use the port and protocol of the destination too, otherwise the rules may conflict or be too wide to be used (like 2 destinations with same IP but different ports). (cherry picked from commit 7fa9cee)
Configuration menu - View commit details
-
Copy full SHA for 6030e5f - Browse repository at this point
Copy the full SHA 6030e5fView commit details
Commits on Jul 15, 2016
-
Fix advertised port and address per branch.
Before the advertised_port/address are preserved only in the UAS part of the transaction - that means it is only one value and it is from the setting done in Request Route; whatever later setting done in Failure Route or Branch Route are not preserved at transaction level (even if they are used on the spot, for sending out the INVITE). So, when we have to build a local request (ACK or CANCEL), we do not remember which specific address/port were advertised for that particular UAC (branch). Fixes #917. (cherry picked from commit eb850a2)
Configuration menu - View commit details
-
Copy full SHA for 49adcf5 - Browse repository at this point
Copy the full SHA 49adcf5View commit details -
Fix building Via Branch in stateless mode
Instead of copying the branch value from a previous statefull Via header (which may lead to overflow as OpenSIPS has a maximum value for the built branch), we generate a new branch value based on the previous Via branch - in this way, we have full controll over the length of the resulting Branch and we also inherit the uniqueness of the branch value (from the prev Via hdr). Reported by Gupta, Rahul and Elliott, Ray (cherry picked from commit 482e643)
Configuration menu - View commit details
-
Copy full SHA for e0b237b - Browse repository at this point
Copy the full SHA e0b237bView commit details -
rest_client: Fix incorrect trim operation
(cherry picked from commit d8bf10d)
Configuration menu - View commit details
-
Copy full SHA for a8c997d - Browse repository at this point
Copy the full SHA a8c997dView commit details
Commits on Jul 18, 2016
-
permissions: allow any supported protocol
Before this commit, the protocol check was hardcoded in the module. This commit allows to add in the permissions table any transport protocol supported. Thanks go to Kirill Galinurov for reporting this! (cherry picked from commit 0eecff9)
Configuration menu - View commit details
-
Copy full SHA for 9c5fe8d - Browse repository at this point
Copy the full SHA 9c5fe8dView commit details
Commits on Jul 20, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 171a78c - Browse repository at this point
Copy the full SHA 171a78cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 121e8bf - Browse repository at this point
Copy the full SHA 121e8bfView commit details
Commits on Jul 22, 2016
-
Fix db_url setting - do not make it mandatory if no db is used
(cherry picked from commit 17beb2d)
Configuration menu - View commit details
-
Copy full SHA for 00e8109 - Browse repository at this point
Copy the full SHA 00e8109View commit details -
Fixed memory leak on modules/drouting/drouting.c
This leak occures in function get_group_id() when do_routing is called without parameters in opensips.cfg. In this case the dr_default_grp variable is not equal -1 and 'return dr_default_grp' is executed without freeing the res variable previously allocated for query execution. (cherry picked from commit 6573994)
Configuration menu - View commit details
-
Copy full SHA for a6c67bb - Browse repository at this point
Copy the full SHA a6c67bbView commit details -
"res" cannot be null at that point (cherry picked from commit 0b60681)
Configuration menu - View commit details
-
Copy full SHA for 0e1fcf9 - Browse repository at this point
Copy the full SHA 0e1fcf9View commit details