can somebody PLEASE help me sort out this frustrating problem!
One of the "phones" I am using is the eyeBeam soft phone. I have imported my Outlook directory into eyeBeam so I can call my stored numbers. All my Outlook numbers are stored in the format +cc (aaa) nnn-nnn, where "+" indicates the international dialling code (it is 0011 in Australia), cc represents the country code, aaa represents the area code and nnnn-nnnn represents the phone number (of course some of the specific codes are different lengths - the US is 1, Australia is 61, area codes and phone numbers themselves vary in length).
To dial a number correctly on any of my outside lines (VoIP or PSTN) I need the final numbers string sent to those lines to be:Local/National numbers:
aaannnnnnnn (i.e. drop all spaces, brackets and dashes and also drop the + and the country code). For example, +61 (0412) 44-2291 needs to dial out as 0412442291.International numbers:
0011ccaannnnnnnn - note the first digit of the area code needs to be dropped and the + needs to be converted to 0011. For example, +44 (0113) 2641879 (a UK number) needs to dial out as 0011441132641879.
I have tried to set up a dial plan in eyeBeam to do these things (#1\a\a.T|+61xx.T|+x.T|;match=1;prestrip=2;match=2;prestrip=3;match=3;prestrip=1;pre=0011 if anyone knows eyeBeam) but as can be seen in the 3CX System Status Log attached, eyeBeam is not passing the required string.
I tried dialling two numbers, (The first to the UK, the other to an Australian number) - the numbers received from eyeBeam into 3CX highlighted. The international one didn't work but the Australian one did. I am even more confused because as far as I can determine NEITHER number should work - both numbers still appear to have the + at the beginning of them (that would explain why the international number doesn't work - without the 0011 I can't dial out of Australia - but it doesn't explain the Australian number working... I can't dial a + into my Cisco phone to test this but dialling 610412442291 works okay on the Cisco (neither 00110412442291 or 0011412442291 work ... both say "Forbidden" in the log). It seems, then, that my problem is related to the +.
All of this makes me think I have my Outbound Rules incorrect. I have attached my current rules:
In the detail of the first rule I have "Calls to Numbers starting with (Prefix)" = +, strip digits = 1, prepend = 0011
In the detail of the second rule I have "Calls to Numbers starting with (Prefix)" = 61, strip digits = 2
The remaining rules are fairly self explanatory - they seem to be required to allow numbers of different lengths to get through. I created the one I called "international" because it seemed I needed a rule that would just allow a number of any length that was preceded by 0011 to go through - its strip digits
are both blank.WHY IS THIS NOT WORKING???
It seems that neither eyeBeam or 3CX do anything with the +. One of the things I'm not clear on with Outbound Rules is whether or not there is any order of processing. Is the rule at the top processed first? If a match is found for a number string in a rule, does 3CX process only that rule and ignore the rest or does it continue applying the following rules based on a transformation that might have happened in a previous rule? In my case, given that all of the numbers that come from my Outlook directory via eyeBeam will start with a +, I really need two separate cases. In other words I need to say "if the number string starts with a +61, remove the +61 and dial the rest, but if it starts with +anything else, remove the + and replace it with 0011 and drop the first digit of the area code.
As far as I know the same logic applies in every country (other than the 61 being a different country code in other countries, of course) so SURELY someone has sorted this out before?