[SR-Users] dispatcher, get attrs on incoming request from nodes

Alex Balashov abalashov at evaristesys.com
Tue Aug 27 10:08:22 CEST 2013


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=09a7a4cd718c0e26d3a948515ec4f6f6a68c64c4

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=09a7a4cd718c0e26d3a948515ec4f6f6a68c64c4'

    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

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list