<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Thanks for this info.&nbsp;</div><div><br></div><div>Netcat is a really underappreciated tool. I can't count how many times I've unnecessarily written utilities to send stuff on UDP sockets, forgetting that nc can do it.&nbsp;</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div style="font-size:75%;color:#575757">-- Alex<br><br>--<br>Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. <br><br>Alex Balashov - Principal<br>Evariste Systems LLC<br>235 E Ponce de Leon Ave<br>Suite 106<br>Decatur, GA 30030<br>Tel: +1-678-954-0670<br>Web: http://www.evaristesys.com/</div></div> <br>Peter Lemenkov &lt;lemenkov@gmail.com&gt; wrote:<br>2012/9/13 Alex Balashov &lt;abalashov@evaristesys.com&gt;:<br>&gt; Really? Interesting, I had no idea. I thought the rtpproxy control protocol<br>&gt; was binary and did not lend itself easily to interaction in this manner.<br><br>Yep, this command protocol allows us to do tricks like this which is<br>quite helpful for debugging. Unfortunately this particular command (<br>'I' and its counterpart 'Ib' ) seems to be broken - it doesn't prepend<br>received random cookie at the beginning of the answer.<br><br>Just FYI - I collected some examples of control commands here (just<br>grep for ser_proto:decode):<br><br>* https://raw.github.com/lemenkov/erlrtpproxy/master/test/ser_proto_test.erl<br><br>and here (which could be even more interesting since it contains an<br>example of a real session - create session, lookup, destroy, get<br>stats, etc):<br><br>* https://raw.github.com/lemenkov/erlrtpproxy/master/test/ser_test.erl<br><br>&gt; Thanks for the tip.<br><br>Anytime :)<br><br>-- <br>With best regards, Peter Lemenkov.<br></body>