[OpenSIPS-Users] MI_DATAGRAM AND LCR_RELOAD/LCR_DUMP
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Sep 30 21:37:16 CEST 2009
Hi Airton,
Airton Kuada wrote:
> Hi all.
>
> I am using mi_datagram to send commands to the OpenSIPS.
>
> A buffer containing the following command: "char
> buffer_cmd[]=":get_statistics:\ndialog:\ntm:\n" works correctly,
> however, the buffer containing the command "char
> buffer_cmd[]=":fifo:\nlcr_dump:\n";" does not work, how do I correctly
> send the buffer to the command lcr_reload work properly?
The correct format would be:
"char buffer_cmd[]=":lcr_dump:\n"
Read more on the the syntax on the DATAGRAM commands:
http://www.opensips.org/html/docs/modules/1.5.x/mi_datagram.html#id226128
and the the description of the lcr MI commands:
http://www.opensips.org/html/docs/modules/1.5.x/lcr.html#id271650
Anyhow, I would advices you to start migrating from LCR to DROUTING
module as the LCR will become obsolete in the next OpenSIPS releases.
DROUTING is a more powerful and scalable format of LCR.
Regards,
Bogdan
More information about the Users
mailing list