CID Gone Wild! Help!

Where to Begin? The beginning…

Free PBX Commercial
Ver. 15.0.17.34
Distro 12.7.8.2014-1.sng7
Ast Ver 16.16.2
Hosted on Google Cloud
Voip Innovations is Carrier
Single DID

Problem: Caller ID
Symptom: All outgoing calls showing +1extension (example I am calling from ext 28 it’s +128)
Consequence: T-Mobil blocking calls because of this. Cannot call t-mobile.

I have tried a lot of things, I’ll try to summarize.

  1. The provider, Checked If they are messing with CID. I Spoke with VI Carrier, they will pass anything I put for the CID, not an issue
  2. The Trunk definition. Set an overriding CID here. Tried, Did not work
  3. The Outbound Route definition. Here, set the Caller ID w/ Override Tried did not work
  4. The Extension definition. CID associated with the extension Tried did not work
  5. The phone app itself. Some technologies allow you to set a CID at the actual phone Could not find where to do that on the actual phone.

There was some talk about a problem with a Freepbx core update that caused this to happen with some system, they repaired the issue and released an updated core. I applied the updated core and rebooted same issue.

Tried the above with PJSIP & SIP Trunks Same Outcome

Any ideas?

Best,
T

The obvious. Did you apply config?

Can you please post screenshots of where you set up the CID?

Also, please provide a call trace via pastebin link. See instructions: https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

@Pitzkey Yes I applied config thanks :slight_smile:

(upload://qlLEbS9jxDAKc7zjhFC6CFZooAa.jpeg) ![Capture_Trunk|690x394]

pastebin.freepbx.org/view/4b769027

Best,
T

@Pitzkey Thank you for you Interest it is greatly appreciated.

Update: The issue has been resolved.

Just wanted to give the solution should someone else need it.

The issue was the outbound route had the route type to intra-company which would make every calls CID as their extensions. Once I un-highlighted the option, the proper CID is now being sent. As discussed, here is the snippet from the log: INTRACOMPANYROUTE=YES

[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [out@sub-record-check:8] Return("SIP/28-00001e89", "") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:3] ExecIf("SIP/28-00001e89", "0 ?Set(CDR(accountcode)=)") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:4] Set("SIP/28-00001e89", "_ROUTEID=1") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:5] Set("SIP/28-00001e89", "_ROUTENAME=OUT") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:6] Set("SIP/28-00001e89", "INTRACOMPANYROUTE=YES") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:7] Set("SIP/28-00001e89", "MOHCLASS=default") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:8] ExecIf("SIP/28-00001e89", "1?Set(TRUNKCIDOVERRIDE=516XXXXXXX)") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:9] Set("SIP/28-00001e89", "_CALLERIDNAMEINTERNAL=Sanitation") in new stack
[2021-05-07 12:25:25] VERBOSE[6046][C-00000662] pbx.c: Executing [1516XXXXXXX@from-internal:10] Set("SIP/28-00001e89", "_CALLERIDNUMINTERNAL=28") in new stack

Best
T

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.