Outgoing call not connected via AEX410 FXO ports?

FreePbx distort running Free PBX 6.12.65-30 SP1 running asterisk 11.19.0 (based in the Uk)

I have an AEX410 analogue card installed with 1 FXS port and 3 FXO (2,3,4) ports. This shows up on the DAHDi config correctly. I have setup a dahdi trunk, Outbound caller Id with my home tel number and with outgoing settings Group O (round Robin).

I have also setup a single outgoing route with correct dial pattern ( XXXXXXXXXXX) and trunk sequence to the analogue trunk (no other settings defined).

When i use a soft phone extension to ring to an outside line in the asterisk CLI shows “DAHDI/1-1 is ringing” but the call doesn’t actually connect to the outside line? I have tested the line and it is functioning? what do i need to do to allow the soft phone to connect via the FXO port on the server to the outside line?

You said a couple things here that confused me.

You say your system is configured to use group 0 for outgoing connections, but your descriptions says that group 1 is being used. Do you have three POTS phone lines coming in or just one?

I assume you have a single instrument plugged in to the FXS port. Of course, you can as many as your card will push (depending on ringer load).

I recommend plugging a phone into the “outgoing” phone line. Note that I mean “in addition to your current wiring”. This way, you can dial the external number from your VOIP phone, and once the circuit is up (ringing) you can pick up and listen to what’s happening.

Another possible troubleshooting step would be to add call recording for your outgoing calls and listen to the recording of what is happening on the outbound line.

In my experience, if the DAHDI circuit thinks it’s ringing, it is hearing the ring. If it is, then your problem is probably something in the way your softphone is configured.

Hi cynjut thanks for your reply.

I currently have 3 FXO ports but only one POTS line plugged in (into port 2). All the FXO ports are configured to group 0. I haven’t even defined a group 1 or anything on it. Does that CLI suggest it is trying to use a “group 1”?? seems bit strange?

I have a bog standard wired telephone plugged into the FXS port. If i unplug it from here and plug into into the “outgoing line” (the one i’m using for the FXO port) it works fine. I pick up the handset, hear a dial tone, and can make a call. When plugged into the FXS port, the phone is dead. not dial tone when i pick it up.

Please give the Asterisk CLI log here

OK - that tells us a lot.

You need to set up an extension that is configured to use the FXS port. Once you do that, you should get a dial-tone, etc. You should also be able to call your internal phones. That will tell us that your card is working. It may also tell you where the ports are actually connected. Different cards number the external port differently - some number from top to bottom, others bottom to top.

Setting up a DAHDI extension and getting it working will help you verify a few things.

After that, get a 2-way splitter and plug your phone and FXO port into your outgoing phone line. Using your softphone, dial an outgoing number and (when the cards says it’s ringing) pick up the phone and listen in.

If you want to do it the “professional” way, get a “buttset” and listen in on the line in “Low-Z” mode. This way, the buttset can listen in on the line without triggering an “off-hook”, so you can hear everything that’s going on without getting involved in the call sequence.

Setting up DAHDI can be challenging. Be sure to use all of the DAHDI tools that get installed with the drivers to make sure the card is up and running correctly. Also make sure that the dahdi service is actually running and managing the card.

Good luck.

[2016-03-04 21:49:19] VERBOSE[26928][C-00000001] netsock2.c: == Using SIP RTP TOS bits 184
[2016-03-04 21:49:19] VERBOSE[26928][C-00000001] netsock2.c: == Using SIP RTP CoS mark 5
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:1] Macro(“SIP/701-00000001”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/701-00000001”, “TOUCH_MONITOR=1457128159.2”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/701-00000001”, “AMPUSER=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/701-00000001”, “0?report”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/701-00000001”, “1?Set(REALCALLERIDNUM=701)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/701-00000001”, “AMPUSER=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/701-00000001”, “0?limit”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/701-00000001”, “AMPUSERCIDNAME=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/701-00000001”, “0?report”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:9] Set(“SIP/701-00000001”, “AMPUSERCID=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:10] Set(“SIP/701-00000001”, “__DIAL_OPTIONS=Ttr”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:11] Set(“SIP/701-00000001”, “CALLERID(all)=“701” <701>”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“SIP/701-00000001”, “0?limit”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:13] ExecIf(“SIP/701-00000001”, “1?Set(GROUP(concurrency_limit)=701)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:14] ExecIf(“SIP/701-00000001”, “0?Set(CHANNEL(language)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:15] GotoIf(“SIP/701-00000001”, “1?continue”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (macro-user-callerid,s,29)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:29] Set(“SIP/701-00000001”, “CALLERID(number)=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/701-00000001”, “CALLERID(name)=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/701-00000001”, “CDR(cnum)=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/701-00000001”, “CDR(cnam)=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/701-00000001”, “CHANNEL(language)=en”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:2] Gosub(“SIP/701-00000001”, “sub-record-check,s,1(out,07715552952,dontcare)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/701-00000001”, “0?initialized”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/701-00000001”, “__REC_STATUS=INITIALIZED”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/701-00000001”, “NOW=1457128159”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/701-00000001”, “__DAY=04”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/701-00000001”, “__MONTH=03”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/701-00000001”, “__YEAR=2016”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/701-00000001”, “__TIMESTR=20160304-214919”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/701-00000001”, “__FROMEXTEN=701”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/701-00000001”, “__MON_FMT=wav”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/701-00000001”, “Recordings initialized”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/701-00000001”, “0?Set(ARG3=dontcare)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/701-00000001”, “REC_POLICY_MODE_SAVE=”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/701-00000001”, “0?Set(REC_STATUS=NO)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/701-00000001”, “3?checkaction”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (sub-record-check,s,17)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/701-00000001”, “1?sub-record-check,out,1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (sub-record-check,out,1)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/701-00000001”, “Outbound Recording Check from 701 to 07715552952”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/701-00000001”, “RECMODE=dontcare”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/701-00000001”, “1?Goto(routewins)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (sub-record-check,out,7)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/701-00000001”, “recordcheck,1(dontcare,out,07715552952)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/701-00000001”, “Starting recording check against dontcare”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/701-00000001”, “dontcare”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (sub-record-check,recordcheck,3)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [recordcheck@sub-record-check:3] Return(“SIP/701-00000001”, “”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/701-00000001”, “”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:3] ExecIf(“SIP/701-00000001”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:4] Set(“SIP/701-00000001”, “MOHCLASS=default”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:5] Set(“SIP/701-00000001”, “_NODEST=”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [07715552952@from-internal:6] Macro(“SIP/701-00000001”, “dialout-trunk,1,07715552952,off”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/701-00000001”, “DIAL_TRUNK=1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/701-00000001”, “0?sub-pincheck,s,1()”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/701-00000001”, “0?disabletrunk,1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/701-00000001”, “DIAL_NUMBER=07715552952”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/701-00000001”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/701-00000001”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/701-00000001”, “0?nomax”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/701-00000001”, “0?chanfull”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/701-00000001”, “0?skipoutcid”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/701-00000001”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/701-00000001”, “outbound-callerid,1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/701-00000001”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/701-00000001”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/701-00000001”, “0?Set(REALCALLERIDNUM=701)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/701-00000001”, “1?normcid”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (macro-outbound-callerid,s,7)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/701-00000001”, “USEROUTCID=”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/701-00000001”, “EMERGENCYCID=”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:9] Set(“SIP/701-00000001”, “TRUNKOUTCID=01923854518”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:10] GotoIf(“SIP/701-00000001”, “1?trunkcid”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Goto (macro-outbound-callerid,s,15)
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/701-00000001”, “1?Set(CALLERID(all)=01923854518)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/701-00000001”, “0?Set(CALLERID(all)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/701-00000001”, “0?Set(CALLERID(all)=)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/701-00000001”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/701-00000001”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:20] Set(“SIP/701-00000001”, “CDR(outbound_cnum)=01923854518”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-outbound-callerid:21] Set(“SIP/701-00000001”, “CDR(outbound_cnam)=”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/701-00000001”, “0?sub-flp-1,s,1()”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/701-00000001”, “OUTNUM=07715552952”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/701-00000001”, “custom=DAHDI/g1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/701-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/701-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/701-00000001”, “dialout-trunk-predial-hook,”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/701-00000001”, “”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/701-00000001”, “0?bypass,1”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/701-00000001”, “1?Set(CONNECTEDLINE(num,i)=07715552952)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/701-00000001”, “1?Set(CONNECTEDLINE(name,i)=CID:01923854518)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/701-00000001”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)01923854518)”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/701-00000001”, “0?customtrunk”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-dialout-trunk:23] Dial(“SIP/701-00000001”, “DAHDI/g1/07715552952,300,Tt”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] app_dial.c: – Called DAHDI/g1/07715552952
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] app_dial.c: – DAHDI/1-1 is ringing
[2016-03-04 21:49:21] VERBOSE[27166][C-00000001] app_dial.c: – DAHDI/1-1 is ringing
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] app_dial.c: – DAHDI/1-1 is ringing
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] sig_analog.c: – Hanging up on ‘DAHDI/1-1’
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] chan_dahdi.c: – Hungup ‘DAHDI/1-1’
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on ‘SIP/701-00000001’ in macro ‘dialout-trunk’
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: == Spawn extension (from-internal, 07715552952, 6) exited non-zero on ‘SIP/701-00000001’
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Executing [h@from-internal:1] Macro(“SIP/701-00000001”, “hangupcall”) in new stack
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“SIP/701-00000001”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“SIP/701-00000001”, “1?theend”) in new stack
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Goto (macro-hangupcall,s,4)
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-hangupcall:4] ExecIf(“SIP/701-00000001”, “0?Set(CDR(recordingfile)=)”) in new stack
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: – Executing [s@macro-hangupcall:5] Hangup(“SIP/701-00000001”, “”) in new stack
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] app_macro.c: == Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/701-00000001’ in macro ‘hangupcall’
[2016-03-04 21:49:27] VERBOSE[27166][C-00000001] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/701-00000001’

I setup an extension for the FXS port . Still nothing . It doesnt seem to do anything?

I used a splitter to listen into the FXO line. When i make the call, the soft phone makes a ringing sound. However, when i pick up the “listening phone” there is just a dial tone. This confirms the line is functioning, but the FXO port is not doing anything?

I’ve even used all the dahdi tools in CLI to ensure the card is recognised and functioning. But, all I can think is it says “4 channels need to configure” in dahdi_cfg -vv ??

very frustrating. any help is much appreciated!

Hello:
Please show the “dahdi show channels” from Asterisk CLI? If you do not see any output, you maybe missed some steps.
please check this:

Dial(“SIP/701-00000001”, “DAHDI/g1/07715552952,300,Tt”) in new stack
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] app_dial.c: – Called DAHDI/g1/07715552952
[2016-03-04 21:49:19] VERBOSE[27166][C-00000001] app_dial.c: – DAHDI/1-1 is ringing
[2016-03-04 21:49:21] VERBOSE[27166][C-00000001] app_dial.c: – DAHDI/1-1 is ringing

you have called the FXO with the 07715559252, please make sure it connected with PSTN cable and the cable is under service.

Chan Extension Context Language MOH Interpret Blocked State Description
pseudo default default In Service
2 from-internal en default In Service
4 from-analog en default In Service

i thought maybe the FXO module was broken. so did complete reinstall of system and put new FXO module using port 4 and new FXS module using port 2. I still get the same problem. I have checked the PSTN line and it functions fine. Now when i ring 07715552952 i get this

[2016-03-05 13:46:58] VERBOSE[4798][C-0000000a] app_dial.c: – Called DAHDI/r0/07715552952
[2016-03-05 13:46:58] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:46:58] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:46:59] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:01] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:02] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:04] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:05] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:07] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:08] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:10] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:11] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:13] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] app_dial.c: – DAHDI/2-1 is ringing
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] sig_analog.c: – Hanging up on ‘DAHDI/2-1’
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] chan_dahdi.c: – Hungup ‘DAHDI/2-1’
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/702-00000009’ in macro ‘dialout-trunk’
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] pbx.c: == Spawn extension (from-internal, 07715552952, 7) exited non-zero on ‘SIP/702-00000009’
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/702-00000009”, “”) in new stack
[2016-03-05 13:47:14] VERBOSE[4798][C-0000000a] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/702-00000009’

when i listen in on the PSTN line, there is just a dial tone. Free PBX doesnt seem to be making the physical connection to the port?