[Freeswitch-users] Replacing leading "+" in outgoing numbers

Luis Daniel Lucio Quiroz luis.daniel.lucio at gmail.com
Fri Sep 11 06:04:18 MSD 2015


Your condition is wrong, try something like

\+?(\d{10,})

this will strip the leading + for sure

2015-09-10 8:16 GMT-04:00 Jörn Ott <joern.ott at ext.chefkoch.de>:

> ^\+(\d\d\d\d\d*)$




Luis Daniel Lucio Quiroz
CISSP, CISM, CISA
Linux, VoIP and much more fun
www.okay.com.mx

Need LCR? Check out LCR for FusionPBX with FreeSWITCH
Need Billing? Check out Billing for FusionPBX with FreeSWITCH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150910/12cbd733/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list