Caller ID woes

I have a ticket opened with support for this but it seems to be ignored so maybe somebody here will have some idea.

I have two FreePBX 14 servers connected together with an IAX2 trunk. Let’s say PBXA and PBXB. PBXA has an outbound route and a SIP trunk which external calls from both systems go out. The behavior that I want is that the Outbound Caller ID configured on any extension is the outbound caller ID for external calls. I don’t want any outbound or trunk caller ID overriding the extension one.

Calls from PBXA extensions work correctly. Calls from PBXB extensions do go out but display the Caller ID of the external-calls trunk.

The setting “Allow any CID” is set on all of the trunks involved.

On the external calls outbound route “Override extension” is set to “No” and neither Emergency or Intra-company are set.

The section of the log where it appears to change the outbound Caller ID looks like this:

[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:12] Set(“IAX2/PBXB”, “USEROUTCID=”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:13] Set(“IAX2/PBXB”, “EMERGENCYCID=”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:14] Set(“IAX2/PBXB”, “TRUNKOUTCID=“MY OUTBOUND TRUNK CALLERID” <2041234567>”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:15] GotoIf(“IAX2/PBXB”, “1?trunkcid”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx_builtins.c: Goto (macro-outbound-callerid,s,21)
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:21] ExecIf(“IAX2/PBXB”, “1?Set(CALLERID(all)=“MY OUTBOUND TRUNK CALLERID” <2041234567>”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:22] ExecIf(“IAX2/PBXB”, “0?Set(CALLERID(all)=)”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:23] ExecIf(“IAX2/PBXB”, “0?Set(CALLERID(all)=)”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:24] ExecIf(“IAX2/PBXB”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:25] ExecIf(“IAX2/PBXB”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:26] Set(“IAX2/PBXB”, “CDR(outbound_cnum)=2041234567”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:27] Set(“IAX2/PBXB”, “CDR(outbound_cnam)=MY OUTBOUND TRUNK CALLERID”) in new stack
[2019-10-21 17:32:22] VERBOSE[125704][C-00003035] pbx.c: Executing [[email protected]:14] GosubIf(“IAX2/PBXB”, “1?sub-flp-5,s,1()”) in new stack

Let me know if you have any ideas on what could be causing this or where I should look.

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