Hello, <br><br>i&#39;m Neven, a freshman at OpenSIPS. I&#39;m using OpenSIPS 1.6.3 /w Control Panel 4.0.<br>Now I have question about generating CDRs and Dialogs.<br>MI connector is setup correctly, smonitor is working properly also.<br>
<br>I have two extensions 41001 and 41002, which use authentication, and they can communicate normally.<br><br>Now I have two problems:<br><br>1. When I have call in progress i should see that dialog by issuing &quot;dlg_list&quot; command, correct me if I&#39;m wrong. But when I use &quot;dlg_list&quot; command (command is issued inside CP, under MI frontend) I get something like &quot;Executed successfully, output not generated&quot;. In database OPENSIPS I also don&#39;t see dialog data in table, neither in CP -&gt; System -&gt; Dialog<br>
Part of opensips.cfg for dialog (some parts are omitted)<br><br>loadmodule &quot;rr.so&quot;<br>loadmodule &quot;tm.so&quot;<br>loadmodule &quot;dialog.so&quot;<br><br>modparam(&quot;dialog&quot;, &quot;enable_stats&quot;, 1)<br>
modparam(&quot;dialog&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)<br>modparam(&quot;dialog&quot;, &quot;db_mode&quot;, 1)<br>modparam(&quot;dialog&quot;, &quot;db_update_period&quot;, 90)<br>
modparam(&quot;dialog&quot;, &quot;table_name&quot;, &quot;dialog&quot;)<br><br>This is my first problem... :(<br><br>2. My second problem is with CDRS... I can get any CDRS generated, i&#39;ve even try manually run generate-cdrs_mysql.sh during call, I tried directly in database to call stored procedure, I tried to run script using cron, but with no success. I&#39;ve tried to set permissions to 777. <br>
This was the first thing i&#39;ve done: <br><br>mysql –D opensips -p &lt; cdrs.sql<br>mysql –u root –p<br>mysql&gt; use opensips<br>mysql –D opensips -p &lt; opensips_cdrs_1_6.mysql<br><br> I put correct database credentials and data in generate-cdrs_mysql.sh.<br>
<br>But i don&#39;t know what problem is....<br><br>I assume my connection to database is working because &quot;location&quot; table is filling when new peer registers to server.<br><br>3. And i have question (you haven&#39;t seen that coming :) ) which is best method for accounting RADIUS or generating cdrs via generate-cdrs_mysql.sh script.<br>
<br><br>Please help me :)<br>P.S. Sorry if some of questions were stupid, but i need somewhere to start. And it seems I stuck at very beginning, and i&#39;m long way from NAT traversal, drouting and other complex things.<br>