[cisco-voip] Dial Peers
Martin Bufton
m.bufton at spectra-group.co.uk
Wed Aug 17 10:21:41 EDT 2011
Think I'm sorted for inbound and outbound dialing now.
No need for SPIDs
Just investigating codecs and Clocking now, as I'm running ISDN VTC over
the connection and its freezing even though the routers are back to back
at 100Meg full duplex.
Martin Bufton BSc (Hons), CCNAV - Systems Engineer
Email: m.bufton at spectra-group.co.uk
<mailto:m.bufton at spectra-group.co.uk>
Tel: 01531 651221
Mobile: 07515 285505
Spectra Group (UK) Limited
Telephone: 0845 2600 444 Web: www.spectra-group.co.uk
<http://www.spectra-group.co.uk/> Fax: 0845 2600 445
Company Registration Number: 4570376
From: Ashwani Ranpise [mailto:ashwani at ranpise.com]
Sent: 17 August 2011 14:28
To: Martin Bufton
Subject: Re: [cisco-voip] Dial Peers
If I am not mistaken dont you have to have SPID's defined under BRI ? I
have not played with BRI since CCNA days so I am rusty.
On Wed, Aug 17, 2011 at 9:10 AM, Martin Bufton <
m.bufton at spectra-group.co.uk> wrote:
No have two 2811's
Current state is I had one successful call now all I get is all channels
busy.
Full config of each is as follows:
PSTN 2811: PSTN connected to 0/0/0
Building configuration...
Current configuration : 1879 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname connectionToPSTN
!
boot-start-marker
boot-end-marker
!
! card type command needed for slot/vwic-slot 0/2
logging message-counter syslog
!
no aaa new-model
network-clock-participate wic 0
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type basic-net3
!
!
voice-card 0
!
archive
log config
hidekeys
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface Service-Engine0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/0/0
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/0/1
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
isdn incoming-voice voice
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
compand-type a-law
cptone GB
!
voice-port 0/0/1
cptone GB
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
!
mgcp fax t38 ecm
!
!
!
dial-peer voice 100 pots
destination-pattern 9.T
incoming called-number .
direct-inward-dial
port 0/0/0
!
dial-peer voice 101 pots
destination-pattern 9.T
port 0/0/1
!
dial-peer voice 1 voip
destination-pattern 650144
session target ipv4:192.168.1.1
dtmf-relay h245-alphanumeric
codec g711alaw
!
!
!
!
line con 0
line aux 0
line 194
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
login
!
scheduler allocate 20000 1000
end
ISDN handset 2811: Handset connected to 0/0/0
Building configuration...
Current configuration : 2245 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname connectionToPBX
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 0
!
!
ip cef
!
!
no ip domain lookup
!
isdn switch-type basic-net3
!
voice-card 0
no dspfarm
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/0/0
no ip address
isdn switch-type basic-net3
isdn protocol-emulate network
isdn layer1-emulate network
isdn incoming-voice voice
isdn skipsend-idverify
line-power
!
interface BRI0/0/1
no ip address
isdn switch-type basic-net3
isdn protocol-emulate network
isdn incoming-voice voice
isdn skipsend-idverify
!
interface FastEthernet1/0
!
interface FastEthernet1/1
!
interface FastEthernet1/2
!
interface FastEthernet1/3
!
interface FastEthernet1/4
!
interface FastEthernet1/5
!
interface FastEthernet1/6
!
interface FastEthernet1/7
!
interface FastEthernet1/8
!
interface FastEthernet1/9
!
interface FastEthernet1/10
!
interface FastEthernet1/11
!
interface FastEthernet1/12
!
interface FastEthernet1/13
!
interface FastEthernet1/14
!
interface FastEthernet1/15
!
interface Vlan1
no ip address
!
!
!
ip http server
no ip http secure-server
!
control-plane
!
!
!
voice-port 0/0/0
compand-type a-law
cptone GB
!
voice-port 0/0/1
compand-type a-law
cptone GB
!
!
dial-peer voice 1 pots
destination-pattern 650144
incoming called-number 650144
port 0/0/0
!
dial-peer voice 2 pots
incoming called-number ......
direct-inward-dial
port 0/0/1
!
dial-peer voice 100 voip
destination-pattern 9..........
session target ipv4:192.168.1.2
dtmf-relay h245-alphanumeric
codec g711alaw
!
dial-peer voice 1000 pots
destination-pattern 0
port 0/0/0
!
dial-peer voice 1001 pots
destination-pattern 0
port 0/0/1
!
dial-peer voice 101 voip
destination-pattern 9...........
session target ipv4:192.168.1.2
dtmf-relay h245-alphanumeric
codec g711alaw
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
End
Martin Bufton BSc (Hons), CCNAV - Systems Engineer
Email: m.bufton at spectra-group.co.uk
<mailto:m.bufton at spectra-group.co.uk>
Tel: 01531 651221
Mobile: 07515 285505
Spectra Group (UK) Limited
Telephone: 0845 2600 444 Web: www.spectra-group.co.uk
<http://www.spectra-group.co.uk/> Fax: 0845 2600 445
Company Registration Number: 4570376
From: Ashwani Ranpise [mailto:ashwani at ranpise.com]
Sent: 17 August 2011 14:04
To: Martin Bufton
Subject: Re: [cisco-voip] Dial Peers
Ok. I can see from debug isdn that number is "unallocated or
unassigned". Where is dial-peer 1 pointing too? Is that a CUCM?
On Wed, Aug 17, 2011 at 8:55 AM, Martin Bufton <
m.bufton at spectra-group.co.uk> wrote:
Configuration on my PSTN/ISDN end is
Current configuration : 1833 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname connectionToPSTN
!
boot-start-marker
boot-end-marker
!
! card type command needed for slot/vwic-slot 0/2
logging message-counter syslog
!
no aaa new-model
network-clock-participate wic 0
!
dot11 syslog
ip source-route
!
ip cef
!
no ipv6 cef
!
multilink bundle-name authenticated
!
isdn switch-type basic-net3
!
!
voice-card 0
!
!
!
!
!
archive
log config
hidekeys
!
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface Service-Engine0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/0/0
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/0/1
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
isdn incoming-voice voice
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
control-plane
!
!
!
voice-port 0/0/0
compand-type a-law
cptone GB
!
voice-port 0/0/1
cptone GB
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
!
mgcp fax t38 ecm
!
dial-peer voice 100 pots
incoming called-number .
destination-pattern 9.T
direct-inward-dial
port 0/0/0
!
dial-peer voice 101 pots
destination-pattern 9.T
port 0/0/1
!
dial-peer voice 1 voip
destination-pattern 650144
session target ipv4:192.168.1.1
dtmf-relay h245-alphanumeric
codec g711alaw
!
!
!
!
line con 0
line aux 0
line 194
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
login
!
scheduler allocate 20000 1000
end
For an inbound call the output is
*Aug 17 13:03:07.755: ISDN BR0/0/0 Q921: User TX -> RRf sapi=0 tei=113
nr=0
*Aug 17 13:03:15.911: ISDN BR0/0/0 Q921: User RX <- UI sapi=0 tei=127
*Aug 17 13:03:15.911: ISDN BR0/0/0 Q931: SETUP pd = 8 callref = 0x01
Sending Complete
Bearer Capability i = 0x9090A3
Standard = CCITT
Transfer Capability = 3.1kHz Audio
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Called Party Number i = 0x81, '650144'
Plan:ISDN, Type:Unknown
*Aug 17 13:03:15.931: ISDN BR0/0/0 Q921: User TX -> INFO sapi=0 tei=113,
ns=0 nr=0
*Aug 17 13:03:15.935: ISDN BR0/0/0 Q931: CALL_PROC pd = 8 callref =
0x81
Channel ID i = 0x89
Exclusive, B1
*Aug 17 13:03:15.979: ISDN BR0/0/0 Q921: User RX <- RR sapi=0 tei=113
nr=1
*Aug 17 13:03:15.979: ISDN BR0/0/0 Q921: User TX -> INFO sapi=0 tei=113,
ns=1 nr=0
*Aug 17 13:03:15.979: ISDN BR0/0/0 Q931: DISCONNECT pd = 8 callref =
0x81
Cause i = 0x8081 - Unallocated/unassigned number
*Aug 17 13:03:16.023: ISDN BR0/0/0 Q921: User RX <- RR sapi=0 tei=113
nr=2
Martin Bufton BSc (Hons), CCNAV - Systems Engineer
Email: m.bufton at spectra-group.co.uk
<mailto:m.bufton at spectra-group.co.uk>
Tel: 01531 651221
Mobile: 07515 285505
Spectra Group (UK) Limited
Telephone: 0845 2600 444 Web: www.spectra-group.co.uk
<http://www.spectra-group.co.uk/> Fax: 0845 2600 445
Company Registration Number: 4570376
From: Ashwani Ranpise [mailto:ashwani at ranpise.com]
Sent: 17 August 2011 13:46
To: Martin Bufton
Subject: Re: [cisco-voip] Dial Peers
Do you have incoming dial-peer ?
dial-peer voice 10 pots
incoming called-number .
direct-inward-dial
On Wed, Aug 17, 2011 at 8:32 AM, Martin Bufton <
m.bufton at spectra-group.co.uk> wrote:
Do I have to be running CME for dial peers to work?
I am trying to do the following
ISDN/PSTN ---- 2811---IP----2811 --- ISDN phone
I think I have the dial peers correct but a debug dial peers doesn't
show anything for an incoming call.
Martin Bufton BSc (Hons), CCNAV - Systems Engineer
Email: m.bufton at spectra-group.co.uk
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Spectra Group (UK) Ltd.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error.
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2692 bytes
Desc: image001.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 2458 bytes
Desc: image002.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2145 bytes
Desc: image003.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 4483 bytes
Desc: image004.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 2235 bytes
Desc: image005.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110817/af2de580/attachment-0003.jpg>
More information about the cisco-voip
mailing list