[Serusers] append_to_reply and save behaviour

Fermín Galán Márquez fermin.galan at agora-2000.com
Wed Jun 22 12:47:19 CEST 2005


Hello,

I've found and estrange behaviour in the 'append_to_reply' action when used
in conjunction with 'save' action during REGISTER processing.

In particular, if I use in ser.cfg:

	...
	append_to_reply("Service-Route:
<sip:orig at scscf.domain1.com;lr>\r\n");
	save("domain1");
	...

Then the Service-Route header is added to the "200 OK". But if changing the
relative order of the actions:

	...
	save("domain1");
	append_to_reply("Service-Route:
<sip:orig at scscf.domain1.com;lr>\r\n");
	...

Then the 'append_to_reply' is ignored: no header is added to the response.

I think is a weird behaviour... I would like to know if this is a bug or a
feature (I have read the textops documentation at
http://www.iptel.org/ser/doc/modules/html/textops.html#AEN104 and nothing
about problems with 'save' are mentioned).

Thank you in advance!

Best regards,

------
Fermín
Agora Systems, S. A.




More information about the sr-users mailing list