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@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@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.