ul.add patch reworked.
this patch fails on master version of ul_rpc.c:
cp /usr/src/orig/sip-router/modules/usrloc/ul_rpc.c .
$ patch -p3 --dry-run < /tmp/ul_add.patch
patching file doc/usrloc_admin.xml
Hunk #1 succeeded at 1063 with fuzz 2 (offset -51 lines).
patching file ul_rpc.c
Hunk #2 FAILED at 35.
Hunk #3 FAILED at 517.
2 out of 3 hunks FAILED -- saving rejects to file ul_rpc.c.rej
-- juha