Sangoma A200 Call Detection

Is there any way of making a Sangoma A200 and Freepbx make a desk phones ring straight away at the moment if you ring in there is 3 to 4 rings before my phone rings.

You should get the first ring before the internal phones start because it is waiting for CallerID - with 3-4 I would guess that you are doing FAX Detection - when it is doing this, it won’t ring the phones until it’s done listening for FAX.

Greg

Greg

Fax detection not in use, just checked all extensions in case i missed something.

Rich

FAX detection is enabled on Inbound routes, not extensions - extensions can have FAX enabled, but that has nothing to do with detection - check the inbound routes.

Greg

Greg

No to inbound routes not enabled, TBH didnt even think of that one.

Rich

That’s weird then - can you post a CLI capture of an inbound call?

Deleted due to post duplicated

[2015-04-27 11:29:42] VERBOSE[3046][C-000010f5] sig_analog.c: == Starting post polarity CID detection on channel 1
[2015-04-27 11:29:42] VERBOSE[16603][C-000010f5] sig_analog.c: – Starting simple switch on ‘DAHDI/1-1’
[2015-04-27 11:29:47] NOTICE[16603][C-000010f5] chan_dahdi.c: Got event 18 (Ring Begin)…
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Detected ring pattern: 0,0,0
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Checking 0,0,0
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern check range: 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern matched in range: -10 to 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern check range: 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern matched in range: -10 to 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern check range: 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Ring pattern matched in range: -10 to 10
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Distinctive Ring matched context from-analog
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] NoOp(“DAHDI/1-1”, "Entering from-dahdi with DID == ") in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Ringing(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (from-analog,s,9)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:12] Macro(“DAHDI/1-1”, “from-dahdi-1,s,1”) in new stack
[2015-04-27 11:29:47] WARNING[16603][C-000010f5] app_macro.c: No such context ‘macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by [email protected]
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:13] NoOp(“DAHDI/1-1”, “Returned from Macro from-dahdi-1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:14] Goto(“DAHDI/1-1”, “from-pstn,s,1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (from-pstn,s,1)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] ExecIf(“DAHDI/1-1”, “1?Set(__FROM_DID=s)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(in,s,force)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “0?initialized”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “__REC_STATUS=INITIALIZED”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] Set(“DAHDI/1-1”, “NOW=1430130587”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] Set(“DAHDI/1-1”, “__DAY=27”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Set(“DAHDI/1-1”, “__MONTH=04”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] Set(“DAHDI/1-1”, “__YEAR=2015”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Set(“DAHDI/1-1”, “__TIMESTR=20150427-112947”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:8] Set(“DAHDI/1-1”, “__FROMEXTEN=unknown”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:9] Set(“DAHDI/1-1”, “__MON_FMT=wav”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:14] GotoIf(“DAHDI/1-1”, “2?checkaction”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,s,17)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:17] GotoIf(“DAHDI/1-1”, “1?sub-record-check,in,1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,in,1)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] NoOp(“DAHDI/1-1”, “Inbound Recording Check to s”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “FROMEXTEN=unknown”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] ExecIf(“DAHDI/1-1”, “12?Set(FROMEXTEN=900000000000)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] Gosub(“DAHDI/1-1”, “recordcheck,1(force,in,s)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] NoOp(“DAHDI/1-1”, “Starting recording check against force”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Goto(“DAHDI/1-1”, “force”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,recordcheck,5)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Set(“DAHDI/1-1”, “__REC_POLICY_MODE=FORCE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] GotoIf(“DAHDI/1-1”, “1?startrec”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,recordcheck,16)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:16] NoOp(“DAHDI/1-1”, “Starting recording: in, s”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:17] Set(“DAHDI/1-1”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:18] Set(“DAHDI/1-1”, “__CALLFILENAME=in-s-900000000000-20150427-112947-1430130582.8676”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:19] MixMonitor(“DAHDI/1-1”, “2015/04/27/in-s-900000000000-20150427-112947-1430130582.8676.wav,ai(LOCAL_MIXMON_ID),”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:20] Set(“DAHDI/1-1”, “__MIXMON_ID=0xb720c2d8”) in new stack
[2015-04-27 11:29:47] VERBOSE[16604][C-000010f5] app_mixmonitor.c: == Begin MixMonitor Recording DAHDI/1-1
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:21] Set(“DAHDI/1-1”, “__RECORD_ID=DAHDI/1-1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:22] Set(“DAHDI/1-1”, “__REC_STATUS=RECORDING”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:23] Set(“DAHDI/1-1”, “CDR(recordingfile)=in-s-900000000000-20150427-112947-1430130582.8676.wav”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:24] Return(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Return(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] Gosub(“DAHDI/1-1”, “app-blacklist-check,s,1()”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] Return(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] Set(“DAHDI/1-1”, “CDR(did)=s”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] ExecIf(“DAHDI/1-1”, “1 ?Set(CALLERID(name)=900000000000)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] Set(“DAHDI/1-1”, “CHANNEL(musicclass)=default”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Set(“DAHDI/1-1”, “__MOHCLASS=default”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:8] Ringing(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] WARNING[16603][C-000010f5] func_channel.c: Unknown or unavailable item requested: ‘reversecharge’
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:9] GotoIf(“DAHDI/1-1”, “0?macro-hangupcall”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:10] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:11] Set(“DAHDI/1-1”, “CALLERPRES()=allowed_not_screened”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:12] Goto(“DAHDI/1-1”, “timeconditions,2,1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (timeconditions,2,1)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] Set(“DAHDI/1-1”, “DB(TC/2/INUSESTATE)=INUSE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “DB(TC/2/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] GotoIfTime(“DAHDI/1-1”, “08:30-20:30,mon-fri,,?truestate”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (timeconditions,2,12)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:12] GotoIf(“DAHDI/1-1”, “0?falsegoto”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:13] ExecIf(“DAHDI/1-1”, “0?Set(DB(TC/2)=)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:14] Set(“DAHDI/1-1”, “DEVICE_STATE(Custom:TC2)=NOT_INUSE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:15] ExecIf(“DAHDI/1-1”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:16] GotoIf(“DAHDI/1-1”, “1?ext-group,600,1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (ext-group,600,1)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] Macro(“DAHDI/1-1”, “user-callerid,”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] Set(“DAHDI/1-1”, “TOUCH_MONITOR=1430130582.8676”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “AMPUSER=900000000000”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] ExecIf(“DAHDI/1-1”, “1?Set(REALCALLERIDNUM=900000000000)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] GotoIf(“DAHDI/1-1”, “0?limit”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:8] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (macro-user-callerid,s,16)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:16] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:17] ExecIf(“DAHDI/1-1”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:18] Set(“DAHDI/1-1”, “__TTL=64”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:19] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (macro-user-callerid,s,30)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:30] Set(“DAHDI/1-1”, “CALLERID(number)=900000000000”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:31] Set(“DAHDI/1-1”, “CALLERID(name)=900000000000”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:32] Set(“DAHDI/1-1”, “CDR(cnum)=900000000000”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:33] Set(“DAHDI/1-1”, “CDR(cnam)=900000000000”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:34] Set(“DAHDI/1-1”, “CHANNEL(language)=en”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Macro(“DAHDI/1-1”, “blkvm-setifempty,”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “1?init”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (macro-blkvm-setifempty,s,4)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] Set(“DAHDI/1-1”, “__BLKVM_CHANNEL=DAHDI/1-1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Set(“DAHDI/1-1”, “SHARED(BLKVM,DAHDI/1-1)=TRUE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] Set(“DAHDI/1-1”, “GOSUB_RETVAL=TRUE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] MacroExit(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] GotoIf(“DAHDI/1-1”, “1?skipov”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (ext-group,600,6)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] Set(“DAHDI/1-1”, “RRNODEST=”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Set(“DAHDI/1-1”, “__NODEST=600”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:8] GosubIf(“DAHDI/1-1”, “0?sub-rgsetcid,s,1()”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:9] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(rg,600,always)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “12?initialized”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,s,10)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=FORCE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:14] GotoIf(“DAHDI/1-1”, “2?checkaction”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,s,17)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:17] GotoIf(“DAHDI/1-1”, “0?sub-record-check,rg,1”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:18] NoOp(“DAHDI/1-1”, “Generic rg Recording Check - 900000000000 600”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:19] Gosub(“DAHDI/1-1”, “recordcheck,1(always,rg,600)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] NoOp(“DAHDI/1-1”, “Starting recording check against always”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Goto(“DAHDI/1-1”, “always”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Goto (sub-record-check,recordcheck,4)
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] NoOp(“DAHDI/1-1”, “Detected legacy “always” entry. Mapping to “force””) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:5] Set(“DAHDI/1-1”, “__REC_POLICY_MODE=FORCE”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:6] GotoIf(“DAHDI/1-1”, “0?startrec”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Return(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:20] Return(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:10] Set(“DAHDI/1-1”, “RingGroupMethod=ringall”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:11] Macro(“DAHDI/1-1”, “dial,20,Ttr,210-204”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/1-1”, “0?dial”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] Set(“DAHDI/1-1”, “CHANNEL(musicclass)=default”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:3] AGI(“DAHDI/1-1”, “dialparties.agi”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: dialparties.agi: Caller ID name is ‘900000000000’ number is ‘900000000000’
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: dialparties.agi: Methodology of ring is ‘ringall’
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Added extension 210 to extension map
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Added extension 204 to extension map
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Extension 210 cf is disabled
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Extension 204 cf is disabled
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Extension 210 do not disturb is disabled
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Extension 204 do not disturb is disabled
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: dbset CALLTRACE/210 to 900000000000
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: dbset CALLTRACE/204 to 900000000000
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – dialparties.agi: Filtered ARG3: 210-204
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] res_agi.c: – <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:7] Dial(“DAHDI/1-1”, “SIP/210&SIP/204,20,TtrM(auto-blkvm)”) in new stack
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] netsock2.c: == Using SIP RTP TOS bits 184
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] netsock2.c: == Using SIP RTP CoS mark 5
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] netsock2.c: == Using SIP RTP TOS bits 184
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] netsock2.c: == Using SIP RTP CoS mark 5
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – Called SIP/210
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – Called SIP/204
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – SIP/204-0000000a connected line has changed. Saving it until answer for DAHDI/1-1
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – SIP/210-00000009 connected line has changed. Saving it until answer for DAHDI/1-1
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – SIP/210-00000009 connected line has changed. Saving it until answer for DAHDI/1-1
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – SIP/210-00000009 is ringing
[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] app_dial.c: – SIP/204-0000000a is ringing
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] app_macro.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘DAHDI/1-1’ in macro ‘dial’
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: == Spawn extension (ext-group, 600, 11) exited non-zero on ‘DAHDI/1-1’
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:1] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=in-s-900000000000-20150427-112947-1430130582.8676.wav)”) in new stack
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:2] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: – Goto (macro-hangupcall,s,4)
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: – Executing [[email protected]:4] Hangup(“DAHDI/1-1”, “”) in new stack
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] pbx.c: == Spawn extension (ext-group, h, 1) exited non-zero on ‘DAHDI/1-1’
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] sig_analog.c: – Hanging up on ‘DAHDI/1-1’
[2015-04-27 11:29:59] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Hungup ‘DAHDI/1-1’
[2015-04-27 11:29:59] VERBOSE[16604][C-000010f5] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2015-04-27 11:29:59] VERBOSE[16604][C-000010f5] app_mixmonitor.c: == End MixMonitor Recording DAHDI/1-1
[2015-04-27 11:30:00] VERBOSE[16606] pbx_spool.c: – Attempting call on Local/[email protected] for application NoCDR() (Retry 1)
[2015-04-27 11:30:00] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
[2015-04-27 11:30:00] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “TCMAINT=RETURN”) in new stack
[2015-04-27 11:30:00] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:3] Gosub(“Local/[email protected];2”, “timeconditions,1,1()”) in new stack
[2015-04-27 11:30:00] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/1/INUSESTATE)=INUSE”) in new stack
[2015-04-27 11:30:00] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/1/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “09:00-16:30,mon-fri,,?truestate”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Goto (timeconditions,1,12)
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:12] GotoIf(“Local/[email protected];2”, “0?falsegoto”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/1)=)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:14] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:16] GotoIf(“Local/[email protected];2”, “0?ext-group,600,1”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:17] Set(“Local/[email protected];2”, “TCSTATE=true”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:18] Set(“Local/[email protected];2”, “TCOVERRIDE=false”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:19] Return(“Local/[email protected];2”, “”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:4] Gosub(“Local/[email protected];2”, “timeconditions,2,1()”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/2/INUSESTATE)=INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/2/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “08:30-20:30,mon-fri,,?truestate”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Goto (timeconditions,2,12)
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:12] GotoIf(“Local/[email protected];2”, “0?falsegoto”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/2)=)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:14] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC2)=NOT_INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:16] GotoIf(“Local/[email protected];2”, “0?ext-group,600,1”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:17] Set(“Local/[email protected];2”, “TCSTATE=true”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:18] Set(“Local/[email protected];2”, “TCOVERRIDE=false”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:19] Return(“Local/[email protected];2”, “”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:5] Gosub(“Local/[email protected];2”, “timeconditions,3,1()”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(TC/3/INUSESTATE)=INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “DB(TC/3/NOT_INUSESTATE)=NOT_INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:3] GotoIfTime(“Local/[email protected];2”, “08:30-12:00,sat,,?truestate”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:4] GotoIf(“Local/[email protected];2”, “0?truegoto”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:5] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/3)=)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:6] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC3)=INUSE”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:7] ExecIf(“Local/[email protected];2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?ivr-1,s,1”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:9] Set(“Local/[email protected];2”, “TCSTATE=false”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:10] Set(“Local/[email protected];2”, “TCOVERRIDE=false”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:11] Return(“Local/[email protected];2”, “”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:6] System(“Local/[email protected];2”, “/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: – Executing [[email protected]:7] Answer(“Local/[email protected];2”, “”) in new stack
[2015-04-27 11:30:01] VERBOSE[16607][C-000010f6] pbx.c: == Spawn extension (tc-maint, s, 7) exited non-zero on ‘Local/[email protected];2’

Greg

Sorry its late, had some family issues to attend to.

Posted log twice and it been removed twice ?

It’s because you have Distinctive Ring Detection turned on - Look at the timing on this line:

[2015-04-27 11:29:42] VERBOSE[3046][C-000010f5] sig_analog.c: == Starting post polarity CID detection on channel 1

Versus this line:

[2015-04-27 11:29:47] VERBOSE[16603][C-000010f5] chan_dahdi.c: – Distinctive Ring matched context from-analog

There is your 5 seconds, and everything between the lines is talking about Distinctive Ring Detection!

By default this is turned off, so I don’t know how it got turned on - unless you are actually using Distinctive Ring.

Here is the setting:

usedistinctiveringdetection=no

So, if you are not using it, search through /etc/asterisk/chan_dahdi.conf, and /etc/asterisk/dahdi-channels.conf and see where it is getting set and set to yes and set it to no.

1 Like

Greg

Thanks, i put usedistinctiveringdetection=no in and it didnt make any difference, but then looked at the files you suggested and found that fax detection must have been setup on installation of the card. Ran setup-sangoma and removed fax detection and used distinctivering also and it has halfed the ring time, down to an acceptable 1.5 ring before desk phone rings.

Heres where i found it

; Autogenerated by /usr/sbin/setup-sangoma 2014-06-04
; If you edit this file and execute /usr/sbin/setup-sangoma again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
;Sangoma AFT-200 [slot:4 bus:2 span:1]
context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 2

context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 3

context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 4

Where do i send the Beer?

Pay it forward - we switched to SIP trunks years ago, so my Zaptel/Dahdi knowledge is slowly getting out of date - watch the forums, and if you have seen a problem before, respond to other posters - there is too much reliance here on the Schmooze people for problems with Asterisk - it’s a complex beast, so if you know something, say something!

Glad you are working right now!