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 [[email protected]: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 [[email protected]:1] Set("SIP/424-00000004", "__RINGTIMER=30") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:1] Macro("SIP/424-00000004", "user-callerid,") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:2] Set("SIP/424-00000004", "AMPUSER=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:3] GotoIf("SIP/424-00000004", "0?report") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:5] Set("SIP/424-00000004", "AMPUSER=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:6] GotoIf("SIP/424-00000004", "0?limit") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:7] Set("SIP/424-00000004", "AMPUSERCIDNAME=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:18] GotoIf("SIP/424-00000004", "0?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:20] Set("SIP/424-00000004", "__TTL=64") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:37] Set("SIP/424-00000004", "CALLERID(number)=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:39] GotoIf("SIP/424-00000004", "0?cnum") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:41] Set("SIP/424-00000004", "CDR(cnum)=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:42] Set("SIP/424-00000004", "CHANNEL(language)=en") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:2] Set("SIP/424-00000004", "RingGroupMethod=none") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:3] Set("SIP/424-00000004", "__EXTTOCALL=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:4] Set("SIP/424-00000004", "__PICKUPMARK=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:5] Set("SIP/424-00000004", "RT=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:7] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:9] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:10] ExecIf("SIP/424-00000004", "0?ChanSpy(,q)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:1] GotoIf("SIP/424-00000004", "0?initialized") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:2] Set("SIP/424-00000004", "__REC_STATUS=INITIALIZED") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:3] Set("SIP/424-00000004", "NOW=1551117196") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:4] Set("SIP/424-00000004", "__DAY=25") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:5] Set("SIP/424-00000004", "__MONTH=02") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:6] Set("SIP/424-00000004", "__YEAR=2019") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:7] Set("SIP/424-00000004", "__TIMESTR=20190225-185316") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:8] Set("SIP/424-00000004", "__FROMEXTEN=424") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:9] Set("SIP/424-00000004", "__MON_FMT=wav") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:10] NoOp("SIP/424-00000004", "Recordings initialized") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:2] Set("SIP/424-00000004", "CALLTYPE=internal") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:3] ExecIf("SIP/424-00000004", "0?Set(CALLTYPE=)") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:4] Set("SIP/424-00000004", "CALLEE=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:6] GotoIf("SIP/424-00000004", "0?callee") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:13] Set("SIP/424-00000004", "RECMODE=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:3] Return("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:17] Return("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:25] GosubIf("SIP/424-00000004", "0?clrheader,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:1] Set("SIP/424-00000004", "DEXTEN=426") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:3] Set("SIP/424-00000004", "DIALSTATUS_CW=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:4] GosubIf("SIP/424-00000004", "0?screen,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:5] GosubIf("SIP/424-00000004", "0?cf,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:9] GotoIf("SIP/424-00000004", "0?nodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:10] GotoIf("SIP/424-00000004", "0?continue") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:11] Set("SIP/424-00000004", "EXTHASCW=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:26] GotoIf("SIP/424-00000004", "0?nodial") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [s[email protected]: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 [[email protected]:1] Set("SIP/424-00000004", "DSTRING=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:2] Set("SIP/424-00000004", "DEVICES=") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:3] ExecIf("SIP/424-00000004", "1?Return()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:59] NoOp("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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 [[email protected]:62] MacroExit("SIP/424-00000004", "") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:27] Set("SIP/424-00000004", "SV_DIALSTATUS=NOANSWER") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:28] GosubIf("SIP/424-00000004", "0?docfu,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:29] GosubIf("SIP/424-00000004", "0?docfb,1()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:30] Set("SIP/424-00000004", "DIALSTATUS=NOANSWER") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:31] ExecIf("SIP/424-00000004", "0?MacroExit()") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]:1] GotoIf("SIP/424-00000004", "0?exit,1") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]:2] PlayTones("SIP/424-00000004", "congestion") in new stack
[2019-02-25 18:53:16] VERBOSE[15811][C-0000000b] pbx.c: Executing [[email protected]: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 [[email protected]: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.