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

[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
 
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