< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] New header implementaion


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@xxxxxxxxxxx]
Sent: Tuesday, July 19, 2005 8:26 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Cc: resiprocate-devel-request@xxxxxxxxxxxxxxxxxxx
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

 

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