[reSIProcate] Adding a new parameter to a header

Byron Campen bcampen at estacado.net
Fri Apr 27 10:47:33 CDT 2007


	Do you have gperf installed?

Best regards,
Byron Campen

> 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
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070427/0321e019/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070427/0321e019/attachment.bin>


More information about the resiprocate-devel mailing list