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

Jörn Ott joern.ott at ext.chefkoch.de
Fri Sep 11 21:14:10 MSD 2015


Hello Luis Daniel, 

thanks a lot, this works like a charm. 

kind regards 
Joern 


Von: "Luis Daniel Lucio Quiroz" <luis.daniel.lucio at gmail.com> 
An: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org> 
Gesendet: Freitag, 11. September 2015 04:04:18 
Betreff: Re: [Freeswitch-users] Replacing leading "+" in outgoing numbers 

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 

_________________________________________________________________________ 
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org 
http://www.freeswitchsolutions.com 

Official FreeSWITCH Sites 
http://www.freeswitch.org 
http://confluence.freeswitch.org 
http://www.cluecon.com 

FreeSWITCH-users mailing list 
FreeSWITCH-users at lists.freeswitch.org 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users 
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
http://www.freeswitch.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150911/291520d6/attachment.html 


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