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.
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.
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.
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.
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.