× Questions about B100/200/400/800 ISDN BRI Cards

missing callerid in mISDN & bristuff - B100P

9 years 1 month ago #5582 by pablo
hello,

i'm using a B100P with mISDN-1_1_9_2 and asterisk-1.4.31 and although i can make and receive calls i cannot get the CALLERID for incomming calls.
i'm trying now with the bristuff-0.3.0-PRE-1z-c software suite and openvox's installation manual but i cant get the CALLERID(num) too.

how i can debug the problem ¿?.

Regards.

i] Last edited by pablo at 2010-5-11 23:36 [/i
9 years 1 month ago #5586 by Joe.Yung
Hello, Generally,if your has CallerID feature,please try the following method: (If you are not sure whether it has or not,please confirm it firstly)

Try to set the values of pridialplan,prilocaldialplan to "unknown" in /etc/asterisk/zapata.conf , like:
signalling=bri_cpe_ptmp
pridialplan=unknown
prilocaldialplan=unknown


If you don't have these parameters, please add them to there.

i] Last edited by Joe.Yung at 2010-5-12 09:30 [/i

9 years 1 month ago #5587 by pablo
Hello,
ok, i've modified zapata.conf but the results are the same. In verbose mode 3, i get this in Asterisk CLI:

-- Executing Wait("Zap/2-1", "1") in new stack
-- Accepting voice call from '' to '958304495' on channel 0/2, span 1
-- Executing Answer("Zap/2-1", "") in new stack
-- Executing NoOp("Zap/2-1", "incoming dialer") in new stack
-- Executing NoOp("Zap/2-1", "Callerid is: ") in new stack <
see below **
-- Executing NoOp("Zap/2-1", "Date is: 12052010-12:55:24") in new stack
-- Executing Dial("Zap/2-1", "SIP/101|30|tTwW") in new stack
-- Called 101
-- SIP/101-0a026668 is ringing
-- Channel 0/2, span 1 got hangup request, cause 16
== Spawn extension (entrantes, 958304495, 6) exited non-zero on 'Zap/2-1'

** In dialplan (extensions.conf), i wrote this sentence for capture the missing Callerid but it seems empty:
exten => 958304495,n,Noop(Callerid is: ${CALLERID(num)})

Telco assures me is giving the callerid in the isdn line.

Thanks.
9 years 1 month ago #5588 by Joe.Yung
Hello,
add these parameters in /etc/asterisk/zapata.conf
callerid=asreceived
usecallerid=yes

and have a try this sample dialplan in /etc/asterisk/extensions.conf
exten=>_X.,1,SetCIDNum(${PRI_NETWORK_CID})
exten=>_X.,2,Dial(SIP/NNN)
exten=>_X.,n,Hangup()

where NNN is the sip number that you have registered. and remember restart driver after your modification.

9 years 1 month ago #5589 by pablo
Hello,
ok, now my zapata.conf contains this.
[trunkgroups]
[channels]
group=2
context=entrantes
signalling=bri_cpe_ptmp
pridialplan=unknown
prilocaldialplan=unknown
callerid=asreceived
usecallerid=yes
channel => 1-2

extensions.conf was modified too with the simple dialplan posted.

I've stopped /etc/init.d/zaptel and unload zaptel and zaphfc driver. The next step is load both drivers, start /etc/init.d/zaptel and start asterisk with verbose mode 3. Make a call from external and i obtain this:

-- Executing SetCIDNum("Zap/2-1", "") in new stack
-- Executing Dial("Zap/2-1", "SIP/102") in new stack
-- Accepting voice call from '' to '958304495' on channel 0/2, span 1
-- Called 102
-- SIP/102-09441fb8 is ringing
-- Channel 0/2, span 1 got hangup, cause 16
== Spawn extension (entrantes, 958304495, 2) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'

The SIP phone received the call but the callerid in LCD panel was "Anonymous" because i suppose is the default when there is no callerid present.

Regards.

i] Last edited by pablo at 2010-5-12 20:53 [/i
9 years 1 month ago #5592 by james.zhu
hello:
what is this: '958304495'? please use ztmonitor to record the callerid and post there.

Time to create page: 0.127 seconds
Powered by Kunena Forum