[asterisk-users] DAHDI CDR problem

Danny Nicholas danny at debsinc.com
Fri Jul 3 14:10:49 CDT 2009


Hello gang,

                 We just got MaBell to turn on our callerid.  I tested the
capability with a southwest bell box and a plain phone, so I know the line
is sending the signal.  I'm running Asterisk SVN-branch-1.4-r204834 using a
TDM400P card.  Here is my dahdi_cfg -vv output:

dahdi_cfg -vv

DAHDI Tools Version - 2.1.0.2

 

DAHDI Version: 2.1.0.3

Echo Canceller(s): MG2

Configuration

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

 

 

Channel map:

 

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)

 

1 channels to configure.

 

Setting echocan for channel 1 to mg2

 

<<chan_dahdi.conf>>

[trunkgroups]

 

[channels]

language=en

resetinterval=3600

inbanddisconnect=yes

priindication=outofband

signalling=fxo_ks

usecallerid=yes

cidsignalling=bell

cidstart=polarity

usedistinctiveringdetection=yes

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

canpark=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=yes

relaxdtmf=yes

 

;callerid=Mickey Mouse <2564286000>

;cid_number=2564286000

callerid=asreceived

useincomingcalleridondahditransfer=yes

faxdetect=both

group=1

callgroup=1

pickupgroup=1

 

<<dahdi.conf>>

[trunkgroups]

 

[channels]

context=incoming

busydetect=yes

callprogress=yes

busycount=4

answeronpolarityswitch=yes

hanguponpolarityswitch=yes

usecallingpres=yes

priindication=outofband

signalling=fxs_ks

echocancel=yes

echocancelwhenbridged=yes

faxdetect=both

rxgain=8.0

txgain=4.0

callgroup=1

group=1

callerid=asreceived

cidstart=ring

hidecallerid=no

pickupgroup=1

 

<<dahdi-channels.conf>>

; Autogenerated by /usr/sbin/dahdi_genconf on Thu May 14 08:12:27 2009 -- do
not hand edit

; Dahdi Channels Configurations (chan_dahdi.conf)

;

; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended

; to be #include-d by /etc/asterisk/chan_dahdi.conf that will include the
global settings

;

 

; Span 1: DAHDI_DUMMY/1 "DAHDI_DUMMY/1 (source: HRtimer) 1" (MASTER)

 

; Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"

;;; line="1 WCTDM/4/0 FXSKS  (EC: MG2)"

signalling=fxs_ks

callerid=asreceived

group=0

cidstart=polarity

context=default

channel => 1

group=1

priindication=outofband

signalling=fxs_ks

channel => 1

 

Here is my CLI output for a call (not from extension 170)

*CLI>     -- Starting simple switch on 'DAHDI/1-1'

    -- Executing [s at DLPN_DialPlan1:1] NoOp("DAHDI/1-1", "all "Mickey Mouse"
<170>") in new stack

    -- Executing [s at DLPN_DialPlan1:2] NoOp("DAHDI/1-1", "ANI 170") in new
stack

    -- Executing [s at DLPN_DialPlan1:3] NoOp("DAHDI/1-1", "NUM 170") in new
stack

    -- Executing [s at DLPN_DialPlan1:4] NoOp("DAHDI/1-1", "NAME Mickey Mouse")
in new stack

    -- Executing [s at DLPN_DialPlan1:5] NoOp("DAHDI/1-1", "DNID ") in new
stack

    -- Executing [s at DLPN_DialPlan1:6] Answer("DAHDI/1-1", "500") in new
stack

    -- Executing [s at DLPN_DialPlan1:7] Wait("DAHDI/1-1", ".1") in new stack

    -- Executing [s at DLPN_DialPlan1:8] Verbose("DAHDI/1-1", " caller s id
170") in new stack

 caller s id 170

    -- Executing [s at DLPN_DialPlan1:9] BackGround("DAHDI/1-1",
"to-hear-callerid") in new stack

    -- <DAHDI/1-1> Playing 'to-hear-callerid' (language 'en')

    -- Executing [s at DLPN_DialPlan1:10] SayNumber("DAHDI/1-1", "170") in new
stack

    -- <DAHDI/1-1> Playing 'digits/1' (language 'en')

    -- <DAHDI/1-1> Playing 'digits/hundred' (language 'en')

    -- <DAHDI/1-1> Playing 'digits/70' (language 'en')

    -- Executing [s at DLPN_DialPlan1:11] BackGround("DAHDI/1-1",
"record/welcometodebs") in new stack

    -- <DAHDI/1-1> Playing 'record/welcometodebs' (language 'en')

    -- Executing [s at DLPN_DialPlan1:12] Goto("DAHDI/1-1", "default|s|1") in
new stack

    -- Goto (default,s,1)

    -- Executing [s at default:1] Wait("DAHDI/1-1", "1") in new stack

    -- Executing [s at default:2] Verbose("DAHDI/1-1", "Ringing ") in new stack

Ringing

    -- Executing [s at default:3] Set("DAHDI/1-1", "NIGHTOP=888") in new stack

    -- Executing [s at default:4] Set("DAHDI/1-1", "GEORGECELL=9199225") in new
stack

    -- Executing [s at default:5] Set("DAHDI/1-1", "LOISCELL=9199226") in new
stack

    -- Executing [s at default:6] Set("DAHDI/1-1", "DANNYCELL=6163010") in new
stack

    -- Executing [s at default:7] Verbose("DAHDI/1-1", "Wait 1 ") in new stack

Wait 1

    -- Executing [s at default:8] Wait("DAHDI/1-1", "1") in new stack

    -- Executing [s at default:9] Verbose("DAHDI/1-1", "Caller name Mickey
Mouse ") in new stack

Caller name Mickey Mouse

    -- Executing [s at default:10] Verbose("DAHDI/1-1", "Caller number 170 ")
in new stack

Caller number 170

    -- Executing [s at default:11] Verbose("DAHDI/1-1", "Called s ") in new
stack

Called s

    -- Executing [s at default:12] Goto("DAHDI/1-1", "getout") in new stack

    -- Goto (default,s,25)

    -- Executing [s at default:25] BackGround("DAHDI/1-1", "vm-goodbye") in new
stack

    -- <DAHDI/1-1> Playing 'vm-goodbye' (language 'en')

    -- Executing [s at default:26] Hangup("DAHDI/1-1", "") in new stack

  == Spawn extension (default, s, 26) exited non-zero on 'DAHDI/1-1'

*       Hungup 'DAHDI/1-1'

 

Any suggestions/ideas?

 

Thanks

Danny Nicholas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090703/a4d05260/attachment.htm 


More information about the asterisk-users mailing list