Submitted by Robert948521 on 2018/07/25 10:17
Greetings from Germany! Did anyone already build a regular expression (Tools > Options) for dialing European phone numbers? Please share your knowledge with me. Thanks, Robert

Comments

Hi !
 
First a warm welcome to the IQ community website !
 
Do you have sample numbers ?
Using some samples found on the web, this string seems to work fine:
[0-9]*\/*(\+49)*[ ]*(\([0-9]+\))*([ ]*(-|–)*[ ]*[0-9]+)*
 
Pierre_Admin
IQ Designer
 

Robert948521

2018/07/26 04:17

In reply to by Pierre_Admin

Pierre, thanks for welcoming me and for your quick response!
 
The string does not work for me: when pressing Ctrl+T, a lot of numbers from the phone book record are offered (P.O.Box, geo coordinates, fragments of day dates, slashes, ...). After selecting a number and pressing "Dial the number" the phone picks up, but nothing else happens. (Entrys in Windows' dialing rules are correct and work well with other dialing applications.)
 
Here are some samples stored in my InfoQube:
 
0231 94850 (number in Germany where 0231 is the local code for the city of Dortmund)
0231 9485 21 (number in Germany where 21 is the extension)
0231 9485-21 (same as before)
+31 515 54 2292 (number in the Netherlands, landline)
+316 2013 1993 (number in the Netherlands, cell)
(0044 1553) 827501 (number in U.K.)
0352 27002727340 (number in Luxembourg)
00423 391 1526 (number in Liechtenstein)
0043 5476 6050 15 (number in Austria with extension)
 
 
Robert
 
 

Pierre_Admin

2018/07/26 08:27

In reply to by Robert948521

Hi Robert,
[quote=Robert948521]
The string does not work for me: when pressing Ctrl+T, a lot of numbers from the phone book record are offered (P.O.Box, geo coordinates, fragments of day dates, slashes, ...). After selecting a number and pressing "Dial the number" the phone picks up, but nothing else happens. (Entrys in Windows' dialing rules are correct and work well with other dialing applications.)
[/quote]
2 issues here:
  1. Are phone numbers picked up by the Regex ? Are other numbers picked up that shouldn't ? Numbers are from the currently focused item and parent items
  2. Once you select the number in the dial dialog, does IQ properly dial the number ?
 
HTH !
 
Pierre_Admin
IQ Designer
 

Robert948521

2018/07/26 10:43

In reply to by Pierre_Admin

Pierre,
 
I saved a new Item in my address book named "Dialer Test".
(snapshot from the Form)
 
If I hit Ctrl+T, this appears:
 
As you see, even the house number of the street address ist offered ...
 
When I select the last line (Fax #) and klick "Dial the number" the phone "picks up" and nothing else happens.
 
If I type the number manually into the field "Number to dial", the phone picks up and starts dialing with the local area code but omits the "0" to get out of the PBX (as defined in the Dialing rules). If I write 0 into the "optional Prefix" box and klick on "Dial prefix followed by the number", dialing works fine.
 
Robert