Hi,
I tried to rewrite URLs containing brackets "()", to remove them before passing the URL further on to PSTN.
I was approaching this thinking that subst_uri works like "sed", but perhaps I've misunderstood?
if ( uri =~ "sip:.*[()-]" ) { subst_uri('/(//i'); #subst_uri('/[()-]//i'); }
Thanks in advance,
Sean