<div dir="ltr">Please find attached updated patch as requested.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 8:49 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the patch. Can you resend it without commented code? Just remove the lines that are no longer used, to have clean code.<br>


<br>
Cheers,<br>
Daniel<div class="HOEnZb"><div class="h5"><br>
<br>
On 28/03/14 01:29, Muhammad Shahzad wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
After wasting most of the day trying to make mi_datagram over UDP socket work. I eventually realize that it does asymmetric UDP communication, which creates a lot of trouble for writing a useful MI script using PERL or Python etc.<br>


<br>
Anyhow, i go through the module code and was able to write a patch for symmetric UDP communication using mi_datagram.<br>
<br>
I have tested the patch using both Kamailio 4.1 and trunk branches and it seems to compile and run flawlessly.<br>
<br>
I am attaching here with this patch for Kamailio community. It would be great if Kamailio developers would review and commit this patch to source trunk.<br>
<br>
Thank you.<br>
<br>
<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany<br>
<a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a><br>
<br>
</font></span></blockquote></div><br></div>