[reSIProcate] Adding a new parameter to a header
Purna Chandar M
purnachandar.m at gmail.com
Fri Apr 27 10:36:52 CDT 2007
Hi,
Im a newbie to the list.
Resiprocate claims to support RFC3329; but I was not able to spot the access
tokens to access parameters like alg, spi-c, spi-s, etc that go along with
the Security-Client header in REGISTER message. I myself tried to add the
params using the doc given at:
http://www.resiprocate.org/Adding_a_new_parameter
After doing this, the stack doesn't compile and gives the following error:
make[1]: Entering directory `/home/purna/resip27_04/resip/stack'
gperf -v > /dev/null 2>&1 && gperf -D --enum -E -L C++ -t -k '*'
--compare-strncmp -Z `echo ParameterHash | sed -e 's/.*\///'`
ParameterHash.gperf | \
sed -e 's/str\[\([0-9][0-9]*\)\]/tolower(str[\1])/g' | \
sed -e 's/^\([ ]*\)if *(\*\([a-z][a-z]*\) *== *\*\([a-z][a-z]*\) *\&\&
*!strncmp *(\([^)]*\)).*/\1if (tolower(*\2) == *\3 \&\& !strncasecmp( \4
))/g' | \
sed -e 's/\*str ==/tolower(*str) ==/' | \
sed -e 's/\!strncmp/\!strncasecmp/' > ParameterHash.cxx
make[1]: *** [ParameterHash.cxx] Error 127
make[1]: Leaving directory `/home/purna/resip27_04/resip/stack'
make: *** [resiprocate] Error 2
What I am clearly missing is, the updation of the gperf hash description
files and running the test drivers(as pointed out by the doc in above link).
But the documentation doesnot clearly say how to do this. Did anyone happen
to add a new param to a header. If yes, please let me know the procedure.
Thanks and regards,
Purna Chandar M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070427/f5300b72/attachment.htm>
More information about the resiprocate-devel
mailing list