Strip "+1" from inbound caller ID number

Discussion in '3CX Phone System - General' started by rely1, Mar 21, 2018.

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

    Joined:
    Sep 14, 2011
    Messages:
    2
    Likes Received:
    1
    I'm using 3CX 15.5 and had the following question:

    Is there a way to strip the "+1" from an inbound caller ID?
    The issue and reason for this is when an inbound call comes in it comes in as +1XXXYYYZZZZ (where X=area code and Y and Z's are the tel number) and when you try to send that back to the 3cx switch if fails if the user tries to call this same number back. So the dial missed call function fails.

    So either I need an outbound dialing rule that supports the +1 and 10 digits or I need to strip the +1 inbound so that the missed dial function to call back works.

    So I tried the following but it did not work.
    Added an outbound route to my 3CX that tested for prefix of "+1" and strips 1 digit and sends to Sip trunk.
    This did not work.

    So then I tried to do strip the "+1" from the inbound CID on the trunk using:
    https://www.3cx.com/docs/cid-reformatting/

    My rule stated:
    Source Pattern: +(1)(…)(.*) Replace Pattern: \2\3

    But this did nothing to strip any of the characters and I still get +1xxxYYYZZZZ inbound as my Caller ID.

    I am using Flowroute as my SIP provider but did not see settings on this on the SIP carrier either.

    Any ideas on what I should look at next?
    Dial Patterns for the phone? Where is this stored?

    Thanks,
    Richard
     
  2. mariosM_3CX

    mariosM_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Nov 1, 2017
    Messages:
    375
    Likes Received:
    35
    Hello @rely1

    Try the following in Inbound source reformatting of your sip trunk:

    Source Pattern: +1(.*)
    Replace Pattern: \1
     
  3. jimbo59

    jimbo59 Member

    Joined:
    Nov 17, 2017
    Messages:
    346
    Likes Received:
    76
    It's on the test.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    2,795
    Likes Received:
    132
    So everyone should take the test before they ask any questions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,084
    Likes Received:
    203
Thread Status:
Not open for further replies.