[asterisk-users] DAHDI disconnect supervision timing

Stephen Brown stephen.brown75 at gmail.com
Fri Sep 25 12:47:04 CDT 2009


Sure thing, this is if I hang up before it hits voicemail:

Asterisk 1.6.1.6, Copyright (C) 1999 - 2009 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' 
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it 
under
certain conditions. Type 'core show license' for details.
=========================================================================
   == Parsing '/etc/asterisk/asterisk.conf':   == Found
[Sep 25 13:32:16]   == Parsing '/etc/asterisk/extconfig.conf': [Sep 25 
13:32:16]   == Found
[Sep 25 13:32:16] Connected to Asterisk 1.6.1.6 currently running on 
chrislynn (pid = 2124)
Verbosity is at least 3
[Sep 25 13:32:43]     -- Starting simple switch on 'DAHDI/1-1'
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:1] NoOp("DAHDI/1-1", 
"Entering from-zaptel with DID == ") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:2] 
Ringing("DAHDI/1-1", "") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:3] Set("DAHDI/1-1", 
"DID=s") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:4] NoOp("DAHDI/1-1", 
"DID is now s") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:5] GotoIf("DAHDI/1-1", 
"1?zapok:notzap") in new stack
[Sep 25 13:32:44]     -- Goto (from-zaptel,s,8)
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:8] NoOp("DAHDI/1-1", 
"Is a Zaptel Channel") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:9] Set("DAHDI/1-1", 
"CHAN=1-1") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:10] Set("DAHDI/1-1", 
"CHAN=1") in new stack
[Sep 25 13:32:44]     -- Executing [s at from-zaptel:11] Macro("DAHDI/1-1", 
"from-zaptel-1,s,1") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-from-zaptel-1:1] 
NoOp("DAHDI/1-1", "Entering macro-from-zaptel-1 with DID = s and setting 
to: zapchan1") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-from-zaptel-1:2] 
Set("DAHDI/1-1", "__FROM_DID=zapchan1") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-from-zaptel-1:3] 
Goto("DAHDI/1-1", "from-trunk,zapchan1,1") in new stack
[Sep 25 13:32:44]     -- Goto (from-trunk,zapchan1,1)
[Sep 25 13:32:44]   == Channel 'DAHDI/1-1' jumping out of macro 
'from-zaptel-1'
[Sep 25 13:32:44]     -- Executing [zapchan1 at from-trunk:1] 
Set("DAHDI/1-1", "__FROM_DID=zapchan1") in new stack
[Sep 25 13:32:44]     -- Executing [zapchan1 at from-trunk:2] 
ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=xxxxxxxxxx)") in new stack
[Sep 25 13:32:44]     -- Executing [zapchan1 at from-trunk:3] 
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Sep 25 13:32:44]     -- Executing [zapchan1 at from-trunk:4] 
Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[Sep 25 13:32:44]     -- Executing [zapchan1 at from-trunk:5] 
Goto("DAHDI/1-1", "from-did-direct,100,1") in new stack
[Sep 25 13:32:44]     -- Goto (from-did-direct,100,1)
[Sep 25 13:32:44]     -- Executing [100 at from-did-direct:1] 
Macro("DAHDI/1-1", "exten-vm,100,100") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:1] 
Macro("DAHDI/1-1", "user-callerid") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:1] 
Set("DAHDI/1-1", "AMPUSER=xxxxxxxxxx") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:2] 
GotoIf("DAHDI/1-1", "0?report") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:3] 
ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=xxxxxxxxxx)") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:4] 
Set("DAHDI/1-1", "AMPUSER=") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:5] 
Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:6] 
GotoIf("DAHDI/1-1", "1?report") in new stack
[Sep 25 13:32:44]     -- Goto (macro-user-callerid,s,9)
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:9] 
GotoIf("DAHDI/1-1", "0?continue") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:10] 
Set("DAHDI/1-1", "__TTL=64") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:11] 
GotoIf("DAHDI/1-1", "1?continue") in new stack
[Sep 25 13:32:44]     -- Goto (macro-user-callerid,s,18)
[Sep 25 13:32:44]     -- Executing [s at macro-user-callerid:18] 
NoOp("DAHDI/1-1", "Using CallerID "xxxxxxxxxx" <xxxxxxxxxx>") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:2] Set("DAHDI/1-1", 
"RingGroupMethod=none") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:3] Set("DAHDI/1-1", 
"VMBOX=100") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:4] Set("DAHDI/1-1", 
"EXTTOCALL=100") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:5] Set("DAHDI/1-1", 
"CFUEXT=") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:6] Set("DAHDI/1-1", 
"CFBEXT=") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:7] Set("DAHDI/1-1", 
"RT=25") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:8] 
Macro("DAHDI/1-1", "record-enable,100,IN") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-record-enable:1] 
GotoIf("DAHDI/1-1", "1?check") in new stack
[Sep 25 13:32:44]     -- Goto (macro-record-enable,s,4)
[Sep 25 13:32:44]     -- Executing [s at macro-record-enable:4] 
AGI("DAHDI/1-1", "recordingcheck,20090925-133244,1253899963.12") in new 
stack
[Sep 25 13:32:44]     -- Launched AGI Script 
/var/lib/asterisk/agi-bin/recordingcheck
[Sep 25 13:32:44]  recordingcheck,20090925-133244,1253899963.12: Inbound 
recording not enabled
[Sep 25 13:32:44]     -- <DAHDI/1-1>AGI Script recordingcheck completed, 
returning 0
[Sep 25 13:32:44]     -- Executing [s at macro-record-enable:5] 
MacroExit("DAHDI/1-1", "") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-exten-vm:9] 
Macro("DAHDI/1-1", "dial,25,t,100") in new stack
[Sep 25 13:32:44]     -- Executing [s at macro-dial:1] GotoIf("DAHDI/1-1", 
"1?dial") in new stack
[Sep 25 13:32:44]     -- Goto (macro-dial,s,3)
[Sep 25 13:32:44]     -- Executing [s at macro-dial:3] AGI("DAHDI/1-1", 
"dialparties.agi") in new stack
[Sep 25 13:32:44]     -- Launched AGI Script 
/var/lib/asterisk/agi-bin/dialparties.agi
[Sep 25 13:32:44]  dialparties.agi: Starting New Dialparties.agi
[Sep 25 13:32:44]  dialparties.agi: Caller ID name is 'xxxxxxxxxx' 
number is 'xxxxxxxxxx'
[Sep 25 13:32:44]  dialparties.agi: Methodology of ring is  'none'
[Sep 25 13:32:44]     -- dialparties.agi: Added extension 100 to 
extension map
[Sep 25 13:32:44]     -- dialparties.agi: Extension 100 cf is disabled
[Sep 25 13:32:44]     -- dialparties.agi: Extension 100 do not disturb 
is disabled
[Sep 25 13:32:44]  dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
[Sep 25 13:32:44]     -- dialparties.agi: dbset CALLTRACE/100 to xxxxxxxxxx
[Sep 25 13:32:44]     -- dialparties.agi: Filtered ARG3: 100
[Sep 25 13:32:44]     -- <DAHDI/1-1>AGI Script dialparties.agi 
completed, returning 0
[Sep 25 13:32:44]     -- Executing [s at macro-dial:7] Dial("DAHDI/1-1", 
"SIP/100,25,t") in new stack
[Sep 25 13:32:44]   == Using SIP RTP TOS bits 184
[Sep 25 13:32:44]   == Using SIP RTP CoS mark 5
[Sep 25 13:32:44]     -- Called 100
[Sep 25 13:32:44]     -- SIP/100-086aef08 is ringing
[Sep 25 13:33:09]   == Spawn extension (macro-dial, s, 7) exited 
non-zero on 'DAHDI/1-1' in macro 'dial'
[Sep 25 13:33:09]   == Spawn extension (macro-exten-vm, s, 9) exited 
non-zero on 'DAHDI/1-1' in macro 'exten-vm'
[Sep 25 13:33:09]   == Spawn extension (from-did-direct, 100, 1) exited 
non-zero on 'DAHDI/1-1'
[Sep 25 13:33:09]     -- Hungup 'DAHDI/1-1'
chrislynn*CLI>

And this is if I hangup during voicemail:
[Sep 25 13:34:29]     -- Starting simple switch on 'DAHDI/1-1'
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:1] NoOp("DAHDI/1-1", 
"Entering from-zaptel with DID == ") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:2] 
Ringing("DAHDI/1-1", "") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:3] Set("DAHDI/1-1", 
"DID=s") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:4] NoOp("DAHDI/1-1", 
"DID is now s") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:5] GotoIf("DAHDI/1-1", 
"1?zapok:notzap") in new stack
[Sep 25 13:34:30]     -- Goto (from-zaptel,s,8)
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:8] NoOp("DAHDI/1-1", 
"Is a Zaptel Channel") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:9] Set("DAHDI/1-1", 
"CHAN=1-1") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:10] Set("DAHDI/1-1", 
"CHAN=1") in new stack
[Sep 25 13:34:30]     -- Executing [s at from-zaptel:11] Macro("DAHDI/1-1", 
"from-zaptel-1,s,1") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-from-zaptel-1:1] 
NoOp("DAHDI/1-1", "Entering macro-from-zaptel-1 with DID = s and setting 
to: zapchan1") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-from-zaptel-1:2] 
Set("DAHDI/1-1", "__FROM_DID=zapchan1") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-from-zaptel-1:3] 
Goto("DAHDI/1-1", "from-trunk,zapchan1,1") in new stack
[Sep 25 13:34:30]     -- Goto (from-trunk,zapchan1,1)
[Sep 25 13:34:30]   == Channel 'DAHDI/1-1' jumping out of macro 
'from-zaptel-1'
[Sep 25 13:34:30]     -- Executing [zapchan1 at from-trunk:1] 
Set("DAHDI/1-1", "__FROM_DID=zapchan1") in new stack
[Sep 25 13:34:30]     -- Executing [zapchan1 at from-trunk:2] 
ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=xxxxxxxxxx)") in new stack
[Sep 25 13:34:30]     -- Executing [zapchan1 at from-trunk:3] 
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Sep 25 13:34:30]     -- Executing [zapchan1 at from-trunk:4] 
Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[Sep 25 13:34:30]     -- Executing [zapchan1 at from-trunk:5] 
Goto("DAHDI/1-1", "from-did-direct,100,1") in new stack
[Sep 25 13:34:30]     -- Goto (from-did-direct,100,1)
[Sep 25 13:34:30]     -- Executing [100 at from-did-direct:1] 
Macro("DAHDI/1-1", "exten-vm,100,100") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:1] 
Macro("DAHDI/1-1", "user-callerid") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:1] 
Set("DAHDI/1-1", "AMPUSER=xxxxxxxxxx") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:2] 
GotoIf("DAHDI/1-1", "0?report") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:3] 
ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=xxxxxxxxxx)") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:4] 
Set("DAHDI/1-1", "AMPUSER=") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:5] 
Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:6] 
GotoIf("DAHDI/1-1", "1?report") in new stack
[Sep 25 13:34:30]     -- Goto (macro-user-callerid,s,9)
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:9] 
GotoIf("DAHDI/1-1", "0?continue") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:10] 
Set("DAHDI/1-1", "__TTL=64") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:11] 
GotoIf("DAHDI/1-1", "1?continue") in new stack
[Sep 25 13:34:30]     -- Goto (macro-user-callerid,s,18)
[Sep 25 13:34:30]     -- Executing [s at macro-user-callerid:18] 
NoOp("DAHDI/1-1", "Using CallerID "xxxxxxxxxx" <xxxxxxxxxx>") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:2] Set("DAHDI/1-1", 
"RingGroupMethod=none") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:3] Set("DAHDI/1-1", 
"VMBOX=100") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:4] Set("DAHDI/1-1", 
"EXTTOCALL=100") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:5] Set("DAHDI/1-1", 
"CFUEXT=") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:6] Set("DAHDI/1-1", 
"CFBEXT=") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:7] Set("DAHDI/1-1", 
"RT=25") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:8] 
Macro("DAHDI/1-1", "record-enable,100,IN") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-record-enable:1] 
GotoIf("DAHDI/1-1", "1?check") in new stack
[Sep 25 13:34:30]     -- Goto (macro-record-enable,s,4)
[Sep 25 13:34:30]     -- Executing [s at macro-record-enable:4] 
AGI("DAHDI/1-1", "recordingcheck,20090925-133430,1253900069.14") in new 
stack
[Sep 25 13:34:30]     -- Launched AGI Script 
/var/lib/asterisk/agi-bin/recordingcheck
[Sep 25 13:34:30]  recordingcheck,20090925-133430,1253900069.14: Inbound 
recording not enabled
[Sep 25 13:34:30]     -- <DAHDI/1-1>AGI Script recordingcheck completed, 
returning 0
[Sep 25 13:34:30]     -- Executing [s at macro-record-enable:5] 
MacroExit("DAHDI/1-1", "") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-exten-vm:9] 
Macro("DAHDI/1-1", "dial,25,t,100") in new stack
[Sep 25 13:34:30]     -- Executing [s at macro-dial:1] GotoIf("DAHDI/1-1", 
"1?dial") in new stack
[Sep 25 13:34:30]     -- Goto (macro-dial,s,3)
[Sep 25 13:34:30]     -- Executing [s at macro-dial:3] AGI("DAHDI/1-1", 
"dialparties.agi") in new stack
[Sep 25 13:34:30]     -- Launched AGI Script 
/var/lib/asterisk/agi-bin/dialparties.agi
[Sep 25 13:34:30]  dialparties.agi: Starting New Dialparties.agi
[Sep 25 13:34:30]  dialparties.agi: Caller ID name is 'xxxxxxxxxx' 
number is 'xxxxxxxxxx'
[Sep 25 13:34:30]  dialparties.agi: Methodology of ring is  'none'
[Sep 25 13:34:30]     -- dialparties.agi: Added extension 100 to 
extension map
[Sep 25 13:34:30]     -- dialparties.agi: Extension 100 cf is disabled
[Sep 25 13:34:30]     -- dialparties.agi: Extension 100 do not disturb 
is disabled
[Sep 25 13:34:30]  dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
[Sep 25 13:34:30]     -- dialparties.agi: dbset CALLTRACE/100 to xxxxxxxxxx
[Sep 25 13:34:30]     -- dialparties.agi: Filtered ARG3: 100
[Sep 25 13:34:30]     -- <DAHDI/1-1>AGI Script dialparties.agi 
completed, returning 0
[Sep 25 13:34:30]     -- Executing [s at macro-dial:7] Dial("DAHDI/1-1", 
"SIP/100,25,t") in new stack
[Sep 25 13:34:30]   == Using SIP RTP TOS bits 184
[Sep 25 13:34:30]   == Using SIP RTP CoS mark 5
[Sep 25 13:34:30]     -- Called 100
[Sep 25 13:34:30]     -- SIP/100-086aef08 is ringing
chrislynn*CLI>
[Sep 25 13:34:56]     -- Nobody picked up in 25000 ms
[Sep 25 13:34:56]     -- Executing [s at macro-dial:8] Set("DAHDI/1-1", 
"DIALSTATUS=NOANSWER") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-dial:9] GosubIf("DAHDI/1-1", 
"0?NOANSWER,1") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:10] 
GotoIf("DAHDI/1-1", "0?exit,return") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:11] 
Set("DAHDI/1-1", "SV_DIALSTATUS=NOANSWER") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:12] 
GosubIf("DAHDI/1-1", "0?docfu,1") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:13] 
GosubIf("DAHDI/1-1", "0?docfb,1") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:14] 
Set("DAHDI/1-1", "DIALSTATUS=NOANSWER") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:15] 
NoOp("DAHDI/1-1", "Voicemail is '100'") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:16] 
GotoIf("DAHDI/1-1", "0?s-NOANSWER,1") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:17] 
NoOp("DAHDI/1-1", "Sending to Voicemail box 100") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-exten-vm:18] 
Macro("DAHDI/1-1", "vm,100,NOANSWER,") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-vm:1] Macro("DAHDI/1-1", 
"user-callerid,SKIPTTL") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:1] 
Set("DAHDI/1-1", "AMPUSER=xxxxxxxxxx") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:2] 
GotoIf("DAHDI/1-1", "0?report") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:3] 
ExecIf("DAHDI/1-1", "0?Set(REALCALLERIDNUM=xxxxxxxxxx)") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:4] 
Set("DAHDI/1-1", "AMPUSER=") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:5] 
Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:6] 
GotoIf("DAHDI/1-1", "1?report") in new stack
[Sep 25 13:34:56]     -- Goto (macro-user-callerid,s,9)
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:9] 
GotoIf("DAHDI/1-1", "1?continue") in new stack
[Sep 25 13:34:56]     -- Goto (macro-user-callerid,s,18)
[Sep 25 13:34:56]     -- Executing [s at macro-user-callerid:18] 
NoOp("DAHDI/1-1", "Using CallerID "xxxxxxxxxx" <xxxxxxxxxx>") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-vm:2] Set("DAHDI/1-1", 
"VMGAIN=""") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-vm:3] GotoIf("DAHDI/1-1", 
"1?vmx,1") in new stack
[Sep 25 13:34:56]     -- Goto (macro-vm,vmx,1)
[Sep 25 13:34:56]     -- Executing [vmx at macro-vm:1] GotoIf("DAHDI/1-1", 
"0?s-NOANSWER,1") in new stack
[Sep 25 13:34:56]     -- Executing [vmx at macro-vm:2] Set("DAHDI/1-1", 
"MODE=unavail") in new stack
[Sep 25 13:34:56]     -- Executing [vmx at macro-vm:3] GotoIf("DAHDI/1-1", 
"1?notdirect") in new stack
[Sep 25 13:34:56]     -- Goto (macro-vm,vmx,5)
[Sep 25 13:34:56]     -- Executing [vmx at macro-vm:5] NoOp("DAHDI/1-1", 
"Checking if ext 100 is enabled: ") in new stack
[Sep 25 13:34:56]     -- Executing [vmx at macro-vm:6] GotoIf("DAHDI/1-1", 
"1?s-NOANSWER,1") in new stack
[Sep 25 13:34:56]     -- Goto (macro-vm,s-NOANSWER,1)
[Sep 25 13:34:56]     -- Executing [s-NOANSWER at macro-vm:1] 
Macro("DAHDI/1-1", "get-vmcontext,100") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-get-vmcontext:1] 
Set("DAHDI/1-1", "VMCONTEXT=default") in new stack
[Sep 25 13:34:56]     -- Executing [s at macro-get-vmcontext:2] 
GotoIf("DAHDI/1-1", "0?200:300") in new stack
[Sep 25 13:34:56]     -- Goto (macro-get-vmcontext,s,300)
[Sep 25 13:34:56]     -- Executing [s at macro-get-vmcontext:300] 
NoOp("DAHDI/1-1", "") in new stack
[Sep 25 13:34:56]     -- Executing [s-NOANSWER at macro-vm:2] 
VoiceMail("DAHDI/1-1", "100 at default,u""") in new stack
[Sep 25 13:34:56]     -- <DAHDI/1-1> Playing 'vm-theperson.gsm' 
(language 'en')
[Sep 25 13:34:58]     -- <DAHDI/1-1> Playing 'digits/1.gsm' (language 'en')
[Sep 25 13:34:58]     -- <DAHDI/1-1> Playing 'digits/0.gsm' (language 'en')
[Sep 25 13:34:59]     -- <DAHDI/1-1> Playing 'digits/0.gsm' (language 'en')
[Sep 25 13:35:00]     -- <DAHDI/1-1> Playing 'vm-isunavail.gsm' 
(language 'en')
[Sep 25 13:35:01]     -- <DAHDI/1-1> Playing 'vm-intro.gsm' (language 'en')
[Sep 25 13:35:07]     -- <DAHDI/1-1> Playing 'beep.gsm' (language 'en')
[Sep 25 13:35:07]     -- Recording the message
[Sep 25 13:35:07]     -- x=0, open writing:  
/var/spool/asterisk/voicemail/default/100/tmp/Tjm8w6 format: wav49, 
0x86c7f18
[Sep 25 13:35:07]     -- x=1, open writing:  
/var/spool/asterisk/voicemail/default/100/tmp/Tjm8w6 format: gsm, 0x865d768
[Sep 25 13:35:07]     -- x=2, open writing:  
/var/spool/asterisk/voicemail/default/100/tmp/Tjm8w6 format: wav, 0x8683e70
[Sep 25 13:38:05]     -- Recording automatically stopped after a silence 
of 10 seconds
[Sep 25 13:38:05]     -- <DAHDI/1-1> Playing 'auth-thankyou.gsm' 
(language 'en')
[Sep 25 13:38:06]     -- Executing [s-NOANSWER at macro-vm:3] 
Goto("DAHDI/1-1", "exit-SUCCESS,1") in new stack
[Sep 25 13:38:06]     -- Goto (macro-vm,exit-SUCCESS,1)
[Sep 25 13:38:06]     -- Executing [exit-SUCCESS at macro-vm:1] 
GotoIf("DAHDI/1-1", "0?exit-RETURN,1") in new stack
[Sep 25 13:38:06]     -- Executing [exit-SUCCESS at macro-vm:2] 
Playback("DAHDI/1-1", "goodbye") in new stack
[Sep 25 13:38:06]     -- <DAHDI/1-1> Playing 'goodbye.ulaw' (language 'en')
[Sep 25 13:38:07]     -- Executing [exit-SUCCESS at macro-vm:3] 
Hangup("DAHDI/1-1", "") in new stack
[Sep 25 13:38:07]   == Spawn extension (macro-vm, exit-SUCCESS, 3) 
exited non-zero on 'DAHDI/1-1' in macro 'vm'
[Sep 25 13:38:07]   == Spawn extension (macro-exten-vm, s, 18) exited 
non-zero on 'DAHDI/1-1' in macro 'exten-vm'
[Sep 25 13:38:07]   == Spawn extension (from-did-direct, 100, 1) exited 
non-zero on 'DAHDI/1-1'
[Sep 25 13:38:07]     -- Hungup 'DAHDI/1-1'

Then I am left with a nice 3 minute long message full of dialtone 
followed by the ever famous "howler" tone to indicate an off-hook phone :/

Any clues!!!??? I should also mention I am running FreePBX 2.5.2....

Thanks,
Stephen



On 9/25/09 1:28 PM, Tzafrir Cohen wrote:
> On Fri, Sep 25, 2009 at 11:19:39AM -0400, Stephen Brown Jr wrote:
>    
>> Ok so this is officially driving me crazy. I have an Asterisk 1.6.1.6
>> install with DAHDI/DAHDI tools (latest) and an OpenVOX TDM400 card with 1
>> FXO port and 1 FXS port. I have a POTS line from my phone company attached
>> to the POTS line.
>>
>> I have asked for "disconnect supervision" to be provisioned on my line and
>> they claim to have added it. However, my scenario is as follows:
>>
>> I receive a call, if the caller hangs up before hitting voice mail, the
>> DAHDI channel is released as to be expected (evidenced from console
>> messaging)
>> If the call gets to voicemail and the caller hangs up during the greeting,
>> no hangup condition is ever detected and I am greeted with a useless
>> voicemail moments later.
>>      
> I don't understand this.
>
> Can you enable debug logging and provide log of a call that disconnect
> successfully and a log of a call that fails to disconnect?
>
>    



More information about the asterisk-users mailing list