Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Inbound Caller ID Formating trouble

Discussion in '3CX Phone System - General' started by nakanet, Dec 26, 2012.

Thread Status:
Not open for further replies.
  1. nakanet

    May 1, 2011
    Likes Received:
    Hello everybody....
    I´m struggling with an issue related with reformating caller ID information.
    Actually, our VOIP Trunk provider is Skype Connect service and we´re located in Japan.
    When a call is received thru Skype service, the following SIP information comes from Skype to our 3CX:

    26-dez-2012 12:42:43.162 [CM503004]: Call(C:81): Route 1: from L:81.1[Line:10026<<+81567551234] to T:RingAll:80000@[Dev:sip:10000@;rinstance=7581d9e7a6faec26,Dev:sip:10001@;rinstance=4a11c342a10990ff;transport=TCP,Dev:sip:10005@XXX.XXX.XXX.XXX:5065;ob,Dev:sip:10019@,Dev:sip:10028@,Dev:sip:10002@;rinstance=9a652279df605782;transport=TCP]

    So, Skype is providing to me an incomming caller ID as +81567551234.
    In the VOIP Trunking configuration, we´ve set the "Reformat Inbound Caller ID to the following settings:
    -International Prefix: (Left blank)
    -Country Code: 81
    -Area Code Prefix: (Left Blank)
    -Area Code: (Left Blank)
    -Local Number Lenght: (Left Blank)

    With this configuration, the 3CX extensions, when receiving an incomming call, are displaying the caller ID 567551234.
    That´s a good sign but there is a problem. The incomming call phones has an "0"(zero) in the beggining of the number (in the e.g, the real caller number is 0567551234), and the missing "0" makes impossible to make call backs to numbers in the incomming call lists.
    Where I have to adjust to make the 3CX Phone System to place an "0", in the place of the cut +81(Japan national code) that we successfully cut it out from the caller ID ???
    All help are deeply welcome !
    Eduardo Nakagawa

    Attached Files:

    • 3CX.JPG
      File size:
      49.9 KB
  2. leejor

    leejor Well-Known Member

    Jan 22, 2008
    Likes Received:
    The zero can always be added on in the outbound rules. You can set-up rules so that local (or national ) calls will go out correctly whether or not a zero is dialled first. These can be based on the first few digits of the number or the length of the number.
  3. left

    Sep 14, 2012
    Likes Received:
    You may also want to make an outbound rule stripping the "567" for local calls as well as adding the "0" when necessary. For example, I have rules like this:
    1) If there are 7 digits only (I'm in the US), prepend a "1949"
    2) If there are 12 digits and the first digit is a 9, strip the 9
    3) If there are 10 digits, add a "1"

    If you have any questions and would like to converse in Japanese, I speak/read/write Japanese so you can email me directly if you want (agruener @ leftclickhere.com).

Thread Status:
Not open for further replies.