On Monday 11 February 2013 11:24:36 Ali Jawad wrote: > I am using the below to strip "-" from destination numbers, it does work > just fine "I replace - with nothing", what i need to do now is to strip all > characters except 0-9 * and #. Is there anyway to do it using the following > configuration part
You are using regular expression substitution, so yes this can be done: /[^0-9*#]//g Take a look at http://en.wikipedia.org/wiki/Regular_expression for more info. _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users