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:
- PCEngines ALIX 3D2 PC
pcengines.ch/alix3d2.htm - OpenVOX B400M ISDN Card
openvox.cn/en/products/telephony … b400m.html
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