[Serusers] replace function

Xavier TRENTIN xtrentin at softiphone.net
Thu Nov 10 17:45:13 CET 2005


Hi,

I use ser 0.10.99+cvs20050428.

When I use replace("foo","bar") in ser.cfg, is it supposed to replace 
all occurences
of "foo" in the headers/body of the SIP message?

It seems that it only replace the first occurence.

Moreover, when I write :

    replace("foo","bar");
    replace("foo","bar");

in my ser.cfg, it replace "foo" with "barbar".

B.R.
Xavier.





More information about the sr-users mailing list