Thanks for answer. As I understand - this patch only for branch 4.0, but we use 3.3.3 now. I will try to find another solution.
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Tuesday, August 27, 2013 12:08 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] dispatcher, get attrs on incoming request from nodes
Hi,
On 08/27/2013 04:02 AM, I.Pavlov wrote:
Thanks for answer. Could you explain how to backport the patch to my local copy? I want to try.
That depends on how you installed Kamailio. If you cloned the git repository (-b 4.0), that would offer the easiest way to backport the patch. The patch is here:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commit;h=09a7a4c d718c0e26d3a948515ec4f6f6a68c64c4
So, on your cloned repo, you just cherry-pick that commit ID from the 'master' branch into your '4.0' branch:
git cherry-pick -x 09a7a4cd718c0e26d3a948515ec4f6f6a68c64c4
Otherwise, you can take the raw diff and apply it to your source tree:
wget -O ~/dispatcher.patch 'http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=patch;h=09a7a4c d718c0e26d3a948515ec4f6f6a68c64c4'
cd sip-router/modules/dispatcher
patch -p3 < ~/dispatcher.patch
If successful, that should produce this output:
diminuendo-1:~/sip-router/modules/dispatcher# patch -p3 < ~/dispatcher.patch patching file dispatch.c patching file dispatch.h patching file dispatcher.c
-- Alex