No dial tone on FXS port

That’s very counter-intuitive ha ah well.

Great! Be sure to also check /etc/dahdi/system.conf and paste the contents

dahdi/system.conf contains the following

fxsks=3,4
echocanceller=oslec,3,4
fxoks=1,2
echocanceller=oslec,1,2
loadzone=uk
defaultzone=uk

That looks OK. Just let me know what happens when you are able to re-configure DAHDI and restart both DAHDI and asterisk. Hope it helps!

Just to confirm I need to change channel 2’s group to 3 as you stated earlier?

Yes, you should set group 3 for channel 2.

Great thanks for the help

Tried this today and doesnt seem to have fixed the issue annoyingly

Have you checked if the file has been actually updated?

Yes checked the config file it was updated properly

Time to open up the server and swap the modules on the card, unless anyone can provide another suggestion

Slight update on the issue. We now have a dial tone via a handset on both of the ports however I am still not able to dial in or out of it although when i do try and ring it asterisk does call it as if the port is in use its just the phone on the end does not ring. Maybe something to do with voltage switching that the phone isnt picking up?

Have you done anything specific to get dialtone?

Re-seated the whole card and both modules in the PBX

That’s good to know! At least the module nor card are faulty and we can focus on fixing the conf.
Can you post the log of the call so we can check what is asterisk doing?

Yes, at least the issue is config now rather than hardware.

So here is what i get when i try and call the phone from my extension. If i try to make a call from the actual analogue phone, nothing appears in the asterisk logs so it must not be going through.

[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [3000@from-internal:1] GotoIf(“PJSIP/2024-0000000a”, “1?ext-local,3000,1:followme-check,3000,1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (ext-local,3000,1)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [3000@ext-local:1] Set(“PJSIP/2024-0000000a”, “__RINGTIMER=25”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [3000@ext-local:2] Macro(“PJSIP/2024-0000000a”, “exten-vm,novm,3000,0,0,0”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:1] Macro(“PJSIP/2024-0000000a”, “user-callerid,”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/2024-0000000a”, “TOUCH_MONITOR=1502706850.41”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/2024-0000000a”, “AMPUSER=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“PJSIP/2024-0000000a”, “0?report”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“PJSIP/2024-0000000a”, “1?Set(REALCALLERIDNUM=2024)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/2024-0000000a”, “AMPUSER=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“PJSIP/2024-0000000a”, “0?limit”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/2024-0000000a”, “AMPUSERCIDNAME=James Nurse”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/2024-0000000a”, “0?report”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/2024-0000000a”, “AMPUSERCID=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/2024-0000000a”, “__DIAL_OPTIONS=Ttr”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/2024-0000000a”, “CALLERID(all)=“James Nurse” <2024>”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:12] GotoIf(“PJSIP/2024-0000000a”, “0?limit”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/2024-0000000a”, “0?Set(GROUP(concurrency_limit)=2024)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/2024-0000000a”, “0?Set(CHANNEL(language)=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:15] GotoIf(“PJSIP/2024-0000000a”, “0?continue”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:16] ExecIf(“PJSIP/2024-0000000a”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:17] Set(“PJSIP/2024-0000000a”, “__TTL=64”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/2024-0000000a”, “1?continue”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:29] Set(“PJSIP/2024-0000000a”, “CALLERID(number)=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:30] Set(“PJSIP/2024-0000000a”, “CALLERID(name)=James Nurse”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“PJSIP/2024-0000000a”, “0?cnum”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:32] Set(“PJSIP/2024-0000000a”, “CDR(cnam)=James Nurse”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:33] Set(“PJSIP/2024-0000000a”, “CDR(cnum)=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-user-callerid:34] Set(“PJSIP/2024-0000000a”, “CHANNEL(language)=en”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:2] Set(“PJSIP/2024-0000000a”, “RingGroupMethod=none”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:3] Set(“PJSIP/2024-0000000a”, “__EXTTOCALL=3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:4] Set(“PJSIP/2024-0000000a”, “__PICKUPMARK=3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:5] Set(“PJSIP/2024-0000000a”, “RT=”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:6] ExecIf(“PJSIP/2024-0000000a”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:7] ExecIf(“PJSIP/2024-0000000a”, “0?MacroExit()”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:8] ExecIf(“PJSIP/2024-0000000a”, “0?Gosub(ext-intercom,*803000,1())”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:9] ExecIf(“PJSIP/2024-0000000a”, “0?MacroExit()”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] pbx_functions.c: Can’t find trailing parenthesis for function ‘DB(DEVICE/3000/dial’?
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:10] ExecIf(“PJSIP/2024-0000000a”, “0?ChanSpy(DAHDI/1,q)”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] WARNING[31409][C-00000021] pbx_functions.c: Can’t find trailing parenthesis for function ‘DB(DEVICE/3000/dial’?
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:11] ExecIf(“PJSIP/2024-0000000a”, “0?MacroExit()”) in new stack
[2017-08-14 11:34:10] WARNING[31409][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:12] Gosub(“PJSIP/2024-0000000a”, “sub-record-check,s,1(exten,3000,dontcare)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/2024-0000000a”, “0?initialized”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/2024-0000000a”, “__REC_STATUS=INITIALIZED”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/2024-0000000a”, “NOW=1502706850”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/2024-0000000a”, “__DAY=14”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/2024-0000000a”, “__MONTH=08”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/2024-0000000a”, “__YEAR=2017”) in new stack
[2017-08-14 11:34:10] SECURITY[3023] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“2017-08-14T11:34:10.338+0100”,Severity=“Informational”,Service=“AMI”,EventVersion=“1”,AccountID=“admin”,SessionID=“0x7f33f8063d20”,LocalAddress=“IPV4/TCP/0.0.0.0/5038”,RemoteAddress=“IPV4/TCP/127.0.0.1/53418”,UsingPassword=“0”,SessionTV=“2017-08-14T11:34:10.338+0100”
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/2024-0000000a”, “__TIMESTR=20170814-113410”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/2024-0000000a”, “__FROMEXTEN=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/2024-0000000a”, “__MON_FMT=wav”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/2024-0000000a”, “Recordings initialized”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/2024-0000000a”, “0?Set(ARG3=dontcare)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/2024-0000000a”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/2024-0000000a”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/2024-0000000a”, “5?checkaction”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/2024-0000000a”, “1?sub-record-check,exten,1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (sub-record-check,exten,1)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:1] NoOp(“PJSIP/2024-0000000a”, “Exten Recording Check between 2024 and 3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:2] Set(“PJSIP/2024-0000000a”, “CALLTYPE=internal”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:3] ExecIf(“PJSIP/2024-0000000a”, “0?Set(CALLTYPE=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:4] Set(“PJSIP/2024-0000000a”, “CALLEE=dontcare”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:5] ExecIf(“PJSIP/2024-0000000a”, “0?Set(CALLEE=dontcare)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:6] GotoIf(“PJSIP/2024-0000000a”, “0?callee”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:7] GotoIf(“PJSIP/2024-0000000a”, “1?caller”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (sub-record-check,exten,13)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:13] Set(“PJSIP/2024-0000000a”, “RECMODE=dontcare”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:14] ExecIf(“PJSIP/2024-0000000a”, “0?Set(RECMODE=dontcare)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:15] ExecIf(“PJSIP/2024-0000000a”, “1?Set(RECMODE=dontcare)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:16] Gosub(“PJSIP/2024-0000000a”, “recordcheck,1(dontcare,internal,3000)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/2024-0000000a”, “Starting recording check against dontcare”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/2024-0000000a”, “dontcare”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [exten@sub-record-check:17] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:13] GotoIf(“PJSIP/2024-0000000a”, “1?macrodial”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-exten-vm,s,19)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:19] GosubIf(“PJSIP/2024-0000000a”, “0?clrheader,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-exten-vm:20] Macro(“PJSIP/2024-0000000a”, “dial-one,Ttr,3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:1] Set(“PJSIP/2024-0000000a”, “DEXTEN=3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:2] Set(“PJSIP/2024-0000000a”, “__CRM_SOURCE=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:3] ExecIf(“PJSIP/2024-0000000a”, “0?Set(EXTTOCALL=3000)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:4] Set(“PJSIP/2024-0000000a”, “DIALSTATUS_CW=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:5] GosubIf(“PJSIP/2024-0000000a”, “0?screen,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:6] GosubIf(“PJSIP/2024-0000000a”, “0?cf,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:7] GotoIf(“PJSIP/2024-0000000a”, “1?skip1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-dial-one,s,10)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:10] GotoIf(“PJSIP/2024-0000000a”, “0?nodial”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:11] GotoIf(“PJSIP/2024-0000000a”, “0?continue”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:12] Set(“PJSIP/2024-0000000a”, “EXTHASCW=ENABLED”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:13] GotoIf(“PJSIP/2024-0000000a”, “0?next1:cwinusebusy”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-dial-one,s,25)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:25] GotoIf(“PJSIP/2024-0000000a”, “0?next3:continue”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-dial-one,s,27)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:27] GotoIf(“PJSIP/2024-0000000a”, “0?nodial”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:28] GosubIf(“PJSIP/2024-0000000a”, “1?dstring,1():dlocal,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:1] Set(“PJSIP/2024-0000000a”, “DSTRING=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:2] Set(“PJSIP/2024-0000000a”, “DEVICES=3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf(“PJSIP/2024-0000000a”, “0?Return()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf(“PJSIP/2024-0000000a”, “0?Set(DEVICES=000)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:5] Set(“PJSIP/2024-0000000a”, “LOOPCNT=1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:6] Set(“PJSIP/2024-0000000a”, “ITER=1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:7] Set(“PJSIP/2024-0000000a”, “THISDIAL=DAHDI/1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:8] GosubIf(“PJSIP/2024-0000000a”, “1?zap2dahdi,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:1] ExecIf(“PJSIP/2024-0000000a”, “0?Return()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:2] Set(“PJSIP/2024-0000000a”, “NEWDIAL=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:3] Set(“PJSIP/2024-0000000a”, “LOOPCNT2=1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:4] Set(“PJSIP/2024-0000000a”, “ITER2=1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:5] Set(“PJSIP/2024-0000000a”, “THISPART2=DAHDI/1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:6] ExecIf(“PJSIP/2024-0000000a”, “0?Set(THISPART2=DAHDIDI/1)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:7] Set(“PJSIP/2024-0000000a”, “NEWDIAL=DAHDI/1&”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:8] Set(“PJSIP/2024-0000000a”, “ITER2=2”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:9] GotoIf(“PJSIP/2024-0000000a”, “0?begin2”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:10] Set(“PJSIP/2024-0000000a”, “THISDIAL=DAHDI/1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [zap2dahdi@macro-dial-one:11] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:9] GotoIf(“PJSIP/2024-0000000a”, “1?docheck”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-dial-one,dstring,14)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf(“PJSIP/2024-0000000a”, “0?skipset”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:15] Set(“PJSIP/2024-0000000a”, “DSTRING=DAHDI/1&”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:16] Set(“PJSIP/2024-0000000a”, “ITER=2”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf(“PJSIP/2024-0000000a”, “0?begin”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf(“PJSIP/2024-0000000a”, “0?Return()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:19] Set(“PJSIP/2024-0000000a”, “DSTRING=DAHDI/1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [dstring@macro-dial-one:20] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:29] GotoIf(“PJSIP/2024-0000000a”, “0?nodial”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:30] GotoIf(“PJSIP/2024-0000000a”, “0?skiptrace”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:31] GosubIf(“PJSIP/2024-0000000a”, “1?ctset,1():ctclear,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [ctset@macro-dial-one:1] Set(“PJSIP/2024-0000000a”, “DB(CALLTRACE/3000)=2024”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [ctset@macro-dial-one:2] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:32] Set(“PJSIP/2024-0000000a”, “D_OPTIONS=Ttr”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:33] NoOp(“PJSIP/2024-0000000a”, "Blind Transfer: , Attended Transfer: , User: 2024, Alert Info: ") in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:34] ExecIf(“PJSIP/2024-0000000a”, “1?Set(ALERT_INFO=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:35] ExecIf(“PJSIP/2024-0000000a”, “0?Set(ALERT_INFO=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:36] ExecIf(“PJSIP/2024-0000000a”, “0?Set(ALERT_INFO=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:37] ExecIf(“PJSIP/2024-0000000a”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:38] ExecIf(“PJSIP/2024-0000000a”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:39] GosubIf(“PJSIP/2024-0000000a”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:40] ExecIf(“PJSIP/2024-0000000a”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:41] GosubIf(“PJSIP/2024-0000000a”, “0?qwait,1()”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:42] Set(“PJSIP/2024-0000000a”, “__CWIGNORE=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:43] Set(“PJSIP/2024-0000000a”, “__KEEPCID=TRUE”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:44] GotoIf(“PJSIP/2024-0000000a”, “0?usegoto,1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:45] GotoIf(“PJSIP/2024-0000000a”, “0?godial”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:46] Gosub(“PJSIP/2024-0000000a”, “sub-presencestate-display,s,1(3000)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@sub-presencestate-display:1] Goto(“PJSIP/2024-0000000a”, “state-not_set,1”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (sub-presencestate-display,state-not_set,1)
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [state-not_set@sub-presencestate-display:1] Set(“PJSIP/2024-0000000a”, “PRESENCESTATE_DISPLAY=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [state-not_set@sub-presencestate-display:2] Return(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:47] Set(“PJSIP/2024-0000000a”, “CONNECTEDLINE(name,i)=Alarm”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:48] Set(“PJSIP/2024-0000000a”, “CONNECTEDLINE(num)=3000”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:49] Set(“PJSIP/2024-0000000a”, “D_OPTIONS=TtrI”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:50] Macro(“PJSIP/2024-0000000a”, “dialout-one-predial-hook,”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:51] ExecIf(“PJSIP/2024-0000000a”, “0?Set(D_OPTIONS=trII)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-dial-one:52] Dial(“PJSIP/2024-0000000a”, “DAHDI/1,TtrIb(func-apply-sipheaders^s^1)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_stack.c: DAHDI/1-1 Internal Gosub(func-apply-sipheaders,s,1) start
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“DAHDI/1-1”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“DAHDI/1-1”, “Applying SIP Headers to channel”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“DAHDI/1-1”, “SIPHEADERKEYS=”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@func-apply-sipheaders:4] While(“DAHDI/1-1”, “0”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_while.c: Jumping to priority 8
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] pbx.c: Executing [s@func-apply-sipheaders:9] Return(“DAHDI/1-1”, “”) in new stack
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_stack.c: Spawn extension (from-analog, 3000, 1) exited non-zero on ‘DAHDI/1-1’
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_stack.c: DAHDI/1-1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_dial.c: Called DAHDI/1
[2017-08-14 11:34:10] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:11] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:11] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:14] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:14] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:17] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:17] VERBOSE[31409][C-00000021] app_dial.c: DAHDI/1-1 is ringing
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] sig_analog.c: Hanging up on ‘DAHDI/1-1’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] chan_dahdi.c: Hungup ‘DAHDI/1-1’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] app_macro.c: Spawn extension (macro-dial-one, s, 52) exited non-zero on ‘PJSIP/2024-0000000a’ in macro ‘dial-one’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] app_macro.c: Spawn extension (macro-exten-vm, s, 20) exited non-zero on ‘PJSIP/2024-0000000a’ in macro ‘exten-vm’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Spawn extension (ext-local, 3000, 2) exited non-zero on ‘PJSIP/2024-0000000a’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Executing [h@ext-local:1] Macro(“PJSIP/2024-0000000a”, “hangupcall,”) in new stack
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/2024-0000000a”, “1?theend”) in new stack
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/2024-0000000a”, “0?Set(CDR(recordingfile)=)”) in new stack
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“PJSIP/2024-0000000a”, “”) in new stack
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘PJSIP/2024-0000000a’ in macro ‘hangupcall’
[2017-08-14 11:34:19] VERBOSE[31409][C-00000021] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/2024-0000000a’

If I remember correctly, your FXS are on ports 3 and 4, and this is clearly stating DAHDI/1, which means your extension is pointing to port 1, I think that you should delete both your DAHDI trunk and DAHDI extensions and start over.

No FXS ports are 1 & 2, FXO are 3 & 4 as seen below. As far as i can see it calling 1-1 is correct as the analogue phone is connected to port 1 of the card.

In any case, if I were you, I would re-create both the trunk and the extensions.

When you say re-create the trunk, are you referring to the trunks we have setup for the two fxo lines? re-creating those would cause a bit of trouble as they are in use most of the time by users on the phone system.

I could re-create the extensions for the fxs lines, here is what is in the extension settings currently, i am assuming this is okay?