Can not dial extensions after restore from backup

To xfer our pbx to new hardware a backup and restore was performed.

After the restore the extensions could not be dialed. However calls which led to a recorded message worked fine.

After some searching tried with one extension removing and re-adding it. This then rendered that extension callable. Is there a way to avoid having to do this for more than 100+ extensions ?

It feels like bug - but would require more testing to confirm. Log of a failed call is shown below. Looks like the extensions are returning a state “NOANSWER” immediately.

Any ideas would be much appreciated.

Regards - Allan

[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [426@from-internal:1] GotoIf("SIP/424-00000004", "1?ext-local,426,1:followme-check,426,1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (ext-local,426,1)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [426@ext-local:1] Set("SIP/424-00000004", "__RINGTIMER=30") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [426@ext-local:2] Macro("SIP/424-00000004", "exten-vm,novm,426,0,0,0") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:1] Macro("SIP/424-00000004", "user-callerid,") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/424-00000004", "TOUCH_MONITOR=1551117196.13") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/424-00000004", "AMPUSER=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SIP/424-00000004", "0?report") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SIP/424-00000004", "1?Set(REALCALLERIDNUM=424)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/424-00000004", "AMPUSER=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SIP/424-00000004", "0?limit") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/424-00000004", "AMPUSERCIDNAME=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("SIP/424-00000004", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("SIP/424-00000004", "1?report") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-user-callerid,s,16)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:16] NoOp("SIP/424-00000004", "Macro Depth is 2") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("SIP/424-00000004", "1?report2:macroerror") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("SIP/424-00000004", "0?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("SIP/424-00000004", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:20] Set("SIP/424-00000004", "__TTL=64") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:21] GotoIf("SIP/424-00000004", "1?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:37] Set("SIP/424-00000004", "CALLERID(number)=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:38] Set("SIP/424-00000004", "CALLERID(name)=Allan Pickett") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("SIP/424-00000004", "0?cnum") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:40] Set("SIP/424-00000004", "CDR(cnam)=Allan Pickett") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:41] Set("SIP/424-00000004", "CDR(cnum)=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-user-callerid:42] Set("SIP/424-00000004", "CHANNEL(language)=en") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:2] Set("SIP/424-00000004", "RingGroupMethod=none") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:3] Set("SIP/424-00000004", "__EXTTOCALL=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:4] Set("SIP/424-00000004", "__PICKUPMARK=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:5] Set("SIP/424-00000004", "RT=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:6] ExecIf("SIP/424-00000004", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:7] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:8] ExecIf("SIP/424-00000004", "0?Gosub(ext-intercom,*80426,1())") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:9] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:10] ExecIf("SIP/424-00000004", "0?ChanSpy(,q)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:11] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:12] ExecIf("SIP/424-00000004", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:13] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:14] ExecIf("SIP/424-00000004", "0?Gosub(ext-intercom,*80426,1())") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:15] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:16] ExecIf("SIP/424-00000004", "0?ChanSpy(,q)") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:17] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] ERROR[15811][C-0000000b] pbx_functions.c: Function PJSIP_HEADER not registered
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:18] Gosub("SIP/424-00000004", "sub-record-check,s,1(exten,426,dontcare)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/424-00000004", "0?initialized") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:2] Set("SIP/424-00000004", "__REC_STATUS=INITIALIZED") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:3] Set("SIP/424-00000004", "NOW=1551117196") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:4] Set("SIP/424-00000004", "__DAY=25") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:5] Set("SIP/424-00000004", "__MONTH=02") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:6] Set("SIP/424-00000004", "__YEAR=2019") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:7] Set("SIP/424-00000004", "__TIMESTR=20190225-185316") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:8] Set("SIP/424-00000004", "__FROMEXTEN=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:9] Set("SIP/424-00000004", "__MON_FMT=wav") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/424-00000004", "Recordings initialized") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/424-00000004", "0?Set(ARG3=dontcare)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:12] Set("SIP/424-00000004", "REC_POLICY_MODE_SAVE=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/424-00000004", "0?Set(REC_STATUS=NO)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/424-00000004", "5?checkaction") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/424-00000004", "1?sub-record-check,exten,1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (sub-record-check,exten,1)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:1] NoOp("SIP/424-00000004", "Exten Recording Check between 424 and 426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:2] Set("SIP/424-00000004", "CALLTYPE=internal") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:3] ExecIf("SIP/424-00000004", "0?Set(CALLTYPE=)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:4] Set("SIP/424-00000004", "CALLEE=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:5] ExecIf("SIP/424-00000004", "1?Set(CALLEE=dontcare)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:6] GotoIf("SIP/424-00000004", "0?callee") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:7] GotoIf("SIP/424-00000004", "1?caller") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (sub-record-check,exten,13)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:13] Set("SIP/424-00000004", "RECMODE=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:14] ExecIf("SIP/424-00000004", "1?Set(RECMODE=dontcare)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:15] ExecIf("SIP/424-00000004", "1?Set(RECMODE=dontcare)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:16] Gosub("SIP/424-00000004", "recordcheck,1(dontcare,internal,426)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/424-00000004", "Starting recording check against dontcare") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/424-00000004", "dontcare") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [recordcheck@sub-record-check:3] Return("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [exten@sub-record-check:17] Return("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:19] GotoIf("SIP/424-00000004", "1?macrodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-exten-vm,s,25)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:25] GosubIf("SIP/424-00000004", "0?clrheader,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:26] Macro("SIP/424-00000004", "dial-one,,Ttr,426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:1] Set("SIP/424-00000004", "DEXTEN=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:2] ExecIf("SIP/424-00000004", "0?Set(__EXTTOCALL=426)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:3] Set("SIP/424-00000004", "DIALSTATUS_CW=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:4] GosubIf("SIP/424-00000004", "0?screen,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:5] GosubIf("SIP/424-00000004", "0?cf,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:6] GotoIf("SIP/424-00000004", "1?skip1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,9)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:9] GotoIf("SIP/424-00000004", "0?nodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:10] GotoIf("SIP/424-00000004", "0?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:11] Set("SIP/424-00000004", "EXTHASCW=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:12] GotoIf("SIP/424-00000004", "1?next1:cwinusebusy") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,13)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:13] GotoIf("SIP/424-00000004", "0?docfu:skip3") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,17)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:17] GotoIf("SIP/424-00000004", "1?next2:continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,18)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:18] GotoIf("SIP/424-00000004", "1?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,26)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:26] GotoIf("SIP/424-00000004", "0?nodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:27] GosubIf("SIP/424-00000004", "1?dstring,1():dlocal,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [dstring@macro-dial-one:1] Set("SIP/424-00000004", "DSTRING=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [dstring@macro-dial-one:2] Set("SIP/424-00000004", "DEVICES=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf("SIP/424-00000004", "1?Return()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:28] GotoIf("SIP/424-00000004", "1?nodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-dial-one,s,59)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:59] NoOp("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:60] ExecIf("SIP/424-00000004", "1?Set(DIALSTATUS=NOANSWER)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:61] NoOp("SIP/424-00000004", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER")
 in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-dial-one:62] MacroExit("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:27] Set("SIP/424-00000004", "SV_DIALSTATUS=NOANSWER") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:28] GosubIf("SIP/424-00000004", "0?docfu,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:29] GosubIf("SIP/424-00000004", "0?docfb,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:30] Set("SIP/424-00000004", "DIALSTATUS=NOANSWER") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:31] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s@macro-exten-vm:32] GotoIf("SIP/424-00000004", "1?s-NOANSWER,1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx_builtins.c: Goto (macro-exten-vm,s-NOANSWER,1)
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s-NOANSWER@macro-exten-vm:1] GotoIf("SIP/424-00000004", "0?exit,1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s-NOANSWER@macro-exten-vm:2] PlayTones("SIP/424-00000004", "congestion") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s-NOANSWER@macro-exten-vm:3] Congestion("SIP/424-00000004", "10") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] app_macro.c: Spawn extension (macro-exten-vm, s-NOANSWER, 3) exited non-zero on 'SIP/424-00000004' in macro 'exten-vm'
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Spawn extension (ext-local, 426, 2) exited non-zero on 'SIP/424-00000004'
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [h@ext-local:1] Macro("SIP/424-00000004", "hangupcall,") in new stack

It is likely you lost your asterisk sqlite3 database, you could perhaps copy it from the old machine /var/lib/asterisk/astdb.sqlite3 to a the new machine with asterisk stopped or regenerate it by rather tediously editing but not changing anything on each extension , space then backspace at the end of a convenient field, and saving , reload after they have all been ‘unmodified’ :slight_smile:

1 Like

I agree with @dicko, there are missing astdb entries. What happens if you edit and resubmit an extension without making any changes?

Thanks for the quick response - and especially a few rays of hope :slight_smile:
Will try it out as soon as I can. For now thanks to your hints a quick query on the astdb shows a significant difference between an extension which does not work and one that was recreated so I am very hopeful.

Very much appreciated.
Cheers A

This extension does not ring
asterisk -rx “database show” | grep 424
/AMPUSER/424/answermode : disabled
/AMPUSER/424/followme/annmsg :
/AMPUSER/424/followme/dring :
/AMPUSER/424/followme/grppre :
/AMPUSER/424/followme/postdest : ext-local,424,dest
/AMPUSER/424/followme/remotealertmsg :
/AMPUSER/424/followme/ringing : Ring
/AMPUSER/424/followme/rvolume :
/AMPUSER/424/followme/strategy : ringallv2-prim
/AMPUSER/424/followme/toolatemsg :
/AMPUSER/424/hint : &Custom:DND424,CustomPresence:424
/CALLTRACE/424 : 0621299231
/CALLTRACE/427 : 424

This extension does work (was recreated)

asterisk -rx "database show" | grep 427
/AMPUSER/427/answermode                           : disabled                 
/AMPUSER/427/cfringtimer                          : 0                        
/AMPUSER/427/cidname                              : Thomas           
/AMPUSER/427/cidnum                               : 427                      
/AMPUSER/427/concurrency_limit                    : 0                        
/AMPUSER/427/device                               : 427                      
/AMPUSER/427/dictate/email                        :                          
/AMPUSER/427/dictate/enabled                      : disabled                 
/AMPUSER/427/dictate/format                       : ogg                      
/AMPUSER/427/dictate/from                         : XXXXXXXXXXXXXXXX
/AMPUSER/427/followme/annmsg                      :                          
/AMPUSER/427/followme/changecid                   : default                  
/AMPUSER/427/followme/ddial                       : EXTENSION                
/AMPUSER/427/followme/dring                       :                          
/AMPUSER/427/followme/fixedcid                    :                          
/AMPUSER/427/followme/grpconf                     : DISABLED                 
/AMPUSER/427/followme/grplist                     : 427                      
/AMPUSER/427/followme/grppre                      :                          
/AMPUSER/427/followme/grptime                     : 20                       
/AMPUSER/427/followme/postdest                    : ext-local,427,dest       
/AMPUSER/427/followme/prering                     : 7                        
/AMPUSER/427/followme/remotealertmsg              :                          
/AMPUSER/427/followme/ringing                     : Ring                     
/AMPUSER/427/followme/rvolume                     :                          
/AMPUSER/427/followme/strategy                    : ringallv2-prim           
/AMPUSER/427/followme/toolatemsg                  :                          
/AMPUSER/427/hint                                 : SIP/427&Custom:DND427,CustomPresence:427
/AMPUSER/427/intercom                             : enabled                  
/AMPUSER/427/intercom/override                    : reject                   
/AMPUSER/427/language                             :                          
/AMPUSER/427/noanswer                             :                          
/AMPUSER/427/novmpw                               : yes                      
/AMPUSER/427/outboundcid                          : <467889594>              
/AMPUSER/427/password                             :                          
/AMPUSER/427/queues/qnostate                      : usestate                 
/AMPUSER/427/recording                            :                          
/AMPUSER/427/recording/in/external                : dontcare                 
/AMPUSER/427/recording/in/internal                : dontcare                 
/AMPUSER/427/recording/ondemand                   : disabled                 
/AMPUSER/427/recording/out/external               : dontcare                 
/AMPUSER/427/recording/out/internal               : dontcare                 
/AMPUSER/427/recording/priority                   : 10                       
/AMPUSER/427/ringtimer                            : 0                        
/AMPUSER/427/rvolume                              :                          
/AMPUSER/427/voicemail                            : default                  
/CALLTRACE/427                                    : 424                      
/CW/427                                           : ENABLED                  
/CustomDevstate/FOLLOWME427                       : NOT_INUSE                
/DEVICE/427/default_user                          : 427                      
/DEVICE/427/dial                                  : SIP/427                  
/DEVICE/427/type                                  : fixed                    
/DEVICE/427/user                                  : 427

If the “Change without changing” thing works, you could do a Builk Handler “update” of the extensions and then Apply Config. That should generate all of the extensions again (I think).

1 Like

Big thanks to everyone. Used the bulk handler. Exported and re-imported the list. And now the extensions work.

Discovered the EPM bulk export/import - which is also a nice feature. Can keep a safe copy of the extensions and their mappings to phones.

Have a great weekend.

Allan

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