View Single Post
  #115 (permalink)  
Old 08-03-2009, 08:25 AM
chlauber chlauber is offline
Senior Member
 
Posts: 72
Default

Quote:
Originally Posted by gracedman View Post
Hmm . . . something strange is happening. I do see more matches than I saw before but not all of them are matching even though the regex testing is matching. Is there some other processing going on? I'll post of list of formats all of which evaluate as matched in the regex tester at RegEx: online regular expression testing and I'll show the results I have when I mouse over:

12079857880 - matched
2079857880 - matched
(207)9857880 - no match but recognized by Zimbra as a phone number
(207) 985-7880 - matched
207-985-7880 - no match but recognized by Zimbra as a phone number
207 985 7880 - matched
+1 207-985-7880 - matched

Any ideas? Thanks - John
Hi John

I am not a RegExp expert, too. So the pragmatic way is to get RegExp from
/opt/zimbra/jetty/webapps/service/zimlet/com_zimbra_phone/com_zimbra_phone.xml .This one is proably very much tuned for American phone numbers.
btw. to prevent problems between com_zimbra_phone and ch_bnc_asterisk you may disable com_zimbra_phone zimelt.

Have fun
- Christof
Reply With Quote