Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12590

PBX->PBX->outbound callerID issue

$
0
0

@orb wrote:

I am setting up a new FreePBX distro box running Asterisk 13. However, I need to relay calls out to the PRI card located in my old server running Asterisk 1.4.36/FreePBX 2.9. Have a SIP trunk working between them and calls even go out to the PRI. However, the callerID of the extension is overwritten my the trunk/PRI callerID.

I can't seem to locate how to fix this. Any help is appreciated. Below is verbose output from the Asterisk 1.4 server.

The CALLERID that should be passed to the PSTN in 2222222222, but it is sending 3333333333 instead.

-- Executing [1111111111@from-internal:1] Macro("SIP/crossoverSIP-00001a03", "user-callerid|LIMIT|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/crossoverSIP-00001a03", "AMPUSER= 2222222222") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/crossoverSIP-00001a03", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/crossoverSIP-00001a03", "1|Set|REALCALLERIDNUM=2222222222") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/crossoverSIP-00001a03", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/crossoverSIP-00001a03", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/crossoverSIP-00001a03", "1?report") in new stack
-- Goto (macro-user-callerid,s,12)
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/crossoverSIP-00001a03", "1?continue") in new stack
-- Goto (macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/crossoverSIP-00001a03", "CALLERID(number)= 2222222222") in new stack
-- Executing [s@macro-user-callerid:26] Set("SIP/crossoverSIP-00001a03", "CALLERID(name)=TEST") in new stack
-- Executing [1111111111@from-internal:2] Set("SIP/crossoverSIP-00001a03", "_NODEST=") in new stack
-- Executing [1111111111@from-internal:3] Macro("SIP/crossoverSIP-00001a03", "record-enable||OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/crossoverSIP-00001a03", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/crossoverSIP-00001a03", "1|MacroExit|") in new stack
-- Executing [1111111111@from-internal:4] Macro("SIP/crossoverSIP-00001a03", "dialout-trunk|1| 1111111111 |") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/crossoverSIP-00001a03", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/crossoverSIP-00001a03", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/crossoverSIP-00001a03", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/crossoverSIP-00001a03", "DIAL_NUMBER=1111111111") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/crossoverSIP-00001a03", "DIAL_TRUNK_OPTIONS=trw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/crossoverSIP-00001a03", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/crossoverSIP-00001a03", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/crossoverSIP-00001a03", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/crossoverSIP-00001a03", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/crossoverSIP-00001a03", "DIAL_TRUNK_OPTIONS=W") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/crossoverSIP-00001a03", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/crossoverSIP-00001a03", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/crossoverSIP-00001a03", "0|Set|REALCALLERIDNUM= 2222222222") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/crossoverSIP-00001a03", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/crossoverSIP-00001a03", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/crossoverSIP-00001a03", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/crossoverSIP-00001a03", "TRUNKOUTCID=<333333333>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/crossoverSIP-00001a03", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/crossoverSIP-00001a03", "1|Set|CALLERID(all)=<333333333>") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/crossoverSIP-00001a03", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/crossoverSIP-00001a03", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/crossoverSIP-00001a03", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/crossoverSIP-00001a03", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:17] Set("SIP/crossoverSIP-00001a03", "CALLERID(all)=<333333333>") in new stack
-- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/crossoverSIP-00001a03", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/crossoverSIP-00001a03", "CallerID set to "" <333333333>") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/crossoverSIP-00001a03", "1?sub-flp-1|s|1") in new stack

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 12590

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>