Hi All,

I am trying to send a mi command over the mi_datagram udp socket. I dont
seem to be getting a response back from the server. I am certain that it
is something I am doing wrong.

I have mi_datagram loaded and listening on udp:1.1.1.1:8080.

I then try to send the following dispatcher mi command over to the mi_dg
interface:

echo -ne ":ds_list:\n\n" | nc -w 1 -u 1.1.1.1 8080

I dont see any error in the log file, so it appears that the mi_datagram
is processing the request, but I am not getting any response back.

The ds_list command works properly if I run it using "kamctl fifo
ds_list", or if I go via "sercmd mi_dg ds_list" that works too.

Would anyone have an example bash/ksh/perl snippet that would help me on
my way to communicating with this mi interface.

Any thoughts comments would be greatly appreciated.

Thanks

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to