Ok, got this far:
replace_all(";rn=+[0-9]*;npdi=(yes|no)", "");
Anyone know if replace and substitute with nothing? Basically its not working :)
-----Original Message----- From: Matt Schulte Sent: Thursday, December 02, 2004 11:00 PM To: serusers@lists.iptel.org Subject: [Serusers] URI rewrite Importance: High
I have an usual problem, a sip provder we're using is sending us long forms of URI's:
+16365551212;rn=+16182074198;npdi=yes@blahblah.com
What I'm wanting to do is remove everything after +16365551212 (except domain of course)
Ideas? stuck!!!! Thanks
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Dec 03, 2004 at 00:19, Matt Schulte mschulte@netlogic.net wrote:
Ok, got this far:
replace_all(";rn=+[0-9]*;npdi=(yes|no)", "");
Anyone know if replace and substitute with nothing? Basically its not working :)
Try subst_uri or subst_user (subst_user is present only in unstable). replace_all doesn't work on the uri, only on the rest of the message.
Andrei