[reSIProcate] New header implementaion

Scott Godin slgodin at icescape.com
Tue Jul 19 08:55:35 CDT 2005


Did you use gperf to build a new HeaderHash.cxx?  If you are using *nix and
make files, this should be automatic, but if you are using windows then you
will need download a win32 version of gperf and do this step manually.
There are also some edits you need to do to the generated HeaderaHash.cxx to
make a case insensitive hash - check out the make scripts, or compare your
newly generated file to the existing one to see what they are.

 

  _____  

From: Viduraj sur [mailto:vidurajsur2 at yahoo.co.in] 
Sent: Tuesday, July 19, 2005 8:26 AM
To: resiprocate-devel at list.sipfoundry.org
Cc: resiprocate-devel-request at list.sipfoundry.org
Subject: [reSIProcate] New header implementaion

 

Hi All,

 

Did any body add any new header except "77" allready implemented headers in
HeaderTypes.hxx?

 

Actually i am adding header with type "NameAddr" header in resiprocate stack

I have been changed files according to the steps given by wiki page

http://warsaw.sjc.purplecomm.com/wiki/index.php?title=Adding_a_new_header
<http://warsaw.sjc.purplecomm.com/wiki/index.php?title=Adding_a_new_header> 

 

Code is compiling properly & i have run the test code of
testParserCategories.cxx, this is also working properly.

and tried to encode & decode through test code also, its working fine.

 

BUT... I am getting assertion error very early when I am trying to send
INVITE message from test tool with addred header.

 

ERROR is :

INFO | 20050719-031432.233 | RHEL4 | repro | REPRO:APP | 9243 | 3075247024 |
Proxy.cxx:57 | Proxy::thread start
repro: os/Tuple.cxx:237: void resip::Tuple::setPort(int): Assertion `0'
failed.
Aborted

I Have figureout that, this stack is not allowing addition or deletion of
any headers, like this is fixed with 77 header only. I have tried with 76
headers( comented 1 header in required 6 files), still same error is
comming.

but I deleted 1 header & added my new header, then code is working fine
means total headers should have only 77, not more or less than this number
of headers

 

do I need to change any thing except following files?

 

HeaderHash.gperf

Headers.cxx

Headers.hxx

HeaderTypes.hxx

SipMessage.cxx

SipMessage.hxx

 

 

 

Please guide me, That will be great help from your side.

 

Regards,

vid

  _____  

Too much spam in your inbox? Yahoo! Mail gives you the best spam protection
for FREE!
http://in.mail.yahoo.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050719/7803454f/attachment.htm>


More information about the resiprocate-devel mailing list