Caller ID Problem


#1

How do I get caller ID to work for incoming calls through a Openline 4 Voicetronix board. The NoOp command shows as unknown even though the log says it has collected Caller ID. Please help!!!

Here is a snip of my extensions.conf:

[default]
exten => s,1,Wait(2)
exten => s,n,Answer
exten => s,n,NoOp(${CALLERID})
exten => s,n,Dial(${Polycom},24,tro)
exten => s,n,Background(menu)

And here is my vpb.conf:

[general]
type = v4pci
cards = 1

[interfaces]
board = 1
echocancel = on
txgain => 12
rxgain => -6

; For OpenLine4 cards
context = default
UseLoopDrop = 0
bal1 = f8
bal2 = 1a
bal3 = 0c
mode = fxo

callerid = on
channel = 1
callerid = on
channel = 2
callerid = on
channel = 3
callerid = on
channel = 4

And the log:

vpb/1-1: Event [0=>[00] Ring]
vpb/1-1: handle_notowned: mode=3, event[0][[00] Ring
]=[0]
vpb/1-1: New call for context [default]
Using VPB Caller ID
CID record - start
– Executing Wait(“vpb/1-1”, “2”) in new stack
CID record - skipped 301ms trailing ring
– Executing GotoIfTime(“vpb/1-1”, “18:30-8:30|||?afterhours|s|1") in new stack
– Executing GotoIfTime(“vpb/1-1”, "
|sat-sun||?afterhours|s|1”) in new stack
– Executing GotoIf(“vpb/1-1”, “0?cellphone|s|1:5 Route our cell phones”) in new stack
– Goto (default,s,5)
– Executing GotoIf(“vpb/1-1”, “0?cellphone|s|1:6”) in new stack
– Goto (default,s,6)
– Executing GotoIf(“vpb/1-1”, “0?cellphone|s|1:7”) in new stack
– Goto (default,s,7)
– Executing Answer(“vpb/1-1”, “”) in new stack
vpb/1-1: Answering channel
vpb/1-1: Disabling Loop Drop detection
CID record - recorded 1999ms between rings
== vpb/1-1: Answered call on vpb/1-1 [FXO]
Collected caller ID already
vpb/1-1: handle_notowned: mode=3, [0=>0]
vpb/1-1: Event [11=>[00] Ring Off]
vpb/1-1: handle_owned: got event: [11=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: chanreads: starting thread
== vpb/1-1:Now listening for DTMF
== vpb/1-1: Starting record mode (codec=0)[AST_FORMAT_SLINEAR:VPB_LINEAR]
vpb/1-1: Re-enabling Loop Drop detection
– Executing NoOp(“vpb/1-1”, “unknown”) in new stack
– Executing Dial(“vpb/1-1”, “SIP/105|24|tro”) in new stack
– Called 105
vpb/1-1: vpb_indicate [3] state[6]
[00]: Playing tone
vpb/1-1: vpb indicate: setting ringback timer [1]
– SIP/105-7b9d is ringing
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>1]
[00]: Playing tone
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>2]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>1]
[00]: Playing tone
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>1]
[00]: Playing tone
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>1]
[00]: Playing tone
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [3=>[00] Timer expire]
vpb/1-1: handle_owned: got event: [3=>1]
[00]: Playing tone
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
Beginning asterisk shutdown…
== No one is available to answer at this time (1:0/0/0)
== vpb/1-1: Hangup requested
== vpb/1-1: Ending record mode (1/yes)
vpb/1-1: stopped record thread
vpb/1-1: Setting state down
vpb/1-1: Event [102=>[00] Dial End]
vpb/1-1: handle_owned: got event: [102=>0]
vpb/1-1: handle_owned: Prepared frame type[-1]subclass[0], bridge=(nil) owner=[vpb/1-1]
== vpb/1-1: Hangup complete
Restarting monitor
Trying to reawake monitor
Monitor restarted
Executing last minute cleanups
== Destroying musiconhold processes
Asterisk cleanly ending (2).