Empty CallerID

Hello,

I’m still new to Asterisk and VoIP.

As stated in the title. I’m unable to get a caller id.
I tried to break it down as much as possible and I hope I provide all the needed information.

Hardware:

Software:
OS:
Debian
root@asteriskpbx:/usr/src/asterisk-11.8.1# uname -a
Linux asteriskpbx 3.2.0-4-486 #1 Debian 3.2.46-1 i586 GNU/Linux

Asterisk:
Compiled according to:
wiki.freepbx.org/display/HTGS/In … llAsterisk
plus:
asteriskdocs.org/en/3rd_Edit … ation.html
for IMAP integration (later version: imap-2007f)

asteriskpbx*CLI> core show version
Asterisk 11.8.1 built by root @ asteriskpbx on a i586 running Linux on 2014-04-02 15:11:08 UTC

Physical Configuration:
Analog telephone — SPA122 — Alix3D2 — B400M — ISDN PBX — Mobile Phone

Making and receiving calls between the phones work.

extensions.conf
[voicemail]
exten => 64,1,NoOp(${CALLERID(all)})
exten => 64,n,NoOp(${CALLERID(num)})
exten => 64,n,NoOp(${CALLERID(all)})
exten => 64,n,NoOp(${CALLERNUM})
exten => 64,n,NoOp(${CALLERIDNUM})
exten => 64,n,NoOp(${CALLERID})
exten => 64,n,NoOp(${EXTEN})
exten => 64,n,VoiceMailMain()

I know some of these variable names are deprecated. But I’m quite desperate.

If I call the extension 64 I get the following output:
Output:
– Accepting call from ‘11’ to ‘64’ on channel 0/1, span 4
– Executing [64@from-pstn:1] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:2] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:3] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:4] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:5] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:6] NoOp(“DAHDI/i4/11-10”, “”) in new stack
– Executing [64@from-pstn:7] NoOp(“DAHDI/i4/11-10”, “64”) in new stack
– Executing [64@from-pstn:8] VoiceMailMain(“DAHDI/i4/15122313296-10”, “”) in new stack

The output is the always the same. It does not matter if the call is made from the analog phone or the mobile phone(except the first part DAHDI vs. SIP of course).

As one can see in the Accepting call line Asterisk knows the number the call originates from.
But the variables are all empty(except EXTEN - but that’s just for myself to see if I understand the syntax).
Shouldn’t at least one of these variables contain “11”?

Thanks alot in advance.

CU,
Jay

hi
I think you should change the file chan_dahdi.conf

the.
see :

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes
cidsignalling=dtmf
cidstart=dtmf

Description :

Change the underlying code if necessary.
The bold line should be added.

He did not identify his country, so how can you know the correct values of cidstart and cidsignalling?

:question:

Those values are country dependent and may even vary between operators in the same country.

Enabling caller ID is not a question of using one fixed set of values, but of setting values that are appropriate to the particular circumstances.