<div dir="ltr">There was a wrong configuration of the  <span style="font-size:12.8px">&quot;dialog.so&quot; module.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I will try to parse the output in order to obtain the current calls.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"> Thanks for the help.</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 1:20 PM, Carlos Eduardo <span dir="ltr">&lt;<a href="mailto:kaduww@gmail.com" target="_blank">kaduww@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Cesar,<div><br></div><div>Are you using the dialog module in your script?</div><div><br></div><div>This MI command will only return a valid value if the dialog module is loaded (loadmodule &quot;dialog.so&quot;) and if the dialogs are criated durign the script processing (create_dialog() command). </div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2016-07-27 16:12 GMT-03:00 Daniel Zanutti <span dir="ltr">&lt;<a href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On my sample, you should run:<div><br></div><div>opensipsctl fifo profile_get_size inbound<br></div><div><br></div><div><br></div><div>Using dlg_list you should get something like this:</div><div><div># opensipsctl fifo dlg_list</div><div>dialog::  hash=84:1411689852</div><div>        state:: 4</div><div>        user_flags:: 0</div><div>        timestart:: 1469646635</div><div>        datestart:: 2016-07-27 16:10:35</div><div>        timeout:: 1469653835</div><div>        dateout:: 2016-07-27 18:10:35</div><div>...</div><div>dialog::  hash=289:324429409<br></div><div>        state:: 2</div><div>        user_flags:: 0</div><div>        timestart:: 0</div><div>        timeout:: 0</div><div>...</div><div>dialog::  hash=640:1695114669<br></div><div>        state:: 4</div></div><div>...</div><div><br></div><div>Check if modules are successfully loaded.</div><div><br></div><div>Regards</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 3:41 PM, Cesar Alberto Rodriguez Fierro <span dir="ltr">&lt;<a href="mailto:crf@transtelco.net" target="_blank">crf@transtelco.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><font face="arial, helvetica, sans-serif">Thanks for your help. </font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I trying to use <span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,0,0)">FIFO in order to  send requests to OpenSIPS, I have read some documentation about the </span><span style="color:rgb(0,0,0)"> Dialog Module.  I guess using the &quot;</span><font color="#000000">opensipsctl fifo dlg_list&quot; command can be useful to obtain the current calls, but I am not sure why the command is not available in my OpenSIPS version.   When I execute the command ./opensipsctl fifo version, I am getting the following information </font></font></div><div><font color="#000000"><font face="arial, helvetica, sans-serif">Server:: OpenSIPS (1.8.2-notls (x86_64/linux)).</font><br></font></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Jul 27, 2016 at 11:42 AM, Rodrigo Pimenta Carvalho <span dir="ltr">&lt;<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Now, thinking more about it, I would suggest you to put a SQL query in your proprietary software to query the OpenSIPS database directly.</p>
<p>The table dialog will be always updated about current calls.<br>
</p><span>
<p><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
</span><div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> &lt;<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>&gt; em nome de Rodrigo Pimenta Carvalho &lt;<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>&gt;<br>
<b>Enviado:</b> quarta-feira, 27 de julho de 2016 14:39<br>
<b>Para:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Get concurrent calls from sip server.</font>
<div> </div>
</div><div><div>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>With FIFO you can send requests to OpenSIPS, for example from a proprietary software. So, if a request wants to execute a query with avpops, I guess FIFO will be useful.</p>
<p><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> &lt;<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>&gt; em nome de Cesar Alberto Rodriguez Fierro &lt;<a href="mailto:crf@transtelco.net" target="_blank">crf@transtelco.net</a>&gt;<br>
<b>Enviado:</b> quarta-feira, 27 de julho de 2016 14:29<br>
<b>Para:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
<b>Assunto:</b> [OpenSIPS-Users] Get concurrent calls from sip server.</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi !
<div><br>
</div>
<div>I am currently working in a project related with display in real time the active calls of our VoIP traffic, I would like to get the active sip-calls from a Kamailio Sip Server (running opensips), is there any way to obtain this information.</div>
<div><br>
</div>
<div>Best Regards. 
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><font size="1"><img alt="Inline image 1" height="14" width="120" src="cid:ii_15585019a314a914"><span style="font-family:verdana;color:rgb(0,0,0)"> </span><span style="font-family:verdana;color:rgb(102,102,102)">|Cesar
 Rodriguez | <span style="white-space:pre-wrap">VoiceOPS </span> | MX: <a href="tel:%2B52%20656-257-4112" value="+526562574112" target="_blank">+52 656-257-4112</a> | </span></font>
<div style="margin:2px 0px 0px;font-size:12.8px">
<div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div>
</div>
<div style="font-size:12.8px"><span><br>
<div><span style="font-family:verdana;color:rgb(102,102,102)">
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(153,153,153);font-family:verdana,sans-serif;font-size:10.6667px">CONFIDENTIALITY NOTICE:  This communication is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged,
 confidential, and exempt from disclosure under applicable law.  If you are not the intended recipient of this information, you are notified that any use, dissemination, distribution, or copying of the communication is strictly prohibited.</span></div>
</span></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br></div></div><span>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></span></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="font-size:small"><b>Carlos E. Wagner</b></div><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px"><font style="font-size:x-small;color:rgb(0,0,0)"><i>Tecnólogo em Telecomunicações, OCP, dCAA</i></font><br><font size="1"><i></i></font><b style="font-family:arial;font-size:small"><font color="#000000" face="arial, sans-serif"><br></font></b></font></div><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font color="#000000" face="arial, sans-serif">Gnotel Telecom</font></b></font></div><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px"><b style="font-family:arial;font-size:small"><font face="arial, sans-serif">E-mail:</font></b><font face="arial, sans-serif" style="font-size:small"> <u><a href="mailto:kaduww@gmail.com" target="_blank">kaduww@gmail.com</a></u></font></font></div><div style="font-size:small;font-family:arial"><font style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif" style="font-size:small">            <u><a href="mailto:carlos@gnotel.com.br" target="_blank">carlos@gnotel.com.br</a></u></font></font></div><div style="font-size:small;font-family:arial"><font color="#000000" style="font-family:arial,sans-serif;font-size:13px"><b>Fone:</b></font><font face="arial, sans-serif"> <a href="tel:%2B55%2048%209981-0894" value="+554899810894" target="_blank">+55 48 9981-0894</a></font><br><font color="#000000" style="font-family:arial,sans-serif;font-size:13px"><b>Skype:</b></font><font face="arial, sans-serif"> </font><font face="arial, sans-serif">carlos.e.wagner</font></div><div style="font-size:small;font-family:arial"><font face="arial, sans-serif"><a href="http://www.gnotel.com.br" target="_blank">www.gnotel.com.br</a></font></div><div style="font-size:small;font-family:arial"><font face="arial, sans-serif"><a href="http://www.blogdovoip.com" target="_blank">www.blogdovoip.com</a></font></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>