Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
There was a wrong configuration of the  "dialog.so" module.

I will try to parse the output in order to obtain the current calls.

 Thanks for the help.

On Wed, Jul 27, 2016 at 1:20 PM, Carlos Eduardo <kad...@gmail.com> wrote:

> Cesar,
>
> Are you using the dialog module in your script?
>
> This MI command will only return a valid value if the dialog module is
> loaded (loadmodule "dialog.so") and if the dialogs are criated durign the
> script processing (create_dialog() command).
>
> 2016-07-27 16:12 GMT-03:00 Daniel Zanutti <daniel.zanu...@gmail.com>:
>
>> On my sample, you should run:
>>
>> opensipsctl fifo profile_get_size inbound
>>
>>
>> Using dlg_list you should get something like this:
>> # opensipsctl fifo dlg_list
>> dialog::  hash=84:1411689852
>> state:: 4
>> user_flags:: 0
>> timestart:: 1469646635
>> datestart:: 2016-07-27 16:10:35
>> timeout:: 1469653835
>> dateout:: 2016-07-27 18:10:35
>> ...
>> dialog::  hash=289:324429409
>> state:: 2
>> user_flags:: 0
>> timestart:: 0
>> timeout:: 0
>> ...
>> dialog::  hash=640:1695114669
>> state:: 4
>> ...
>>
>> Check if modules are successfully loaded.
>>
>> Regards
>>
>> On Wed, Jul 27, 2016 at 3:41 PM, Cesar Alberto Rodriguez Fierro <
>> c...@transtelco.net> wrote:
>>
>>>
>>> Thanks for your help.
>>>
>>> I trying to use  FIFO in order to  send requests to OpenSIPS, I have
>>> read some documentation about the  Dialog Module.  I guess using the 
>>> "opensipsctl
>>> fifo dlg_list" 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
>>> Server:: OpenSIPS (1.8.2-notls (x86_64/linux)).
>>>
>>>
>>>
>>> On Wed, Jul 27, 2016 at 11:42 AM, Rodrigo Pimenta Carvalho <
>>> pime...@inatel.br> wrote:
>>>
>>>> Now, thinking more about it, I would suggest you to put a SQL query in
>>>> your proprietary software to query the OpenSIPS database directly.
>>>>
>>>> The table dialog will be always updated about current calls.
>>>>
>>>>
>>>> Regards.
>>>>
>>>>
>>>> RODRIGO PIMENTA CARVALHO
>>>> Inatel Competence Center
>>>> Software
>>>> Ph: +55 35 3471 9200 RAMAL 979
>>>>
>>>>
>>>> --
>>>> *De:* users-boun...@lists.opensips.org <
>>>> users-boun...@lists.opensips.org> em nome de Rodrigo Pimenta Carvalho <
>>>> pime...@inatel.br>
>>>> *Enviado:* quarta-feira, 27 de julho de 2016 14:39
>>>> *Para:* users@lists.opensips.org
>>>> *Assunto:* Re: [OpenSIPS-Users] Get concurrent calls from sip server.
>>>>
>>>>
>>>> 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.
>>>>
>>>>
>>>> Regards.
>>>>
>>>>
>>>>
>>>> RODRIGO PIMENTA CARVALHO
>>>> Inatel Competence Center
>>>> Software
>>>> Ph: +55 35 3471 9200 RAMAL 979
>>>>
>>>>
>>>> --
>>>> *De:* users-boun...@lists.opensips.org <
>>>> users-boun...@lists.opensips.org> em nome de Cesar Alberto Rodriguez
>>>> Fierro <c...@transtelco.net>
>>>> *Enviado:* quarta-feira, 27 de julho de 2016 14:29
>>>> *Para:* users@lists.opensips.org
>>>> *Assunto:* [OpenSIPS-Users] Get concurrent calls from sip server.
>>>>
>>>> Hi !
>>>>
>>>> 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.
>>>>
>>>> Best Regards.
>>>>
>>>>
>>>>
>>>>
>>>> [image: Inline image 1] |Cesar Rodriguez | VoiceOPS  | MX: +52
>>>> 656-257-4112 |
>>>>

Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
Thanks for your help.

I trying to use  FIFO in order to  send requests to OpenSIPS, I have read
some documentation about the  Dialog Module.  I guess using the "opensipsctl
fifo dlg_list" 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
Server:: OpenSIPS (1.8.2-notls (x86_64/linux)).



On Wed, Jul 27, 2016 at 11:42 AM, Rodrigo Pimenta Carvalho <
pime...@inatel.br> wrote:

> Now, thinking more about it, I would suggest you to put a SQL query in
> your proprietary software to query the OpenSIPS database directly.
>
> The table dialog will be always updated about current calls.
>
>
> Regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> --
> *De:* users-boun...@lists.opensips.org <users-boun...@lists.opensips.org>
> em nome de Rodrigo Pimenta Carvalho <pime...@inatel.br>
> *Enviado:* quarta-feira, 27 de julho de 2016 14:39
> *Para:* users@lists.opensips.org
> *Assunto:* Re: [OpenSIPS-Users] Get concurrent calls from sip server.
>
>
> 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.
>
>
> Regards.
>
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> --
> *De:* users-boun...@lists.opensips.org <users-boun...@lists.opensips.org>
> em nome de Cesar Alberto Rodriguez Fierro <c...@transtelco.net>
> *Enviado:* quarta-feira, 27 de julho de 2016 14:29
> *Para:* users@lists.opensips.org
> *Assunto:* [OpenSIPS-Users] Get concurrent calls from sip server.
>
> Hi !
>
> 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.
>
> Best Regards.
>
>
>
>
> [image: Inline image 1] |Cesar Rodriguez | VoiceOPS  | MX: +52
> 656-257-4112 |
>
> 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.
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Cesar Alberto Rodriguez Fierro
Hi !

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.

Best Regards.




[image: Inline image 1] |Cesar Rodriguez | VoiceOPS  | MX: +52 656-257-4112
 |

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.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users