[asterisk-bugs] [DAHDI-linux 0019124]: [patch] CallerID send before ring problem detected in chain_dahdi.c

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 18 14:51:16 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19124 
====================================================================== 
Reported By:                cvsup
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   19124
Category:                   wctdm24xxp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2011-04-14 22:47 CDT
Last Modified:              2011-04-18 14:51 CDT
====================================================================== 
Summary:                    [patch] CallerID send before ring problem detected
in chain_dahdi.c
Description: 
hi, i am from brasil and much people know about problem of callerid here.
After long time i found some issues that i would like report to you. I use
Digium DTM410 with converter DTMF->FSK. Some times the callerid work and i
found because. 

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018995 CallerID not detected.
related to          0018676 Caller ID is not stored or shown when c...
====================================================================== 

---------------------------------------------------------------------- 
 (0133889) cvsup (reporter) - 2011-04-18 14:51
 https://issues.asterisk.org/view.php?id=19124#c133889 
---------------------------------------------------------------------- 
After apply this patch callerid not work.

[Apr 18 16:49:27] VERBOSE[24839] chan_dahdi.c:     -- Starting simple
switch on 'DAHDI/1-1'
[Apr 18 16:49:31] NOTICE[24839] chan_dahdi.c: Got event 18 (Ring
Begin)...
[Apr 18 16:49:32] NOTICE[24839] chan_dahdi.c: Got event 2
(Ring/Answered)...
[Apr 18 16:49:35] WARNING[24839] chan_dahdi.c: CallerID returned with
error on channel 'DAHDI/1-1'
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:1]
Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:2]
Set("DAHDI/1-1", "CHANNEL(language)=en") in new stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:3]
Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing
[s at app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new
stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing
[s at app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new
stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing
[s at app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:4]
ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
[Apr 18 16:49:35] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:5]
Wait("DAHDI/1-1", "3") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:6]
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:7]
Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at from-pstn:8]
Goto("DAHDI/1-1", "timeconditions,1,1") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Goto (timeconditions,1,1)
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing
[1 at timeconditions:1] GotoIfTime("DAHDI/1-1",
"14:00-18:00,mon-fri,1-31,jan-dec?ivr-3,s,1") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Goto (ivr-3,s,1)
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:1]
Set("DAHDI/1-1", "MSG=custom/URA-IVR") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:2]
Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:3]
Set("DAHDI/1-1", "__DIR-CONTEXT=") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:4]
Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-3=") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:5]
Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-3") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:6]
GotoIf("DAHDI/1-1", "0?begin") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:7]
Answer("DAHDI/1-1", "") in new stack
[Apr 18 16:49:38] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:8]
Wait("DAHDI/1-1", "1") in new stack
[Apr 18 16:49:39] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:9]
Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new stack
[Apr 18 16:49:39] VERBOSE[24839] func_timeout.c:     -- Digit timeout set
to 3.000
[Apr 18 16:49:39] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:10]
Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack
[Apr 18 16:49:39] VERBOSE[24839] func_timeout.c:     -- Response timeout
set to 10.000
[Apr 18 16:49:39] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:11]
Set("DAHDI/1-1", "__IVR_RETVM=") in new stack
[Apr 18 16:49:39] VERBOSE[24839] pbx.c:     -- Executing [s at ivr-3:12]
ExecIf("DAHDI/1-1", "1?Background(custom/URA-IVR)") in new stack
[Apr 18 16:49:39] VERBOSE[24839] file.c:     -- <DAHDI/1-1> Playing
'custom/URA-IVR.slin' (language 'en')
[Apr 18 16:49:44] VERBOSE[24839] pbx.c:     -- Executing [h at ivr-3:1]
Hangup("DAHDI/1-1", "") in new stack
[Apr 18 16:49:44] VERBOSE[24839] pbx.c:   == Spawn extension (ivr-3, h, 1)
exited non-zero on 'DAHDI/1-1' 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-18 14:51 cvsup          Note Added: 0133889                          
======================================================================




More information about the asterisk-bugs mailing list