<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/fabriziopicconi/opensips patch-14</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/201'>https://github.com/OpenSIPS/opensips/pull/201</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>f_malloc: undo fragment count change from commit 56b325be0a</li>
  <li>Fixed DH and EC compiling on openssl &lt; 1.0.1 - credits go to Nick Altmann for reporting and testing the fix</li>
  <li>hp malloc: rename functions, update headers, add some comments</li>
  <li>hp malloc: increase built-in PKG mem size to match the larger hash</li>
  <li>hp malloc: expose memory warming parameters in the script</li>
  <li>tm: fix fr_inv_timeout bug from commit d244686dc5f</li>
  <li>Update rpm specs for 1.11</li>
  <li>New modules included</li>
  <li>Update centos spec file: fixed b2b submodule and removed some odd files from main module</li>
  <li>sipmsgops: Fix trailing whitespaces when doing &quot;codec_delete_re&quot;</li>
  <li>Update CentOS and RHEL/Fedora specs: fixed b2b submodule, added additional dependencies</li>
  <li>mi: declare/move MI_DATE_BUF_LEN into the mi headers</li>
  <li>httpd: fix compiler warning</li>
  <li>presence: subs_phtable_list - print expires attr in human readable format</li>
  <li>hp malloc: fix the hash size macros</li>
  <li>hp malloc: reduce the built-in maximum split factor</li>
  <li>core: list_tcp_conns: print Timeout attr in human readable format</li>
  <li>core: list_tcp_conns: compute properly the tmeout attr</li>
  <li>pi_http: update pi_framework_mod.xsl to generate new pi_http samples</li>
  <li>pi_http: samples regenerated</li>
  <li>pi_http: fix html output</li>
  <li>pi_http: fix HTTP escaping</li>
  <li>Fixed detection of the module functions used in script - we need to look also into the logical expressions (like IF and WHILE conditions)</li>
  <li>presence_dialoginfo: Fix bounds checking by using a helper function.</li>
  <li>dispatcher init: initialize the old_data pointer</li>
  <li>hp malloc: fix shm statistics</li>
  <li>hp malloc: reorder some initializing operations</li>
  <li>call_center: fix some db schema errors</li>
  <li>Fix recalculation of sending socket after local route</li>
  <li>hp malloc statistics: fix incorrect stats when configuring split buckets</li>
  <li>core statistics: export a initialization checking function</li>
  <li>hp malloc: differentiate the pkg and shm statistics code</li>
  <li>fixed acc to raise the proper event when using acc_evi_request()</li>
  <li>mi_xmlrpc: fix crash when flushing complex MI trees as strings</li>
  <li>opensipsctl: change trapping logging method</li>
  <li>hp malloc: do not write the pattern file when &quot;mem_warming&quot; = 0</li>
  <li>hp malloc: fix pkg max_real_used computation in hp_info()</li>
  <li>hp malloc: properly release the hash lock on redundant shm_reallocs</li>
  <li>fix engage fixup function when called without any parameters</li>
  <li>exec doc: update the OpenSIPS routes for each function</li>
  <li>parser: increase the number of accepted URI unknown params from 5 -&gt; 10</li>
  <li>rtpproxy: fix rtpproxy_engage() pvar expansion</li>
  <li>msilo dbschema: avoid setting a default value for the body field</li>
  <li>thrift 0.9</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-0">cfg.lex</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-1">cfg.y</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-2">config.h</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-3">db/schema/cc_agents.xml</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-4">db/schema/cc_cdrs.xml</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-5">db/schema/cc_flows.xml</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-6">db/schema/silo.xml</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-7">doc/dbschema/xsl/pi_framework_mod.xsl</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-8">main.c</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-9">mem/f_malloc.c</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-10">mem/hp_malloc.c</a>
    (1190)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-11">mem/hp_malloc.h</a>
    (235)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-12">mem/hp_malloc_stats.c</a>
    (228)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-13">mem/hp_malloc_stats.h</a>
    (119)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-14">mem/mem.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-15">mem/mem.h</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-16">mem/shm_mem.c</a>
    (97)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-17">mem/shm_mem.h</a>
    (126)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-18">mi/tree.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-19">modules/acc/acc.c</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-20">modules/acc/acc.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-21">modules/acc/acc_logic.c</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-22">modules/acc/acc_logic.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-23">modules/cachedb_cassandra/Makefile</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-24">modules/dialog/dlg_hash.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-25">modules/dispatcher/dispatch.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-26">modules/exec/README</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-27">modules/exec/doc/exec_admin.xml</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-28">modules/httpd/httpd_proc.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-29">modules/mi_xmlrpc/xr_server.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-30">modules/mi_xmlrpc/xr_writer.c</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-31">modules/mi_xmlrpc/xr_writer.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-32">modules/pi_http/http_fnc.c</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-33">modules/presence/presence.c</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-34">modules/presence_dialoginfo/notify_body.c</a>
    (75)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-35">modules/rtpproxy/rtpproxy.c</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-36">modules/sipmsgops/codecs.c</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-37">modules/tm/t_funcs.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-38">modules/tm/t_funcs.h</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-39">modules/tm/t_reply.c</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-40">modules/tm/tm.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-41">modules/tm/uac.c</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-42">packaging/fedora/opensips.spec</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-43">packaging/rpm/opensips.spec.CentOS</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-44">parser/msg_parser.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-45">route_struct.c</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-46">scripts/db_berkeley/opensips/cc_agents</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-47">scripts/db_berkeley/opensips/cc_cdrs</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-48">scripts/db_berkeley/opensips/cc_flows</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-49">scripts/db_berkeley/opensips/silo</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-50">scripts/dbtext/opensips/cc_cdrs</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-51">scripts/mysql/call_center-create.sql</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-52">scripts/mysql/msilo-create.sql</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-53">scripts/opensipsctl</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-54">scripts/oracle/call_center-create.sql</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-55">scripts/oracle/msilo-create.sql</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-56">scripts/pi_http/acc-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-57">scripts/pi_http/alias_db-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-58">scripts/pi_http/auth_db-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-59">scripts/pi_http/avpops-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-60">scripts/pi_http/b2b-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-61">scripts/pi_http/b2b_sca-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-62">scripts/pi_http/call_center-mod</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-63">scripts/pi_http/call_center-table</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-64">scripts/pi_http/carrierroute-mod</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-65">scripts/pi_http/closeddial-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-66">scripts/pi_http/cpl-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-67">scripts/pi_http/dialog-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-68">scripts/pi_http/dialplan-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-69">scripts/pi_http/dispatcher-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-70">scripts/pi_http/domain-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-71">scripts/pi_http/domainpolicy-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-72">scripts/pi_http/drouting-mod</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-73">scripts/pi_http/group-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-74">scripts/pi_http/imc-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-75">scripts/pi_http/load_balancer-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-76">scripts/pi_http/msilo-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-77">scripts/pi_http/pdt-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-78">scripts/pi_http/permissions-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-79">scripts/pi_http/pi_framework-01</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-80">scripts/pi_http/pi_framework.xml</a>
    (260)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-81">scripts/pi_http/presence-mod</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-82">scripts/pi_http/registrant-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-83">scripts/pi_http/registrar-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-84">scripts/pi_http/rls-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-85">scripts/pi_http/rtpproxy-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-86">scripts/pi_http/siptrace-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-87">scripts/pi_http/speeddial-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-88">scripts/pi_http/uri_db-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-89">scripts/pi_http/userblacklist-mod</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-90">scripts/pi_http/usrloc-mod</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-91">scripts/postgres/call_center-create.sql</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-92">scripts/postgres/msilo-create.sql</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-93">statistics.c</a>
    (33)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-94">statistics.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-95">tcp_main.c</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/201/files#diff-96">tls/tls_init.c</a>
    (54)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/201.patch'>https://github.com/OpenSIPS/opensips/pull/201.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/201.diff'>https://github.com/OpenSIPS/opensips/pull/201.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/pull/201'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMjkzMzk5NSwiZGF0YSI6eyJpZCI6Mjk4Njg0MzB9fQ==--2d5d06547d58ab3593e54294cfa8ac00e2d23ec2.gif' height='1' width='1'></p>