<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, according to the guide, changes done on a 
message while server processing are kept in sip_msg-&gt;buf. But if I do 
something like&nbsp; (in ser.cfg):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;[...]</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;append_hf("Anyheader: hello");</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;showrequest();</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;[...]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>being 'showrequest' a function in a module that 
just does:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>static int showrequest_f(struct sip_msg* msg, char 
*foo, char *foo2)<BR>{<BR>&nbsp;&nbsp;&nbsp;parse_headers(msg, HDR_EOH, 
0);<BR>&nbsp;&nbsp; fprintf(stderr, "MESSAGE:\n");<BR>&nbsp;&nbsp; 
fprintf(stderr, msg-&gt;buf);&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp; return 
1;<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then I can't see the new header!&nbsp; What am I 
doing wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV></BODY></HTML>