[sr-dev] textops Design Question

Ovidiu Sas osas at voipembedded.com
Mon Nov 1 16:25:51 CET 2010


On Wed, Oct 27, 2010 at 2:30 PM, m tawfik <mstawfik at gmail.com> wrote:
> I noticed that the textops module assumes that it is always operating on the
> original message; with no regard to the existing lumped modifications.
That is correct.

> This
> makes the successive application of textops (and some other operations as
> well such as nathelper) incorrect.
When you touch SDP (in case of nathelper), you need to do it only once.
You can also apply SDP changes in each branch.
So far, it worked ok for everyone.

If you really want to see all your changes before applying new ones,
see msg_apply_changes():
http://www.kamailio.org/docs/modules/3.1.x/modules/textopsx.html#msg_apply_changes


Regards,
Ovidiu Sas



More information about the sr-dev mailing list