Hi
Problem I am having is I have installed latest version of Asterisk 1.6 with libpri 1.4 and DAHDI ( no zaptel ).
Asterisk is working and I have checked the Sangoma configuration and tested the connection to the ISDN switch. Call from the switch come in relay through to the internal SIP phones. So inbound calling works fine.
When I try to call out I am getting the following:
Indicates that the called party cannot be reached because the called party number is not in a valid
format or is not complete. This can happen when you are calling out using a network type number
(enterprise) when you should be calling out Unknown or National for the Type of Number (TON).
To try and fix this I have tried to add the PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan options as listed in the chan_dahdi.conf overview file (voip-info.org/wiki/view/chan_dahdi.conf
When I add the the prilocaldialplan=national settings or any other settings as well as the switchtype and signalling I get the following errors when I reload the modules in Astrisk CLI:
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring prilocaldialplan at line 20.
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring internationalprefix at line 21.
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring nationalprefix at line 22.
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring localprefix at line 23.
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring switchtype at line 32.
[Oct 15 12:35:23] WARNING[3334]: chan_dahdi.c:14313 process_dahdi: Ignoring signalling at line 33
This is my basic dialplan and chan_dahdi.conf code
Extensions.conf
[globals]
TRUNK=DAHDI/g1
TRNKMSD=0
[dialplan]
include => from-internal
include => from-external
[from-external]
exten => s,1,Answer
exten => s,n,Playback(welcome-message)
[from-internal]
exten => s,1,Answer
exten => s,n,Dial(SIP/210)
exten => _x.,1,Set(CALLERID=xxxxxxx0059)
exten => _x.,n,Dial(DAHDI/g1/${EXTEN:0})
;exten => _XZX.,n,Dial(${TRUNK}/${EXTEN}:${TRUNKMSD})
;exten => _XZX.,n,Dial(DAHDI/G1/${EXTEN:7})
exten => _x.,n,Hangup()
;exten => _XZX.,n,NoOp(Dial Status: ${DIALSTATUS})
;exten => _XZX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?50:60)
;exten => _XZX.,50,Dial(mISDN/g:isdn/${EXTEN})
;exten => _XZX.,60,
;exten => s-CONGESTION,1,Dial(mISDN/g:isdn/${EXTEN})
;exten => s-CHANUNAVAIL,1,Goto(misdnOut,1,1)
exten => 99,1,Dial(SIP/99,30)
exten => 99,n,Voicemail(b99@default)
exten => 210,1,Dial(SIP/210,30)
exten => 210,n,Voicemail(b210@default)
exten => 211,1,Dial(SIP/211,30)
exten => 211,n,Voicemail(b211@default)
exten => 102,1,Dial(SIP/102,30)
exten => 102,n,Voicemail(b102@default)
exten => 103,1,Dial(SIP/103,30)
exten => 103,n,Voicemail(b103@default)
chan_dahdi.conf
[trunkgroups]
trunkgroups => 1,16
[channels]
;context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
;pridialplan=uknown
prilocaldialplan=national
internationalprefix=00
nationalprefix=0
localprefix=0113
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
switchtype=euroisdn
signalling=pri_cpe
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A101 port 1 [slot:1 bus:3 span:1] <wanpipe1>
context=from-internal
group=1
channel => 1-15,17-20
Fairly new to this so all the help would be most appreciated.