01-21-2015 12:48 PM - edited 03-17-2019 01:41 AM
Longtime lurker, First time poster. I hope to contribute alot of my other knowledge here in other areas. I am very technical, Worked with a lot of Data stuff. LAN/WAN etc Cisco ASA but never set up a phone system. More of a personal challenge which might replace some aging phone systems. I have a plethora of Cisco equipment at my disposal.IP Phones - 7906,7940,6921,6941,6945 etc etc. Those are not the issue. I am interested in getting a working system either on a 2901 with an ISM Interface or on a 887VA for small remote sites (Up to 5 phones say).
I am not at the lab now so I cant post configs but I wanted to post so I could go in fresh and attack this issue as its been bugging me for days.
So far I have working.....
Extensions working 100x,100x, etc etc
The phones boot up, Get an IP address correctly.
They find the tftp server on the router and download and load the correct loads file for the model.
The calls can quite happily sit there all day and call between themselves.
Calls inbound work with a longest idle group, using a pilot number from the ISDN line itself
I have an ISDN in the UK provided by BT. This works fine we have had an ISDN tester on it so the line dials in and out fine with that.
The ISDN line is either attached to a EHWIC card on the 2901 or on the 887VA attached to the interface BRI 2. Both exhibit the same issue, cant get external calls to route onto the PSTN.
What I want to happen is to basically say dial a 9 then if you detect that as the leading digit route this OUT of the ISDN onto the public PSTN network. I have been through SO many forum posts on here and other guides and I CANNOT seem to get this to work. When I attempt this....
debug isdn q931
debug isdn q921
isdn test call interface BRI 2 <<<NUMBER>>>
I get the error ....
Cause i = 0x8281 - Unallocated/unassigned number
Be as technical as you like, I am quite verse with Cisco lingo. debugging etc etc. Can someone give me the steps I need to do to get this working. I presume all I need is the right dial plan? ...... Again I have tried many many different combinations of this. I presume that the voice-port x is a virtual port number?
01-21-2015 01:01 PM
Do you have the dial peer configured, something like:
dial-peer voice 100 pots
destination-pattern 9T
port X/Y/Z:0 (your ISDN port)
01-21-2015 01:15 PM
Yeah tried that, I presume I can just use it as....
dial-peer voice 100 pots
destination-pattern 9T
port 1
Port 1 is the voice-port 1, Am I correct? Can this be a physical interface? I am at a loss as why some people use voice-port 1 for this....
01-21-2015 01:18 PM
You said it's ISDN circuit which would not be "1", it would be something like "1:15" assuming PRI ISDN circuit on E1. Can you post "sh run" and "sh diag"
01-21-2015 01:24 PM
I can do when I am back at the lab.
However all I know say for example my ISDN line is physically plugged into Interface BRI 2 on the 887VA.
Hope that helps!!
01-21-2015 01:35 PM
How could I "tell" which port to use, Then I am guessing it would be as simple as
dial-peer voice 100 pots
destination-pattern 9T
port 2
01-22-2015 12:51 AM
Config ........
clock set 08:31:00 22 jan 2015
conf t
no ip domain-lookup
isdn switch-type basic-net3
interface Vlan1
ip address 192.168.1.17 255.255.255.0
no shutdown
interface FastEthernet0
switchport access vlan 1
exi
ip dhcp excluded-address 192.168.1.1 192.168.1.19
ip dhcp excluded-address 192.168.1.231 192.168.1.254
ip dhcp pool TestLab
network 192.168.1.0 255.255.255.0
domain-name testlab.local
dns-server 192.168.1.1 192.168.1.2
default-router 192.168.1.1
netbios-name-server 192.168.1.1 192.168.1.2
option 150 ip 192.168.1.17
lease 31
tftp-server flash:SCCP41.9-2-1S.loads
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:SCCP6945.9-2-1-0.loads
tftp-server flash:P0030801SR02.loads
tftp-server flash:SCCP11.8-5-3S.loads
tftp-server flash:term06.default.loads
tftp-server flash:term11.default.loads
tftp-server flash:term42.default.loads
tftp-server flash:term62.default.loads
tftp-server flash:SCCP42.8-5-3S.loads
tftp-server flash:term31.default.loads
tftp-server flash:term45.default.loads
tftp-server flash:term65.default.loads
tftp-server flash:term70.default.loads
tftp-server flash:term71.default.loads
tftp-server flash:term75.default.loads
tftp-server flash:SCCP31.8-5-3S.loads
tftp-server flash:SCCP41.8-5-3S.loads
tftp-server flash:SCCP45.8-5-3S.loads
tftp-server flash:SCCP70.8-5-3S.loads
tftp-server flash:SCCP75.8-5-3S.loads
tftp-server flash:SCCP69xx.8-5-3-0.loads
telephony-service
max-ephones 5
max-dn 50
ip source-address 192.168.1.17 port 2000
dn-webedit
time-webedit
web admin system name james secret 0 smithsd0ck
web admin system name alex secret 0 smithsd0ck
load 7960-7940 P0030801SR02
load 6921 SSCCP69xx.8-5-3-0
load 6941 SCCP69xx.8-5-3-0
transfer-system full-consult
create cnf-files
exit
ip http path flash:/GUI
ip http server
ip http secure-server
ip http authentication local
telephony-service
ephone-dn 1
number 1001
name ***Black 6941 ***
ephone-dn 2
number 1002
name ***6921 v1***
ephone-dn 3
number 1003
name ***6921 v2***
ephone-dn 4
number 1004
name ***Big Bertha***
ephone 1
mac-address E8B7.484E.8483
type 6941
button 1:1
ephone 2
mac-address 8478.ACC7.13C0
type 6941
button 1:2
ephone 3
mac-address 8478.ACC7.13A4
type 6921
button 1:3
ephone 4
mac-address 0023.5E18.A3AA
type 7940
button 1:4
exit
interface BRI0
shutdown
interface BRI1
shutdown
interface BRI2
shutdown
description Test_ISDN_1
no ip address
isdn switch-type basic-net3
isdn overlap-receiving
isdn point-to-point-setup
isdn incoming-voice voice
isdn static-tei 0
no shutdown
exit
voice-port 2
compand-type a-law
cptone GB
description Test_ISDN_1
exi
dial-peer voice 1 pots
destination-pattern 9T
port 2
ephone-hunt 1 longest-idle
pilot <<<REMOVED>>>>
list 1001, 1002, 1003
exit
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
01-22-2015 06:46 AM
OK, this is not the config, but rather a script you used to configure it, lets assume that all commands took, then it should be OK.
Can you provide "debug isdn q931" and "debug voice dialpeer" for the outbound call?
01-22-2015 06:49 AM
Oh yeah that's just how its configured. You know what we actually got this working.
If it helps ANYONE else at all I will be a very happy man.
http://mickvaites.com/2009/06/cisco-isdn2e-vic2-2bri-ntte-configuration-issues/
Then after that it just needed
the bearer cap speech tag on the voice port.
https://learningnetwork.cisco.com/thread/60239
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide