Memoryhunt & zap extension --Problem

Hi
The Zap extension as the first in the memoryhunt list fails to continue ringing after expiration of the initial ring time…CLI (below) indicates the zap extension is hung up at this point, then asterisk attempts to re-ring this Zap extension (along with the next extension, which is a SIP extension, in the memory hunt list, successfully) but CLI says ‘couldn’t call 3’ where ‘3’ is the zap extension.

I presume this is because asterisk sees the Zap extension as not having hung up?

I am using Zaptel 1.4.2.1, freepbx 2.3.0, asterisk 1.2.13 originally from a trixbox package and it is a genuine tdm400p card and module

Here’s hopin’ someone knows somethin’

Signed:
Compused :question:

**Here is the CLI:

– Starting simple switch on ‘Zap/2-1’
– Executing NoOp(“Zap/2-1”, "Entering from-zaptel with DID == ") in new stack
– Executing Ringing(“Zap/2-1”, “”) in new stack
– Executing Set(“Zap/2-1”, “DID=s”) in new stack
– Executing NoOp(“Zap/2-1”, “DID is now s”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,8)
– Executing NoOp(“Zap/2-1”, “Is a Zaptel Channel”) in new stack
– Executing Set(“Zap/2-1”, “CHAN=2-1”) in new stack
– Executing Set(“Zap/2-1”, “CHAN=2”) in new stack
– Executing Macro(“Zap/2-1”, “from-zaptel-2|s|1”) in new stack
– Executing NoOp(“Zap/2-1”, “Returned from Macro from-zaptel-2”) in new stack
– Executing Goto(“Zap/2-1”, “from-pstn|s|1”) in new stack
– Goto (from-pstn,s,1)
– Executing Set(“Zap/2-1”, “__FROM_DID=s”) in new stack
– Executing Gosub(“Zap/2-1”, “app-blacklist-check|s|1”) in new stack
– Executing LookupBlacklist(“Zap/2-1”, “”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?blacklisted”) in new stack
– Executing Return(“Zap/2-1”, “”) in new stack
– Executing GotoIf(“Zap/2-1”, “0 ?cidok”) in new stack
– Executing Set(“Zap/2-1”, “CALLERID(name)=”) in new stack
– Executing NoOp(“Zap/2-1”, “CallerID is “” <>”) in new stack
– Executing Ringing(“Zap/2-1”, “”) in new stack
– Executing Set(“Zap/2-1”, “FAX_RX=disabled”) in new stack
– Executing Goto(“Zap/2-1”, “ext-group|650|1”) in new stack
– Goto (ext-group,650,1)
– Executing Macro(“Zap/2-1”, “user-callerid|”) in new stack
– Executing NoOp(“Zap/2-1”, "user-callerid: ") in new stack
– Executing Set(“Zap/2-1”, “AMPUSER=”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?report”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?start”) in new stack
– Executing Set(“Zap/2-1”, “REALCALLERIDNUM=”) in new stack
– Executing NoOp(“Zap/2-1”, "REALCALLERIDNUM is ") in new stack
– Executing Set(“Zap/2-1”, “AMPUSER=”) in new stack
– Executing Set(“Zap/2-1”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“Zap/2-1”, "TTL: ARG1: ") in new stack
– Executing GotoIf(“Zap/2-1”, “0?continue”) in new stack
– Executing Set(“Zap/2-1”, “__TTL=64”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“Zap/2-1”, “Using CallerID “” <>”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?skipdb”) in new stack
– Goto (ext-group,650,4)
– Executing Set(“Zap/2-1”, “__NODEST=”) in new stack
– Executing Set(“Zap/2-1”, “__BLKVM_OVERRIDE=BLKVM/650/Zap/2-1”) in new stack
– Executing Set(“Zap/2-1”, “__BLKVM_BASE=650”) in new stack
– Executing Set(“Zap/2-1”, “DB(BLKVM/650/Zap/2-1)=TRUE”) in new stack
– Executing Set(“Zap/2-1”, “RRNODEST=”) in new stack
– Executing Set(“Zap/2-1”, “__NODEST=650”) in new stack
– Executing Set(“Zap/2-1”, “__ALERT_INFO=Bellcore-r7”) in new stack
– Executing Set(“Zap/2-1”, “RecordMethod=Group”) in new stack
– Executing Macro(“Zap/2-1”, “record-enable|2003-2005|Group”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing AGI(“Zap/2-1”, “recordingcheck|20071013-111146|1192273905.1219”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“Zap/2-1”, “No recording needed”) in new stack
– Executing Set(“Zap/2-1”, “RingGroupMethod=memoryhunt”) in new stack
– Executing Macro(“Zap/2-1”, “dial|10|tTrwW|2003-2005”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing AGI(“Zap/2-1”, “dialparties.agi”) in new stack
– 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: Setting Alert-Info: Bellcore-r7
– AGI Script Executing Application: (SIPAddHeader) Options: (Alert-Info:Bellcore-r7)
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘memoryhunt’
– dialparties.agi: Added extension 2003 to extension map
– dialparties.agi: Added extension 2005 to extension map
– dialparties.agi: Extension 2003 cf is disabled
– dialparties.agi: Extension 2005 cf is disabled
– dialparties.agi: Extension 2003 do not disturb is disabled
– dialparties.agi: Extension 2005 do not disturb is disabled
> dialparties.agi: extnum 2003 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 2003 has ExtensionState: 0
– dialparties.agi: Checking CW and CFB status for extension 2003
> dialparties.agi: extnum 2005 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 2005 has ExtensionState: 0
– dialparties.agi: Checking CW and CFB status for extension 2005
> dialparties.agi: NODEST: 650 adding M(auto-blkvm) to dialopts: tTrwWM(auto-blkvm)
> dialparties.agi: NODEST: 650 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(“Zap/2-1”, "Returned from dialparties with hunt groups to dial ") in new stack
– Executing Set(“Zap/2-1”, “HuntLoop=0”) in new stack
– Executing GotoIf(“Zap/2-1”, "1?30 ") in new stack
– Goto (macro-dial,s,30)
– Executing Set(“Zap/2-1”, “HuntMember=HuntMember0”) in new stack
– Executing GotoIf(“Zap/2-1”, "0?32:35 ") in new stack
– Goto (macro-dial,s,35)
– Executing GotoIf(“Zap/2-1”, "1?36:50 ") in new stack
– Goto (macro-dial,s,36)
– Executing Set(“Zap/2-1”, “CTLoop=0”) in new stack
– Executing GotoIf(“Zap/2-1”, "0?42 ") in new stack
– Executing Set(“Zap/2-1”, “CT_EXTEN=2003”) in new stack
– Executing Set(“Zap/2-1”, “DB(CALLTRACE/2003)=unknown”) in new stack
– Executing Set(“Zap/2-1”, “CTLoop=1”) in new stack
– Executing Goto(“Zap/2-1”, “s|37”) in new stack
– Goto (macro-dial,s,37)
– Executing GotoIf(“Zap/2-1”, "1?42 ") in new stack
– Goto (macro-dial,s,42)
– Executing Dial(“Zap/2-1”, "ZAP/3|10|tTrwWM(auto-blkvm) ") in new stack
– Called 3
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Zap/3-1 is ringing
– Nobody picked up in 10000 ms
– Hungup ‘Zap/3-1’
– Executing Set(“Zap/2-1”, “HuntLoop=1”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?46”) in new stack
– Goto (macro-dial,s,46)
– Executing Set(“Zap/2-1”, “HuntMembers=1”) in new stack
– Executing Goto(“Zap/2-1”, “s|22”) in new stack
– Goto (macro-dial,s,22)
– Executing GotoIf(“Zap/2-1”, "1?30 ") in new stack
– Goto (macro-dial,s,30)
– Executing Set(“Zap/2-1”, “HuntMember=HuntMember1”) in new stack
– Executing GotoIf(“Zap/2-1”, "0?32:35 ") in new stack
– Goto (macro-dial,s,35)
– Executing GotoIf(“Zap/2-1”, "1?36:50 ") in new stack
– Goto (macro-dial,s,36)
– Executing Set(“Zap/2-1”, “CTLoop=0”) in new stack
– Executing GotoIf(“Zap/2-1”, "0?42 ") in new stack
– Executing Set(“Zap/2-1”, “CT_EXTEN=2003”) in new stack
– Executing Set(“Zap/2-1”, “DB(CALLTRACE/2003)=unknown”) in new stack
– Executing Set(“Zap/2-1”, “CTLoop=1”) in new stack
– Executing Goto(“Zap/2-1”, “s|37”) in new stack
– Goto (macro-dial,s,37)
– Executing GotoIf(“Zap/2-1”, "0?42 ") in new stack
– Executing Set(“Zap/2-1”, “CT_EXTEN=2005”) in new stack
– Executing Set(“Zap/2-1”, “DB(CALLTRACE/2005)=unknown”) in new stack
– Executing Set(“Zap/2-1”, “CTLoop=2”) in new stack
– Executing Goto(“Zap/2-1”, “s|37”) in new stack
– Goto (macro-dial,s,37)
– Executing GotoIf(“Zap/2-1”, "1?42 ") in new stack
– Goto (macro-dial,s,42)
– Executing Dial(“Zap/2-1”, "ZAP/3&SIP/2005|10|tTrwWM(auto-blkvm) ") in new stack
– Couldn’t call 3
– Hungup ‘Zap/3-1’
– Called 2005
– SIP/2005-09c3a778 is ringing
– Nobody picked up in 10000 ms
– Executing Set(“Zap/2-1”, “HuntLoop=2”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?46”) in new stack
– Goto (macro-dial,s,46)
– Executing Set(“Zap/2-1”, “HuntMembers=0”) in new stack
– Executing Goto(“Zap/2-1”, “s|22”) in new stack
– Goto (macro-dial,s,22)
– Executing GotoIf(“Zap/2-1”, "0?30 ") in new stack
– Executing NoOp(“Zap/2-1”, “Returning there are no members left in the hunt group to ring”) in new stack
– Executing Set(“Zap/2-1”, “RingGroupMethod=”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?nodest”) in new stack
– Executing Set(“Zap/2-1”, “__NODEST=”) in new stack
– Executing DBdel(“Zap/2-1”, “BLKVM/650/Zap/2-1”) in new stack
– DBdel: family=BLKVM, key=650/Zap/2-1
– Executing Goto(“Zap/2-1”, “ext-group|600|1”) in new stack
– Goto (ext-group,600,1)
– Executing Macro(“Zap/2-1”, “user-callerid|”) in new stack
– Executing NoOp(“Zap/2-1”, "user-callerid: ") in new stack
– Executing Set(“Zap/2-1”, “AMPUSER=”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?report”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?start”) in new stack
– Executing Set(“Zap/2-1”, “REALCALLERIDNUM=”) in new stack
– Executing NoOp(“Zap/2-1”, "REALCALLERIDNUM is ") in new stack
– Executing Set(“Zap/2-1”, “AMPUSER=”) in new stack
– Executing Set(“Zap/2-1”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“Zap/2-1”, "TTL: 64 ARG1: ") in new stack
– Executing GotoIf(“Zap/2-1”, “0?continue”) in new stack
– Executing Set(“Zap/2-1”, “__TTL=63”) in new stack
– Executing GotoIf(“Zap/2-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“Zap/2-1”, “Using CallerID “” <>”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?skipdb”) in new stack
– Executing GotoIf(“Zap/2-1”, “0?skipov”) in new stack
– Executing Set(“Zap/2-1”, “__NODEST=”) in new stack
– Executing Set(“Zap/2-1”, “__BLKVM_OVERRIDE=BLKVM/600/Zap/2-1”) in new stack
– Executing Set(“Zap/2-1”, “__BLKVM_BASE=600”) in new stack
– Executing Set(“Zap/2-1”, “DB(BLKVM/600/Zap/2-1)=TRUE”) in new stack
– Executing Set(“Zap/2-1”, “RRNODEST=”) in new stack
– Executing Set(“Zap/2-1”, “__NODEST=600”) in new stack
– Executing Set(“Zap/2-1”, “__ALERT_INFO=Bellcore-r7”) in new stack
– Executing Set("Zap/2-1