http://www.opensips.org/html/docs/modules/1.10.x/textops.html
On Thu, Jul 23, 2015 at 11:51 AM, dpa <[email protected]> wrote: > And how dialplan helps me to do it, if ,for example, one time I have such > characters 8%2089-0987-09, and in another time I have 987-89%20908-1? > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Trevor Steyn > *Sent:* Thursday, July 23, 2015 11:27 AM > *To:* [email protected] > > *Subject:* Re: [OpenSIPS-Users] changing $rU number > > > > Hi Denis > > You can use the dialplan module to rewrite variables as below > > dp_translate("1","$rU/$rU"); > > Then insert you regexp into the dialplan tables, read the dialplan module > documentation for more info. > > Regards > Trevor > > On 23/07/2015 09:49, dpa wrote: > > Thank you. > > But what can I use for do it? > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] > *On Behalf Of *Schneur Rosenberg > *Sent:* Thursday, July 23, 2015 10:40 AM > *To:* OpenSIPS users mailling list > *Subject:* Re: [OpenSIPS-Users] changing $rU number > > > > $rU is read/write so you can use regexp and just rewrite the variable > > > > On Thu, Jul 23, 2015 at 10:33 AM, dpa <[email protected]> wrote: > > Hello! > > > > Opensips 1.10. > > > > I am using DROUTING module from making routing. > > But some SIP UA sends to Opensips tel. number with some unnecessary > characters, such as “%20” and “-”. > > > > The question is how can I delete these characters from request user? > > > > Thank you for any help. > > > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
