Dear All Asterisk pro…
Need help…
I’m currently trying to configure a ISDN-Pri line from Telekom Malaysia with the following:
System: CentOS 5.10
Asterisk: 1.6.2.20
Dahdi-Compete: 2.8.0+2.8.1
RedFone PhoneBridge2 7500-4000 EC
I’m able to make outgoing call and receiving call without error or problem, this account have a subscription of 200 numbers of DID, but I’m not able to get the “Caller Number” when people dialled in. I have another set up on different location using same hardware and subscription I can get the last 4 digits of which people dialled in.
Here is some configurations for debug:
/etc/redfone.conf
## Automatically Generated REDFONE Config
## Generator Version 0.3.4
[globals]
fb=10.10.10.10
port=1
server=f8:bc:12:36:f9:f2
priorities=0,1,2,3
[span1]
framing=ccs
encoding=hdb3
/etc/dahdi/system.conf
##Automatically Generated dahdi configuration file
##Generator Version 0.3.4
dynamic=ethmf,eth1/00:50:c2:65:dd:81/0,31,1
bchan=1-15
dchan=16
bchan=17-31
alaw=1-31
loadzone=my
defaultzone=my
/etc/asterisk/chan_dahdi.conf
;Automatically Generated chan_dahdi.conf configuration file
;Generator Version 0.3.4
[trunkgroups]
[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
callerid=asreceived
overlapdial=yes
immediate=no
pridialplan = unknown
prilocaldialplan = national
priindication=outofband
restrictcid=no
usecallingpres=no
context=from-pstn
switchtype=euroisdn
signalling=pri_cpe
channel => 1-15, 17-31
/etc/asterisk/users.conf
[general]
#include "users_Office.conf"
#include "users_VenueRoom.conf"
#include "users_LiftLanding.conf"
#include "users_Room8.conf"
#include "users_Room9.conf"
#include "users_Room10.conf"
#include "users_Room11.conf"
#include "users_Room12.conf"
#include "users_Room13.conf"
#include "users_Room14.conf"
#include "users_Room15.conf"
#include "users_Room16.conf"
[span_1]
group = 1
callerid = asreceived
overlapdial=yes
immediate=no
hasexten = no
switchtype = euroisdn
signalling = pri_cpe
trunkname = Telekom
pridialplan = unknown
prilocaldialplan = national
trunkstyle = digital ; GUI metadata
hassip = no
hasiax = no
context = from-pstn
faxdetect = both
dahdichan = 1-15,17-31
Output from fonulator -vq
Detecting foneBRIDGE
Span 1 configured as: E1,HDB3
SW ver: 3.0
SW Compile date: Sep 9 2009 07:23:30
SW Build: 79
MAC Address: 00:50:c2:65:dd:81
IP Address[0]: 10.10.10.10
IP Address[1]: 255.255.255.255
DSP Status: Available
Output from dahdi_cfg -vvv
DAHDI Tools Version - 2.8.0
DAHDI Version: 2.8.0.1
Echo Canceller(s):
Configuration
======================
Dynamic span 1: driver ethmf, addr eth1/00:50:c2:65:dd:81/0, channels 31, timing 1
Channel map:
Channel 01: Clear channel (A-law) (Echo Canceler: none) (Slaves: 01)
Channel 02: Clear channel (A-law) (Echo Canceler: none) (Slaves: 02)
Channel 03: Clear channel (A-law) (Echo Canceler: none) (Slaves: 03)
Channel 04: Clear channel (A-law) (Echo Canceler: none) (Slaves: 04)
Channel 05: Clear channel (A-law) (Echo Canceler: none) (Slaves: 05)
Channel 06: Clear channel (A-law) (Echo Canceler: none) (Slaves: 06)
Channel 07: Clear channel (A-law) (Echo Canceler: none) (Slaves: 07)
Channel 08: Clear channel (A-law) (Echo Canceler: none) (Slaves: 08)
Channel 09: Clear channel (A-law) (Echo Canceler: none) (Slaves: 09)
Channel 10: Clear channel (A-law) (Echo Canceler: none) (Slaves: 10)
Channel 11: Clear channel (A-law) (Echo Canceler: none) (Slaves: 11)
Channel 12: Clear channel (A-law) (Echo Canceler: none) (Slaves: 12)
Channel 13: Clear channel (A-law) (Echo Canceler: none) (Slaves: 13)
Channel 14: Clear channel (A-law) (Echo Canceler: none) (Slaves: 14)
Channel 15: Clear channel (A-law) (Echo Canceler: none) (Slaves: 15)
Channel 16: D-channel (A-law) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (A-law) (Echo Canceler: none) (Slaves: 17)
Channel 18: Clear channel (A-law) (Echo Canceler: none) (Slaves: 18)
Channel 19: Clear channel (A-law) (Echo Canceler: none) (Slaves: 19)
Channel 20: Clear channel (A-law) (Echo Canceler: none) (Slaves: 20)
Channel 21: Clear channel (A-law) (Echo Canceler: none) (Slaves: 21)
Channel 22: Clear channel (A-law) (Echo Canceler: none) (Slaves: 22)
Channel 23: Clear channel (A-law) (Echo Canceler: none) (Slaves: 23)
Channel 24: Clear channel (A-law) (Echo Canceler: none) (Slaves: 24)
Channel 25: Clear channel (A-law) (Echo Canceler: none) (Slaves: 25)
Channel 26: Clear channel (A-law) (Echo Canceler: none) (Slaves: 26)
Channel 27: Clear channel (A-law) (Echo Canceler: none) (Slaves: 27)
Channel 28: Clear channel (A-law) (Echo Canceler: none) (Slaves: 28)
Channel 29: Clear channel (A-law) (Echo Canceler: none) (Slaves: 29)
Channel 30: Clear channel (A-law) (Echo Canceler: none) (Slaves: 30)
Channel 31: Clear channel (A-law) (Echo Canceler: none) (Slaves: 31)
31 channels to configure.
asterisk -rx “dahdi show status”
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
3 from-pstn default In Service
4 from-pstn default In Service
5 from-pstn default In Service
6 from-pstn default In Service
7 from-pstn default In Service
8 from-pstn default In Service
9 from-pstn default In Service
10 from-pstn default In Service
11 from-pstn default In Service
12 from-pstn default In Service
13 from-pstn default In Service
14 from-pstn default In Service
15 from-pstn default In Service
17 from-pstn default In Service
18 from-pstn default In Service
19 from-pstn default In Service
20 from-pstn default In Service
21 from-pstn default In Service
22 from-pstn default In Service
23 from-pstn default In Service
24 from-pstn default In Service
25 from-pstn default In Service
26 from-pstn default In Service
27 from-pstn default In Service
28 from-pstn default In Service
29 from-pstn default In Service
30 from-pstn default In Service
31 from-pstn default In Service
When I turn on the Pri debug " pri set debug on span 1 " I got the following when people dialled in
< Protocol Discriminator: Q.931 (8) len=16
< TEI=0 Call Ref: len= 2 (reference 2471/0x9A7) (Sent from originator)
< Message Type: SETUP (5)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< User information layer 1: A-Law (35)
< [18 03 a9 83 83]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 3 Type: CPE]
< [a1]
< Sending Complete (len= 1)
-- Making new call for cref 2471
On another side of set up I got the following:
< Protocol Discriminator: Q.931 (8) len=41
< TEI=0 Call Ref: len= 2 (reference 25079/0x61F7) (Sent from originator)
< Message Type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< User information layer 1: A-Law (35)
< [18 03 a1 83 92]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 18 Type: CPE]
< [1e 02 82 81]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
< [xx xx xx xx xx xx xx xx xx xx xx xx xx xx]
< Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation allowed of network provided number (3) 'xxxxxxxxxx' ]
< [xx xx xx 38 30 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '8000' ]
-- Making new call for cref 25079
Which different is that I have the following on another site but not this configurations:
< [1e 02 82 81]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
< [xx xx xx xx xx xx xx xx xx xx xx xx xx xx]
< Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation allowed of network provided number (3) 'xxxxxxxxxx' ]
< [xx xx xx 38 30 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '8000' ]
Please help if any way could, configurations problem? Or does it came from my ISP (Telekom Malaysia) and any other way to debug to get the caller number? I need the caller number to set up DID to designated extensions.
Many many thanks in advance…
Thanks thanks thanks…