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 formatting like 0521-123-456-1

Discussion in '3CX Phone System - General' started by GI Germany, Dec 28, 2017.

Thread Status:
Not open for further replies.
  1. GI Germany

    Joined:
    Dec 28, 2017
    Messages:
    11
    Likes Received:
    0
    Hello,
    do you have any ideas how i can format my inbound caller ID to make it more readable?

    i did not find anything to make segmentations blocks...
     
  2. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    220
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GI Germany

    Joined:
    Dec 28, 2017
    Messages:
    11
    Likes Received:
    0
    i have read this several times but i can't find a solution. Probably i'm i little stupid. i only want to put a few blank spaces or strings in the number to mahe it more readable
     
  4. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    220
    Probably you can easily reformat the incoming caller-ID for example (...)(...)(....) -- a 10-digit US number to 1-\1-\2-\3, e.g. number like 1234567890 to 1-123-456-7890. More difficult for Germany, where numbers and area codes are different lengths, you must create too many rules.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 sip.bg, Dec 28, 2017
    Last edited: Dec 28, 2017
  5. GI Germany

    Joined:
    Dec 28, 2017
    Messages:
    11
    Likes Received:
    0
    there is no possibility to create a variable rule? but if i create for every areacode as many rules as there are possibilities of lengths it should work?

    i think it is annoying to read a 12 or 13 digit number in 1 block.
     
  6. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    220
    (.*) means one or more digits, can obviously be used as last field
    You can use rules like to make numbers more readable:
    49521(...)(.*) to 0521-\1-\2
    4989(...)(.*) to 089-\1-\2
    4930(...)(.*) to 030-\1-\2
    and so on.
    Last rule may be (order is important):
    49(...)(...)(.*) to 0\1-\2-\3
    to handle all other cases.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. GI Germany

    Joined:
    Dec 28, 2017
    Messages:
    11
    Likes Received:
    0
    Amazing! Thank you so much!
     
  8. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,079
    Likes Received:
    324
    Keep in mind that display limitations, on some devices, may cause the number to scroll off the screen if there are too many characters. Some devices may also add their own digit separators
     
Thread Status:
Not open for further replies.