[asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

Greg Delgado gregdelgado at yahoo.com
Fri Aug 18 04:50:46 MST 2006


In my case I'm able to see the callerid digits being
read by the chan_zap module. However, the number does
not get through to the ${CALLERID} variable. please
see debug trace below. 

zaptel.conf:
fxsls=1
fxsls=2
loadzone        = us
defaultzone     = us

in zapata.conf, i have:
signalling=fxsls
usecallerid=yes
callerid=asreceived
cidsignalling=dtmf
cidstart=polarity


Aug 18 19:38:46 DEBUG[9392]: chan_zap.c:6666
do_monitor: Monitor doohicky got event Ring/Answered
on channel 1
Aug 18 19:38:46 DEBUG[9392]: dsp.c:1619
ast_dsp_set_busy_pattern: dsp busy pattern set to 0,0
    -- Starting simple switch on 'Zap/1-1'
Aug 18 19:38:46 DEBUG[9386]: devicestate.c:187
do_state_change: Changing state for Zap/1 - state 2
(In use)
Aug 18 19:38:46 DEBUG[9452]: app_queue.c:490
changethread: Device 'Zap/1' changed to state '2' (In
use) but we don't care because they're not a member of
any queue.
Aug 18 19:38:46 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Wait'
    -- Executing Wait("Zap/1-1", "5") in new stack
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: D on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 8 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 1 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 7 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: C on Zap/1-1
Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:4366
__zt_exception: Exception on 12, channel 1
Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:3554
zt_handle_event: Got event Ring Begin(18) on channel 1
(index 0)
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:4366
__zt_exception: Exception on 12, channel 1
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3554
zt_handle_event: Got event Ring/Answered(2) on channel
1 (index 0)
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3903
zt_handle_event: Setting IDLE polarity due to ring.
Old polarity was 0
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3926
zt_handle_event: Ring detected
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Answer'
    -- Executing Answer("Zap/1-1", "") in new stack
Aug 18 19:38:51 DEBUG[9386]: channel.c:777
channel_find_locked: Avoiding initial deadlock for
'Zap/1-1'
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:2692
zt_answer: Took Zap/1-1 off hook
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:1421
zt_enable_ec: Enabled echo cancellation on channel 1
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:1437
zt_train_ec: Engaged echo training on channel 1
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
    -- Executing NoOp("Zap/1-1", ""CALLERID is : ") in
new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
    -- Executing NoOp("Zap/1-1", ""CALLERID(num) is :
") in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
    -- Executing NoOp("Zap/1-1", ""CALLERID(rdnis) is
: ") in new stack
Aug 18 19:38:51 ERROR[9451]: func_callerid.c:68
callerid_read: Unknown callerid data type.
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
    -- Executing NoOp("Zap/1-1", ""CALLERID(dnis) is :
") in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
    -- Executing NoOp("Zap/1-1", ""CALLERIDNUM is : ")
in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Hangup'
    -- Executing Hangup("Zap/1-1", "") in new stack


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list