Report: firstnotonphone not working with zaptel fxs but OK with sip

Hello there.
With reference to calls coming in from external lines, and I know documentation seems to advise no guarantees here, firstnotonphone works flawlessly with incoming calls directed to a sip extension, but not with the zaptel extension, when the first listed phone (Zap extension 2003) is in use. Firstnotonphone is configured to go to Sip extension 2001 if 2003 is in use. On the CLI, I see the screen overflowing with data, some of which is pasted below. The PC is making overloaded noises at this time. Eventually amportal seems to reboot (well thats what seems to be happening on screen) and the the caller is sent to the ‘destination if not answered’.

I tried putting only 2001 (ie a sip extension) in the follow-me list, and setting the initial ring time (ie for 2003) to 20 secs (as opposed to zero) but that didn’t help. Am using
-freepbx 2.3.0.3
-asterisk 1.2.13 admittedly not the latest
-ZAPTEL_VERSION “SVN-trunk-r1223M” - corresponding to version 1.2.17.1

I am posting this mainly for developers as I am happy with SIP operation.

CLI:
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘unknown’ number is 'unknown’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘firstnotonphone’
– dialparties.agi: Added extension 2003 to extension map
– dialparties.agi: Added extension 2001 to extension map
– dialparties.agi: Extension 2003 cf is disabled
– dialparties.agi: Extension 2001 cf is disabled
– dialparties.agi: Extension 2003 do not disturb is disabled
– dialparties.agi: Extension 2001 do not disturb is disabled
> dialparties.agi: extnum 2003 has: cw: 0; hascfb: 1 [2003] hascfu: 0 []
> dialparties.agi: ExtensionState: 1
dialparties.agi: Extension 2003 has ExtensionState: 1
– dialparties.agi: Checking CW and CFB status for extension 2003
dialparties.agi: Extension 2003 is not available to be called
dialparties.agi: Extension 2003 has call forward on busy set to 2003
> dialparties.agi: Built External dialstring component for 2003: Local/2003@from-internal/n
> dialparties.agi: extnum 2001 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 2001 has ExtensionState: 0
– dialparties.agi: Checking CW and CFB status for extension 2001
> dialparties.agi: NODEST: 2003 adding M(auto-blkvm) to dialopts: tTrwWM(auto-blkvm)
> dialparties.agi: NODEST: 2003 blkvm enabled macro already in dialopts: tTrwWM(auto-blkvm)
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing NoOp(“Local/2003@from-internal-9eb7,2”, "Returned from dialparties with hunt groups to dial ") in new stack
– Executing Set(“Local/2003@from-internal-9eb7,2”, “HuntLoop=0”) in new stack
– Executing GotoIf(“Local/2003@from-internal-9eb7,2”, "1?30 ") in new stack
– Goto (macro-dial,s,30)
– Executing Set(“Local/2003@from-internal-9eb7,2”, “HuntMember=HuntMember0”) in new stack
– Executing GotoIf(“Local/2003@from-internal-9eb7,2”, "0?32:35 ") in new stack
– Goto (macro-dial,s,35)
– Executing GotoIf(“Local/2003@from-internal-9eb7,2”, "0?36:50 ") in new stack
– Goto (macro-dial,s,50)
– Executing DBdel(“Local/2003@from-internal-9eb7,2”, “CALLTRACE/”) in new stack
– DBdel: family=CALLTRACE, key=
– DBdel: Error deleting key from database.
– Executing Goto(“Local/2003@from-internal-9eb7,2”, “s|42”) in new stack
– Goto (macro-dial,s,42)
– Executing Dial(“Local/2003@from-internal-9eb7,2”, "Local/2003@from-internal/n|20|tTrwWM(auto-blkvm) ") in new stack
– Called 2003@from-internal/n
– Executing GotoIf(“Local/2003@from-internal-8a4c,2”, “0?ext-local|2003|1”) in new stack
– Executing Macro(“Local/2003@from-internal-8a4c,2”, “user-callerid|”) in new stack
– Executing NoOp(“Local/2003@from-internal-8a4c,2”, "user-callerid: ") in new stack
– Executing Set(“Local/2003@from-internal-8a4c,2”, “AMPUSER=”) in new stack
– Executing GotoIf(“Local/2003@from-internal-8a4c,2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“Local/2003@from-internal-8a4c,2”, "TTL: 1 ARG1: ") in new stack
– Executing GotoIf(“Local/2003@from-internal-8a4c,2”, “0?continue”) in new stack
– Executing Set(“Local/2003@from-internal-8a4c,2”, “__TTL=0”) in new stack
– Executing GotoIf(“Local/2003@from-internal-8a4c,2”, “0?continue”) in new stack
– Executing Wait(“Local/2003@from-internal-8a4c,2”, “30”) in new stack
– Local/2003@from-internal-9eb7,1 is ringing
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Zap/2-1’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Zap/2-1’
– Executing Macro(“Zap/2-1”, “hangupcall”) in new stack
– Executing ResetCDR(“Zap/2-1”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-5e0b,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-5e0b,2’
– Executing Macro(“Local/2003@from-internal-5e0b,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-5e0b,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-a595,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-a595,2’
– Executing Macro(“Local/2003@from-internal-a595,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-a595,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4762,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4762,2’
– Executing Macro(“Local/2003@from-internal-4762,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-4762,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-a0cf,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-a0cf,2’
– Executing Macro(“Local/2003@from-internal-a0cf,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-a0cf,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9a50,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9a50,2’
– Executing Macro(“Local/2003@from-internal-9a50,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-9a50,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-e50d,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-e50d,2’
– Executing Macro(“Local/2003@from-internal-e50d,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-e50d,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-eb95,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-eb95,2’
– Executing Macro(“Local/2003@from-internal-eb95,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-eb95,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4b32,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4b32,2’
– Executing Macro(“Local/2003@from-internal-4b32,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-4b32,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ce09,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ce09,2’
– Executing Macro(“Local/2003@from-internal-ce09,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-ce09,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ee36,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ee36,2’
– Executing Macro(“Local/2003@from-internal-ee36,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-ee36,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-2cf9,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-2cf9,2’
– Executing Macro(“Local/2003@from-internal-2cf9,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-2cf9,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-d86f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-d86f,2’
– Executing Macro(“Local/2003@from-internal-d86f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-d86f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0f76,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0f76,2’
– Executing Macro(“Local/2003@from-internal-0f76,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-0f76,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b07f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b07f,2’
– Executing Macro(“Local/2003@from-internal-b07f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-b07f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0f7c,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0f7c,2’
– Executing Macro(“Local/2003@from-internal-0f7c,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-0f7c,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-26c6,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-26c6,2’
– Executing Macro(“Local/2003@from-internal-26c6,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-26c6,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-acef,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-acef,2’
– Executing Macro(“Local/2003@from-internal-acef,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-acef,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1e70,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1e70,2’
– Executing Macro(“Local/2003@from-internal-1e70,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-1e70,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-bfe3,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-bfe3,2’
– Executing Macro(“Local/2003@from-internal-bfe3,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-bfe3,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-aa72,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-aa72,2’
– Executing Macro(“Local/2003@from-internal-aa72,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-aa72,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-70bf,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-70bf,2’
– Executing Macro(“Local/2003@from-internal-70bf,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-70bf,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1e1e,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1e1e,2’
– Executing Macro(“Local/2003@from-internal-1e1e,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-1e1e,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-c004,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-c004,2’
– Executing Macro(“Local/2003@from-internal-c004,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-c004,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0e6d,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0e6d,2’
– Executing Macro(“Local/2003@from-internal-0e6d,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-0e6d,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-bb96,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-bb96,2’
– Executing Macro(“Local/2003@from-internal-bb96,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-bb96,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-d47b,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-d47b,2’
– Executing Macro(“Local/2003@from-internal-d47b,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-d47b,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-c1dc,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-c1dc,2’
– Executing Macro(“Local/2003@from-internal-c1dc,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-c1dc,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-00e1,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-00e1,2’
– Executing Macro(“Local/2003@from-internal-00e1,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-00e1,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-09a1,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-09a1,2’
– Executing Macro(“Local/2003@from-internal-09a1,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-09a1,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-f2fa,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-f2fa,2’
– Executing Macro(“Local/2003@from-internal-f2fa,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-f2fa,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-196f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-196f,2’
– Executing Macro(“Local/2003@from-internal-196f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-196f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-502d,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-502d,2’
– Executing Macro(“Local/2003@from-internal-502d,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-502d,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ca8f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ca8f,2’
– Executing Macro(“Local/2003@from-internal-ca8f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-ca8f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-981a,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-981a,2’
– Executing Macro(“Local/2003@from-internal-981a,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-981a,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-e54c,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-e54c,2’
– Executing Macro(“Local/2003@from-internal-e54c,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-e54c,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-84f5,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-84f5,2’
– Executing Macro(“Local/2003@from-internal-84f5,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-84f5,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ce37,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-ce37,2’
– Executing Macro(“Local/2003@from-internal-ce37,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-ce37,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-94d2,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-94d2,2’
– Executing Macro(“Local/2003@from-internal-94d2,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-94d2,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7ead,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7ead,2’
– Executing Macro(“Local/2003@from-internal-7ead,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-7ead,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b280,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b280,2’
– Executing Macro(“Local/2003@from-internal-b280,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-b280,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7573,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7573,2’
– Executing Macro(“Local/2003@from-internal-7573,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-7573,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-98f3,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-98f3,2’
– Executing Macro(“Local/2003@from-internal-98f3,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-98f3,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-abd4,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-abd4,2’
– Executing Macro(“Local/2003@from-internal-abd4,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-abd4,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-148f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-148f,2’
– Executing Macro(“Local/2003@from-internal-148f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-148f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-8c5f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-8c5f,2’
– Executing Macro(“Local/2003@from-internal-8c5f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-8c5f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-20a8,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-20a8,2’
– Executing Macro(“Local/2003@from-internal-20a8,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-20a8,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4d60,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-4d60,2’
– Executing Macro(“Local/2003@from-internal-4d60,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-4d60,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-cf81,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-cf81,2’
– Executing Macro(“Local/2003@from-internal-cf81,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-cf81,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-8ade,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-8ade,2’
– Executing Macro(“Local/2003@from-internal-8ade,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-8ade,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-982f,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-982f,2’
– Executing Macro(“Local/2003@from-internal-982f,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-982f,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-eaef,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-eaef,2’
– Executing Macro(“Local/2003@from-internal-eaef,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-eaef,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-98f2,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-98f2,2’
– Executing Macro(“Local/2003@from-internal-98f2,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-98f2,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-23fb,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-23fb,2’
– Executing Macro(“Local/2003@from-internal-23fb,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-23fb,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9e6a,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9e6a,2’
– Executing Macro(“Local/2003@from-internal-9e6a,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-9e6a,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0c00,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-0c00,2’
– Executing Macro(“Local/2003@from-internal-0c00,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-0c00,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-45f8,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-45f8,2’
– Executing Macro(“Local/2003@from-internal-45f8,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-45f8,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-3388,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-3388,2’
– Executing Macro(“Local/2003@from-internal-3388,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-3388,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9193,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9193,2’
– Executing Macro(“Local/2003@from-internal-9193,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-9193,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-3728,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-3728,2’
– Executing Macro(“Local/2003@from-internal-3728,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-3728,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7e8a,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-7e8a,2’
– Executing Macro(“Local/2003@from-internal-7e8a,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-7e8a,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1f59,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-1f59,2’
– Executing Macro(“Local/2003@from-internal-1f59,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-1f59,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b9aa,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-b9aa,2’
– Executing Macro(“Local/2003@from-internal-b9aa,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-b9aa,2”, “w”) in new stack
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9eb7,2’ in macro ‘dial’
== Spawn extension (macro-dial, s, 42) exited non-zero on ‘Local/2003@from-internal-9eb7,2’
– Executing Macro(“Local/2003@from-internal-9eb7,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-9eb7,2”, “w”) in new stack
== Spawn extension (macro-user-callerid, s, 17) exited non-zero on ‘Local/2003@from-internal-8a4c,2’ in macro ‘user-callerid’
== Spawn extension (macro-user-callerid, s, 17) exited non-zero on ‘Local/2003@from-internal-8a4c,2’
– Executing Macro(“Local/2003@from-internal-8a4c,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/2003@from-internal-8a4c,2”, “w”) in new stack
– Executing NoCDR(“Zap/2-1”, “”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“Zap/2-1”, “0?skipblkvm”) in new stack
– Executing NoOp(“Zap/2-1”, “Cleaning Up Block VM Flag: BLKVM/2003/Zap/2-1”) in new stack
– Executing DBdel(“Zap/2-1”, “BLKVM/2003/Zap/2-1”) in new stack
– DBdel: family=BLKVM, key=2003/Zap/2-1
– Executing NoCDR(“Local/2003@from-internal-5e0b,2”, “”) in new stack
– Executing GotoIf(“Local/2003@from-internal-5e0b,2”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“Local/2003@from-internal-5e0b,2”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing GotoIf(“Local/2003@from-internal-5e0b,2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing Hangup(“Local/2003@from-internal-5e0b,2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/2003@from-internal-5e0b,2’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/2003@from-internal-5e0b,2

Hi
The problem recurred, using SIP. I found the primary extension (2003) had call forward busy activated:

asterisk1*CLI> database show

/CFB/2003 : 2003

so I typed:
asterisk1*CLI> database del CFB 2003

and the problem resolved

I also deactivated the feature codes (*90, *91 etc) that activated Call Forwarding…they are obviously not compatible with firstnotonphone! It must have been activated accidentally when staff were checking voicemails (via *97)

Rgds
Compused

iirc - CFB will override a phone being marked as ‘busy’ since the user has chosen to say ‘call this extension if I’m busy’ thus treating it as such. I’m sure an argument could be made that by definition, firstnotonphone should still ignore this phone and skip to the next one and the original author may have overlooked this case. If you fee the operation is incorrect, I would suggest filing a bug against it, put the repro instructions there, and put your argument how it should work and why so we can retain that information when reviewing changes and bug fixes.