Digium Analog Card - Dialing its own number!

I am trying to make a call from a Digium card (FXS) on my FreePBX 2.11 (*11) and it seems like the calls keep looping back to the analog phone. When I try an outbound call, I can hear call waiting on the analog phone I am calling from.

In this example I dial 2000 but it seems to change it to 9051234321 in the line --> – Executing [s@macro-from-dahdi-1:1] NoOp(“DAHDI/1-1”, “Entering macro-from-dahdi-1 with DID = 2000 and setting to: 9051234321”) in new stack

Connected to Asterisk 11.3.0 currently running on localhost (pid = 4022)
– Starting simple switch on ‘DAHDI/1-1’
– Executing [2000@from-analog:1] Set(“DAHDI/1-1”, “DID=2000”) in new stack
– Executing [2000@from-analog:2] Goto(“DAHDI/1-1”, “s,1”) in new stack
– Goto (from-analog,s,1)
– Executing [s@from-analog:1] NoOp(“DAHDI/1-1”, “Entering from-dahdi with DID == 2000”) in new stack
– Executing [s@from-analog:2] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-analog:3] Set(“DAHDI/1-1”, “DID=2000”) in new stack
– Executing [s@from-analog:4] NoOp(“DAHDI/1-1”, “DID is now 2000”) in new stack
– Executing [s@from-analog:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
– Goto (from-analog,s,9)
– Executing [s@from-analog:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
– Executing [s@from-analog:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
– Executing [s@from-analog:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
– Executing [s@from-analog:12] Macro(“DAHDI/1-1”, “from-dahdi-1,2000,1”) in new stack
– Executing [s@macro-from-dahdi-1:1] NoOp(“DAHDI/1-1”, “Entering macro-from-dahdi-1 with DID = 2000 and setting to: 9051234321”) in new stack
– Executing [s@macro-from-dahdi-1:2] Set(“DAHDI/1-1”, “__FROM_DID=9051234321”) in new stack
– Executing [s@macro-from-dahdi-1:3] Goto(“DAHDI/1-1”, “from-trunk,9051234321,1”) in new stack
– Goto (from-trunk,9051234321,1)
== Channel ‘DAHDI/1-1’ jumping out of macro ‘from-dahdi-1’
– Executing [9051234321@from-trunk:1] Set(“DAHDI/1-1”, “__FROM_DID=9051234321”) in new stack
– Executing [9051234321@from-trunk:2] Gosub(“DAHDI/1-1”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [9051234321@from-trunk:3] Set(“DAHDI/1-1”, “CDR(did)=9051234321”) in new stack
– Executing [9051234321@from-trunk:4] ExecIf(“DAHDI/1-1”, “0 ?Set(CALLERID(name)=9000)”) in new stack
– Executing [9051234321@from-trunk:5] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [9051234321@from-trunk:6] Set(“DAHDI/1-1”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [9051234321@from-trunk:7] Goto(“DAHDI/1-1”, “ext-trunk,1,1”) in new stack

Can anyone tell me where I may have an error in my config?
Inbound calls to the analog port are fine and calls to and from a SIP extention on the system work as well.

Cheers!
Dave

Thanks bud, that did it.

Cheers!
Dave

Looks like the FXS port you are dialing from is in the wrong context, it should be ‘from-internal’.