[OpenSIPS-Users] How to use Exported MI Functions in external applications, via mi_fifo? Syntax question.
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Tue Sep 15 16:12:56 CEST 2015
Dear OpenSIPS-Users.
I have just completed a study about the utility of and how to use mi_fifo and dialog.
Now I know what I will have to do to terminate dialog by means of an external application or script. And i know how to invoke the external application from OpenSIPS.
However, I didn´t found good examples on how to use MI dlg_list and MI dlg_end_dlg commands, via mi_fifo.
That is, how exactly use such commands in an application source code? How exactly use such commands, for example in C or C++, or QT, or Python, etc?
In the OpenSIPS documentation we have, for example:
:dlg_list:_reply_fifo_file_
_empty_line_
But, how to use it in programming language?
Have I just to write the commands into the FIFO file as it is? If so, maybe I have understood how to use it.
Any hint will be very helpful!
Best regards.
P.S.:
The topics I have studied are:
http://www.opensips.org/Documentation/Interface-MI-2-2 (this page has an example on how to use xmlrpc in a programming language.)
http://www.opensips.org/Documentation/Modules-2-2
http://www.opensips.org/Documentation/Interface-CoreMI-2-2
http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#id296877
http://www.opensips.org/html/docs/modules/2.2.x/mi_fifo.html
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150915/6c9fa0f7/attachment.htm>
More information about the Users
mailing list