[asterisk-bugs] [DAHDI-linux 0015985]: CallerID problem

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 29 11:10:35 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15985 
====================================================================== 
Reported By:                balgaa
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15985
Category:                   wctdm
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
JIRA:                        
====================================================================== 
Date Submitted:             2009-09-29 10:15 CDT
Last Modified:              2009-09-29 11:10 CDT
====================================================================== 
Summary:                    CallerID problem
Description: 
Hello,

1.CallerID doesn't work
-----------------------

I upgraded my Asterisk-1.4.21 and Zaptel-1.4.11 to:

pbx*CLI> core show version
Asterisk SVN-branch-1.6.2-r220369M built by root @ pbx.boldsoft.mn on a
i686 running Linux on 2009-09-29 07:53:09 UTC

pbx*CLI> dahdi show version
DAHDI Version: SVN-branch-2.2-r7039 Echo Canceller: MG2

After upgrade done, CallerID doesn't work anymore. I didn't change any
configuration in zapata.conf and chan_dahdi.conf:

usecallerid=yes
callerid=asreceived
cidsignalling=dtmf
cidstart=ring
callwaitingcallerid=yes

extensions.conf:
[heegii]
exten => s,1,Wait(5)
exten => s,2,NoOp
exten => s,3,NoOp(${CALLERID(all)})
exten => s,4,NoOp(${CALLERID(num)})
exten => s,5,Dial(DAHDI/12,45)
exten => s,6,Hangup

Information on console:
    -- Starting simple switch on 'DAHDI/6-1'
    -- Executing [s at heegii:1] Wait("DAHDI/6-1", "5") in new stack
    -- Executing [s at heegii:2] NoOp("DAHDI/6-1", "") in new stack
    -- Executing [s at heegii:3] NoOp("DAHDI/6-1", """ <>") in new stack
    -- Executing [s at heegii:4] NoOp("DAHDI/6-1", "") in new stack
    -- Executing [s at heegii:5] Dial("DAHDI/6-1", "DAHDI/12,45") in new
stack
    -- Executing [s at heegii:5] Dial("DAHDI/6-1", "DAHDI/12,45") in new
stack
    -- Called 12
    -- DAHDI/12-1 is ringing
    -- DAHDI/12-1 is ringing
    -- DAHDI/12-1 is ringing
    -- DAHDI/12-1 is ringing
    -- Hungup 'DAHDI/12-1'
  == Spawn extension (heegii, s, 5) exited non-zero on 'DAHDI/6-1'
    -- Hungup 'DAHDI/6-1'

2.DTMFCID issue
---------------

extensions.conf:
[tower]
exten => s,1,Wait(2)
exten => s,2,NoOp
exten => s,3,NoOp(${CALLERID(all)})
exten => s,4,NoOp(${CALLERID(num)})
exten => s,5,Dial(DAHDI/10,60)
exten => s,6,Hangup

Information on console:
    -- Starting simple switch on 'DAHDI/8-1'
[Oct  1 21:06:34] WARNING[8288]: chan_dahdi.c:8596 ss_thread: DTMFCID
timed out waiting for ring. Exiting simple switch
    -- Hungup 'DAHDI/8-1'
    -- Starting simple switch on 'DAHDI/8-1'
[Oct  1 21:06:39] WARNING[8289]: chan_dahdi.c:8596 ss_thread: DTMFCID
timed out waiting for ring. Exiting simple switch
    -- Hungup 'DAHDI/8-1'

zaptel.conf and dahdi-channels.conf:
; Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1" (MASTER)
;;; line="1 WCTDM/0/0"
signalling=fxs_ks
allow=ulaw
allow=alaw
callerid=asreceived
group=0
context=boldsoft
rxgain=1.0
txgain=1.0
channel => 1

;;; line="2 WCTDM/0/1"
signalling=fxs_ks
allow=ulaw
allow=alaw
callerid=asreceived
faxdetect=both
echotraining=no
echocancel=no
echocancelwhenbridged=no
group=0
context=towerfax
rxgain=1.0
txgain=1.0
channel => 2

;;; line="3 WCTDM/0/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
;;; line="4 WCTDM/0/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4


; Span 2: WCTDM/1 "Wildcard TDM400P REV I Board 2"
;;; line="5 WCTDM/1/0"
signalling=fxs_ks
allow=ulaw
callerid=asreceived
faxdetect=both
group=0
context=lawyer
channel => 5

;;; line="6 WCTDM/1/1"
signalling=fxs_ks
allow=ulaw
callerid=asreceived
faxdetect=both
group=0
context=heegii
channel => 6

;;; line="7 WCTDM/1/2"
signalling=fxs_ks
allow=ulaw
callerid=asreceived
group=0
context=inter
channel => 7

;;; line="8 WCTDM/1/3"
signalling=fxs_ks
allow=ulaw
allow=alaw
callerid=asreceived
rxgain=1.0
txgain=1.0
group=0
context=tower
channel => 8


; Span 3: WCTDM/2 "Wildcard TDM400P REV E/F Board 3"
;;; line="9 WCTDM/2/0"
signalling=fxo_ks
allow=ulaw
allow=alaw
callerid="Heegii office 804" <804>
mailbox=6005
group=5
context=heegii
channel => 9

;;; line="10 WCTDM/2/1"
signalling=fxo_ks
allow=ulaw
allow=alaw
callerid="Bold Tower lobby" <100>
mailbox=6006
group=5
context=tower
channel => 10

;;; line="11 WCTDM/2/2"
signalling=fxo_ks
allow=ulaw
allow=alaw
callerid="Lawyer 904" <904>
mailbox=6007
group=5
context=lawyer
channel => 11

;;; line="12 WCTDM/2/3"
signalling=fxo_ks
allow=ulaw
allow=alaw
rxgain=1.0
txgain=1.0
callerid="Boldsoft accountant 801" <801>
mailbox=6008
group=5
context=boldsoft
channel => 12

Is there anything wrong with configuration?

Thanks,
Balgaa

====================================================================== 

---------------------------------------------------------------------- 
 (0111510) balgaa (reporter) - 2009-09-29 11:10
 https://issues.asterisk.org/view.php?id=15985#c111510 
---------------------------------------------------------------------- 
Below is dahdi_genconf generated system.conf file

# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4

# Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8

# Span 3: WCTDM/4 "Wildcard TDM400P REV E/F Board 5"
fxoks=9
echocanceller=mg2,9
fxoks=10
echocanceller=mg2,10
fxoks=11
echocanceller=mg2,11
fxoks=12
echocanceller=mg2,12

# Global data

loadzone        = us
defaultzone     = us 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-29 11:10 balgaa         Note Added: 0111510                          
======================================================================




More information about the asterisk-bugs mailing list