[asterisk-users] About CID with DTMF in Asterisk

José David Bravo Álvarez jbravo at colombiahosting.com.co
Tue Mar 11 12:35:44 CDT 2008


I changed the cidstart to ring and now I get this messages:

[Mar 11 12:26:07] ERROR[30992] callerid.c: fsk_serie made mylen < 0 (-7)
[Mar 11 12:26:07] WARNING[30992] chan_zap.c: CallerID feed failed: Success
[Mar 11 12:26:07] WARNING[30992] chan_zap.c: CallerID returned with 
error on channel 'Zap/4-1'
[Mar 11 12:26:07] VERBOSE[30992] logger.c:     -- Executing 
[s at from-trunk:1] Set("Zap/4-1", "__FROM_DID=s") in new stack
[Mar 11 12:26:07] VERBOSE[30992] logger.c:     -- Executing 
[s at from-trunk:2] Wait("Zap/4-1", "4") in new stack
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end '3' received on 
Zap/4-1, duration 0 ms
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF begin emulation of '3' 
with duration 100 queued on Zap/4-1
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end emulation of '3' 
queued on Zap/4-1
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end '0' received on 
Zap/4-1, duration 0 ms
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF begin emulation of '0' 
with duration 100 queued on Zap/4-1
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end '0' received on 
Zap/4-1, duration 0 ms
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end emulation of '0' 
queued on Zap/4-1
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF begin emulation of '0' 
with duration 100 queued on Zap/4-1
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end '6' received on 
Zap/4-1, duration 0 ms
[Mar 11 12:26:07] DTMF[30992] channel.c: DTMF end emulation of '0' 
queued on Zap/4-1
[Mar 11 12:26:08] DTMF[30992] channel.c: DTMF begin emulation of '6' 
with duration 100 queued on Zap/4-1
[Mar 11 12:26:08] DTMF[30992] channel.c: DTMF end '1' received on 
Zap/4-1, duration 0 ms

José David Bravo Álvarez escribió:
> Hi,
>
> I have connected a TDM400P to my asterisk, I have enabled DTMF CID, the 
> data is arriving to the asterisk but asterisk isn't interpretating it: 
> its my full log:
>
>   1.
>      Mar 10 16:26:03] DEBUG[8715] dsp.c: dsp busy pattern set to 0,0
>   2.
>      [Mar 10 16:26:03] VERBOSE[9274] logger.c:     -- Starting simple
>      switch on 'Zap/4-1'
>   3.
>      [Mar 10 16:26:03] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:1] Set("Zap/4-1", "__FROM_DID=s") in new stack
>   4.
>      [Mar 10 16:26:03] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:2] Wait("Zap/4-1", "4") in new stack
>   5.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF end '9' received on
>      Zap/4-1, duration 0 ms
>   6.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF begin emulation of
>      '9' with duration 100 queued on Zap/4-1
>   7.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF end emulation of '9'
>      queued on Zap/4-1
>   8.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF end '3' received on
>      Zap/4-1, duration 0 ms
>   9.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF begin emulation of
>      '3' with duration 100 queued on Zap/4-1
>  10.
>      [Mar 10 16:26:03] DTMF[9274] channel.c: DTMF end '6' received on
>      Zap/4-1, duration 0 ms
>  11.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '2'
>      queued on Zap/4-1
>  12.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '6' with duration 100 queued on Zap/4-1
>  13.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '8' received on
>      Zap/4-1, duration 0 ms
>  14.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '6'
>      queued on Zap/4-1
>  15.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '8' with duration 100 queued on Zap/4-1
>  16.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '1' received on
>      Zap/4-1, duration 0 ms
>  17.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '8'
>      queued on Zap/4-1
>  18.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '6' received on
>      Zap/4-1, duration 0 ms
>  19.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '1' with duration 100 queued on Zap/4-1
>  20.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '5' received on
>      Zap/4-1, duration 0 ms
>  21.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '1'
>      queued on Zap/4-1
>  22.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '6' with duration 100 queued on Zap/4-1
>  23.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '3' received on
>      Zap/4-1, duration 0 ms
>  24.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '6'
>      queued on Zap/4-1
>  25.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '5' with duration 100 queued on Zap/4-1
>  26.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end '2' received on
>      Zap/4-1, duration 0 ms
>  27.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end emulation of '5'
>      queued on Zap/4-1
>  28.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF begin emulation of
>      '8' with duration 100 queued on Zap/4-1
>  29.
>      [Mar 10 16:26:04] DTMF[9274] channel.c: DTMF end 'C' received on
>      Zap/4-1, duration 0 ms
>  30.
>      [Mar 10 16:26:05] DTMF[9274] channel.c: DTMF end emulation of '8'
>      queued on Zap/4-1
>  31.
>      [Mar 10 16:26:05] DTMF[9274] channel.c: DTMF begin emulation of
>      '6' with duration 100 queued on Zap/4-1
>  32.
>      [Mar 10 16:26:05] DTMF[9274] channel.c: DTMF end emulation of '6'
>      queued on Zap/4-1
>  33.
>      [Mar 10 16:26:05] DTMF[9274] channel.c: DTMF begin emulation of
>      'C' with duration 100 queued on Zap/4-1
>  34.
>      [Mar 10 16:26:05] DTMF[9274] channel.c: DTMF end emulation of 'C'
>      queued on Zap/4-1
>  35.
>      [Mar 10 16:26:07] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:3] Set("Zap/4-1", "CALLERID(name)=") in new stack
>  36.
>      [Mar 10 16:26:07] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:4] NoOp("Zap/4-1", "CallerID is "" <>") in new stack
>  37.
>      [Mar 10 16:26:07] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:5] Set("Zap/4-1", "FAX_RX=disabled") in new stack
>  38.
>      [Mar 10 16:26:07] VERBOSE[9274] logger.c:     -- Executing
>      [s at from-trunk:6] Goto("Zap/4-1", "ivr-2|s|1") in new stack
>  39.
>      [Mar 10 16:26:07] VERBOSE[9274] logger.c:     -- Goto (ivr-2,s,1)
>
> Its my zapata.conf
> [channels]
> ;;General options
> relaxdtmf=yes
> busydetect=yes
> busycount=4
> immediate=no
> cidsignalling=dtmf
> cidstart=polarity
> sendcalleridafter=2
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> threewaycalling=yes
> transfer=yes
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=yes
> echotraining=800
> rxgain=6%
> txgain=7%
> callerid=asreceived
> ;;FXO Modules
> Group=1
> echocancel=yes
> signalling=fxs_ks
> context=from-trunk
> channel=4
>
> Thanks for your help.
>
>   

-- 
José David Bravo Álvarez
ColombiaHosting E.U.
Av. 4 Norte #48n43 of. 301 Cali - Colombia
PBX Bogotá: (1) 6384309 ext. 120
PBX Cali: (2) 6832660 ext. 120
Tigo: 301 4345909 Movistar: 317 2196509 Comcel: 314 6067744
http://www.colombiahosting.com.co





More information about the asterisk-users mailing list