07-25-2009 06:01 AM
I have a problem with dial peer definition on a PSTN Gateway AS5400 -- incoming voice calls process as *MODEM* rather than as *VOICE* calls.
!
dial-peer voice 5629912 voip
incoming called-number 5045629912
destination-pattern 5045629912
voice-class h323 1
session target ipv4:---.--.23.79
codec g711ulaw
!
The ipv4 address is to a 3600 with call manager express, (and registered 7940 IP Phones, working inter-office).
No match to dial peer occurs, yet I'm certain q.931 setup msg contains literal match in 'called party'.
show dialplan 5045629912
provides confirmation, indicating 'type = voice'.
Some system info:
IOS version
c5400-js-mz.122-16.T17.bin
ISDN signaling on 1 connected PRI T1.
show spe results when active calls received: (identical sample q.931 setups msgs from softswitch nfas D diagnostic tool, all same called party number which matches dial peer)
show spe output:
2/03 0018-0023 ACTIVE 0 0 0 ____aa ____mm
2/04 0024-0029 ACTIVE 0 0 0 aa____ mm____
Any help with this greatly appreciated!
07-26-2009 04:15 AM
Please paste the full config of the AS5400. The information above does not tell us enough to give an opinion on the problem.
08-13-2009 09:37 AM
You need to configure a dial-peer voice pots, with the incomming calling numbert you want to reach and the T1/E1 Port associated.
08-13-2009 05:17 PM
Thanks for your reply. With lots of help, we eventually found out how to mix voice and dial-up acceptably.
The approach involved setting up resource-pool elements.
Group resource definitions contain range port statements; these can be referenced by profile customer definitions that also bind dialer dnis entries, thereby linking a range of ports with specific called party telephone numbers.
Lastly, an Async Group is created with port-range identical to the ports in the resource-pool group resource (data). The Async group has the necessary IOS configuration commands for correct setup of modem ports.
The net result is that when calls are received, the calling party number in the Q.931 setup message can be matched with a dnis group. If the dnis group matches the access number list for dial-up users, then the call will land in the range of ports configured for modem/data calls. If the called party number matches one of the dnis groups keyed to the voice resource entries, it will land on one of the ports that has (effectively) no special config, no authorization setup, etc., i.e., those ports considered 'voice' ports in the arrangement, and hopefully also matching a dial peer that can correctly set up call legs or route the call as otherwise required.
Here are selections from a working example (AS5400 configured as PSTN Gateway & Dial-up RAS)
NOTE: IT IS CRITICAL TO LEAVE SOME PORTS UN-ASSIGNED so that a group of ports is free for outbound pots calls... (if you want to do outbound calling). Otherwise no dsp resource errors result. In this example, 3/96 3/107 are not referenced by any aggregation entity.... These are free ports and end up in the default group. They can be selected for outbound calls (as this is a PSTN gateway config).
resource-pool enable
!
resource-pool group resource data
! description data ports are for dial up (modem calls).
range port 2/0 2/47
!
resource-pool group resource office
! ports for inbound voice (1 of 2)
range port 2/48 2/107
!
resource-pool group resource fax
range port 3/0 3/5
!
resource-pool group resource nulldnis
! additional ports for voice (2 of 2)
! utilized where 2 calls legs are needed and require 2 ports per call. Does not map to any dnis group.
range port 3/6 3/95
!
resource-pool profile customer data
limit base-size all
limit overflow-size 0
! bind group resource data, defined above
resource data speech
! bind dnis group data, defined below
dnis group data
!
resource-pool profile customer office
limit base-size all
limit overflow-size 0
resource office speech
dnis group office
!
resource-pool profile customer fax
limit base-size all
limit overflow-size 0
resource fax speech service fax
dnis group fax
!
resource-pool profile customer nulldnis
limit base-size all
limit overflow-size 0
resource nulldnis speech service nulldnis
dnis group default
!
resource-pool profile service fax
!
resource-pool profile service nulldnis
!
resource-pool profile service office
dialer dnis group data
! put ranges, or number commands here to specify
! called party numbers for dial-up access here.
! imaginary RAS 10K NNX with 'hole' for voice numbers between last 4 of 1000-1999
number 4004000xxx
number 4004002xxx
number 4004003xxx
! etc..
!
dialer dnis group office
range 4004001000 4004001998
!
dialer dnis group fax
number 4004001999
interface Group-Async1
bandwidth 56
ip unnumbered FastEthernet0/0
encapsulation ppp
no ip mroute-cache
timeout absolute 86400 0
dialer in-band
dialer idle-timeout 1800
dialer-group 1
async mode interactive
peer default ip address pool nas-ip-pool
no keepalive
ppp max-bad-auth 4
ppp authentication pap callin
ppp authorization chap
ppp multilink
ppp timeout retry 5
group-range 2/00 2/47
!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: