[Serusers] Append_hf not working for invite requests

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Jul 12 14:23:06 CEST 2005


On Jul 11, 2005 at 10:56, Singh, Amit <Amit.Singh at sonyericsson.com> wrote:
> > Hi,
> > 
> > I have a configuration file where I am trying to send a
> > stateful/stateless 480 response, after appending a RETRY-AFTER in the
> > message header. But when I send the response back to the SIP enabled
> > mobile phone, the server does not append the RETRY-AFTER in the SIP
> > INVITE message header, when it sends a 480 response to the client UA.
> > 
> > I have added both ethereal log and the cfg file. (you may wanna filter
> > the log for SIP requests).
> > 
> > Could you please tell me why it is behaving so and what is the way
> > around it?

Use append_to_reply() instead of append_hf(). 
append_hf works only on requests (it has no effect on the reply).


Andrei




More information about the sr-users mailing list