Prepending +1 to DID Inbound Caller ID

Status
Not open for further replies.

Chadrick

Customer
Joined
Sep 22, 2019
Messages
4
Reaction score
1
Hi, new to 3CX here. This has been asked and answered in many other varieties, but reformatting the Inbound Caller ID of a DID is giving some difficulty. For organization reasons, I need to reformat received Caller IDs from a format like 9543543040 to prepend +1, as +19543543040. Without the +1, incoming calls are unidentified.

Due to unrelated requirements, the SIP provider is not a 3CX registered SIP Trunk provider.

I have played around with a few different Replace Patterns, but nothing seems to be sticking. I'm not totally certain if the Inbound parameters are not part of the problem. Both have been attached.

I have already reviewed https://www.3cx.com/docs/cid-reformatting/ and while the examples were helpful, they did not help in troubleshooting this exact scenario.

Thanks in advance for any suggestions.

Activity log:
10/23/2019 1:31:39 PM - [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
Invite-UNK Recv Req INVITE from 192.168.2.1:6060 tid=76287afb Call-ID=520535bd27b02ffc468bf4274bc8c1ed@xxxxxxxxxx:
INVITE sip:9543543040@xxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDPxxxxxxxxxx:6060;branch=z9hG4bK76287afb;rport=6060;received=192.168.2.1
Max-Forwards: 70
Contact: <sip:xxxxxxxxxx@xxxxxxxxxx:6060>
To: <sip:9543543040@xxxxxxxxxx:5060>
From: "xxxxxxxxxx" <sip:xxxxxxxxxx@xxxxxxxxxxx:6060>;tag=as7b97a4cb
Call-ID: 520535bd27b02ffc468bf4274bc8c1ed@xxxxxxxxxx
CSeq: 102 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Content-Type: application/sdp
Date: Wed, 23 Oct 2019 18:31:39 GMT
Supported: replaces, timer
User-Agent: xxxxxxxxxxx
Content-Length: 340
 

Attachments

  • InboundReplaceSettings.png
    InboundReplaceSettings.png
    12.8 KB · Views: 19
  • InboundInBoundParameters.png
    InboundInBoundParameters.png
    39.6 KB · Views: 18
I use this to strip the +1
+1(.*)\1

So, I would guess, (.*) on left and +1\1 on right may do what you need.
 
  • Like
Reactions: Chadrick and nub
I use this to strip the +1
+1(.*)\1

So, I would guess, (.*) on left and +1\1 on right may do what you need.

Thanks, I tried (.*) as the Source Pattern (left) and +1\1 as the Replace Pattern (right), but it's still not working.

I currently have "To :User Part" as the "CalledNum" in Inbound Parameters. Did you need to set something else in order for your Strip to work?

Thanks again!
 
I tested the scenario and it worked for me with an Approved Provider - so not sure about the remainder of the inbound parameters. I think To: User Part is an outbound parameter that should be in place, not inbound.

12851
 
  • Like
Reactions: Chadrick
Thanks, Craig. I really appreciate you pasting your Inbound Parameters also doing a test on your side. Unfortunately, it's still not working on my side. I might have to try to find another way to work around this.
 
Hi, new to 3CX here. This has been asked and answered in many other varieties, but reformatting the Inbound Caller ID of a DID is giving some difficulty. For organization reasons, I need to reformat received Caller IDs from a format like 9543543040 to prepend +1, as +19543543040. Without the +1, incoming calls are unidentified.

Ok so what exactly isn't being identified and by what? You say you want to reformat the caller ID of a DID because it's coming in as unidentified. Caller ID is for the caller who is calling you. If you are saying calls to your DIDs are not routing because they aren't matching your DIDs you are probably best changing your DIDs to use *. So something like *9543543040 or even *3040 if only the last 4 are unique.
 
Status
Not open for further replies.

Forum statistics

Threads
111,934
Messages
589,818
Members
164,811
Latest member
aurorasigntrtechitnet