Hi
Obvioulsy my day for asking dumb question, but I have the following code, and am trying to do a simple replace, but in debug..seems like nuthing happens
if (uri=~"^sip:0.*@.*") { replace("0","43"); } {...}
but no replace, now it should replace the first 0 with 43
any ideas Iqbal
Hi
Have no idea why the replace below di not replace, nehow trawling through the code came across (which is also in the docs...if I read)
subst_user('/^0/55/');
and voila it works
Iqbal
On 3/16/2005, "Iqbal" iqbal@gigo.co.uk wrote:
Hi
Obvioulsy my day for asking dumb question, but I have the following code, and am trying to do a simple replace, but in debug..seems like nuthing happens
if (uri=~"^sip:0.*@.*") { replace("0","43"); } {...}
but no replace, now it should replace the first 0 with 43
any ideas Iqbal
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers