[sr-dev] Patch to support symmetric UDP socket in mi_datagram

Muhammad Shahzad shaheryarkh at gmail.com
Fri Mar 28 21:49:58 CET 2014


Please find attached updated patch as requested.


On Fri, Mar 28, 2014 at 8:49 PM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

> Thanks for the patch. Can you resend it without commented code? Just
> remove the lines that are no longer used, to have clean code.
>
> Cheers,
> Daniel
>
>
> On 28/03/14 01:29, Muhammad Shahzad wrote:
>
>> Hi,
>>
>> 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.
>>
>> Anyhow, i go through the module code and was able to write a patch for
>> symmetric UDP communication using mi_datagram.
>>
>> I have tested the patch using both Kamailio 4.1 and trunk branches and it
>> seems to compile and run flawlessly.
>>
>> 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.
>>
>> Thank you.
>>
>>
>>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference - April 2-4, 2014, Berlin, Germany
> http://www.kamailioworld.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140328/a2e121ba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mi_datagram.patch
Type: text/x-patch
Size: 3722 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140328/a2e121ba/attachment.bin>


More information about the sr-dev mailing list