Dear List,<br><br>I am using xml_cdr to write the records on disk.<br><br>today for first time when there was a call pressure around 60-70 concurrent calls (around 140 session), then FS started to write same CDR record two times with different/unique file name and also different/unique UUIDs etc.. but the called number, start time, end time everything is same. so its surely a duplicated CDR.<br>

<br>-&gt; I am running FS on cent os, on a 6 core machine with 4  GM RAM.<br>-&gt; FS version: FreeSWITCH Version 1.0.head (git-72baaf6 2010-09-21 19-22-28 -0500) (is anything regarding cdr changed in new version? so i can upgrade)<br>

<br>&gt; Please note that system was running fine with few call attempts and i never faced this prob, only in case of 6-70 councurrent calls<br><br>My xml_cr.conf:<br><br><span style="color: rgb(153, 51, 0);">&lt;configuration name=&quot;xml_cdr.conf&quot; description=&quot;XML CDR CURL logger&quot;&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">  &lt;settings&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- the url to post to if blank web posting is disabled  --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;url&quot; value=&quot;<a href="http://localhost/cdr_curl/post.php">http://localhost/cdr_curl/post.php</a>&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);">

<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: credentials to send to web server --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!--    &lt;param name=&quot;cred&quot; value=&quot;user:pass&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);">

<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- the total number of retries (not counting the first &#39;try&#39;) to post to webserver incase of failure --&gt;</span><br style="color: rgb(153, 51, 0);">

<b style="color: rgb(153, 51, 0);">    &lt;param name=&quot;retries&quot; value=&quot;2&quot;/&gt;</b><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- delay between retries in seconds, default is 5 seconds --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;delay&quot; value=&quot;1&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- Log via http and on disk, default is false --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;log-http-and-disk&quot; value=&quot;true&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: if not present we do not log every record to disk --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank value will default to ${prefix}/logs/xml_cdr --&gt;</span><br style="color: rgb(153, 51, 0);">
<b style="color: rgb(153, 51, 0);">    &lt;param name=&quot;log-dir&quot; value=&quot;/opt/fscdr&quot;/&gt;</b><br style="color: rgb(153, 51, 0);">
<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: if not present we do log the b leg --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- true or false if we should create a cdr for the b leg of a call--&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!--param name=&quot;log-b-leg&quot; value=&quot;false&quot;/--&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: if not present, all filenames are the uuid of the call --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- true or false if a leg files are prefixed &quot;a_&quot; --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">  </span><b style="color: rgb(153, 51, 0);">  &lt;param name=&quot;prefix-a-leg&quot; value=&quot;true&quot;/&gt;</b><br style="color: rgb(153, 51, 0);">

<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- encode the post data may be &#39;true&#39; for url encoding, &#39;false&#39; for no encoding or &#39;base64&#39; for base64 encoding --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    </span><b style="color: rgb(153, 51, 0);">&lt;param name=&quot;encode&quot; value=&quot;true&quot;/&gt;</b><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- optional: set to true to disable Expect: 100-continue lighttpd requires this setting --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!--&lt;param name=&quot;disable-100-continue&quot; value=&quot;true&quot;/&gt;--&gt;</span><br style="color: rgb(153, 51, 0);">

<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: full path to the error log dir for failed web posts if not specified its the same as log-dir --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank or omitted value will default to ${prefix}/logs/xml_cdr --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    </span><b style="color: rgb(153, 51, 0);">&lt;param name=&quot;err-log-dir&quot; value=&quot;/opt/error_cdr&quot;/&gt;</b><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- which auhtentification scheme to use. Supported values are: basic, digest, NTLM, GSS-NEGOTIATE or &quot;any&quot; for automatic detection --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!--&lt;param name=&quot;auth-scheme&quot; value=&quot;basic&quot;/&gt;--&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: this will enable the CA root certificate check by libcurl to</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">         verify that the certificate was issued by a major Certificate Authority.</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">         note: default value is disabled. only enable if you want this! --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!--&lt;param name=&quot;enable-cacert-check&quot; value=&quot;true&quot;/&gt;--&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: verify that the server is actually the one listed in the cert --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;enable-ssl-verifyhost&quot; value=&quot;true&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: these options can be used to specify custom SSL certificates</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">         to use for HTTPS communications. Either use both options or neither.</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">         Specify your public key with &#39;ssl-cert-path&#39; and the private key with</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">         &#39;ssl-key-path&#39;. If your private key has a password, specify it with</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">         &#39;ssl-key-password&#39;. --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;ssl-cert-path&quot; value=&quot;$${base_dir}/conf/certs/public_key.pem&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;ssl-key-path&quot; value=&quot;$${base_dir}/conf/certs/private_key.pem&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;ssl-key-password&quot; value=&quot;MyPrivateKeyPassword&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- optional: use a custom CA certificate in PEM format to verify the peer</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">         with. This is useful if you are acting as your own certificate authority.</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">         note: only makes sense if used in combination with &quot;enable-cacert-check.&quot; --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;ssl-cacert-file&quot; value=&quot;$${base_dir}/conf/certs/cacert.pem&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);">

<br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: specify the SSL version to force HTTPS to use. Valid options are</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">         &quot;SSLv3&quot; and &quot;TLSv1&quot;. Otherwise libcurl will auto-negotiate the version. --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;ssl-version&quot; value=&quot;TLSv1&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">    &lt;!-- optional: enables cookies and stores them in the specified file. --&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">    &lt;!-- &lt;param name=&quot;cookie-file&quot; value=&quot;/tmp/cookie-mod_xml_curl.txt&quot;/&gt; --&gt;</span><br style="color: rgb(153, 51, 0);"><span style="color: rgb(153, 51, 0);">  &lt;/settings&gt;</span><br style="color: rgb(153, 51, 0);">

<span style="color: rgb(153, 51, 0);">&lt;/configuration&gt;</span><br><br><br>Many Thanks<br>- Saeed<br>