[Serusers] A gateway problem

Mario Alessandro Paolelli merpeia at hotmail.com
Fri Dec 10 11:40:01 CET 2004


This is my problem.
I've got a Router 2651XM [IOS: 12.3(8)T3], with a Voice Module NM-HD-2V and 
a BRI card VIC2-2BRI-NT/TE.

The Router is attached to a PBX card which simulate a ISDN flux and to a 
CallManager 3.3.
This ISDN answers to the number 0x-xxxxx-990.
It means that if I call this number, an IP-phone attested on the CallManager 
rings.

Everything seems to be allright if I call that number from the phones 
attested on the same PBX. From one of them I digit "0x-xxxxx-990#1111111". 
The code "#1111111" is used from us to go on the PSTN.

But If i call that number from a mobile-phone like xxx-xxxxxxx, the call 
arrives to the voice module (I saw it by the debug isdn q931) but it seems 
to be redirect outside, going to the PBX again. WHY ???

This is a "debug isdn q931" for a call which did the right way:

*Jun 4 13:31:44.918: ISDN BR1/0 Q931: RX <- SETUP pd = 8 callref = 0x3D
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x81
Calling Party Number i = 0x0083, '666397'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '590'
Plan:Unknown, Type:Unknown
*Jun 4 13:31:44.950: ISDN BR1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0xBD
Channel ID i = 0x89
*Jun 4 13:31:45.070: ISDN BR1/0 Q931: TX -> ALERTING pd = 8 callref = 0xBD
*Jun 4 13:31:45.130: ISDN BR1/0 Q931: TX -> CONNECT pd = 8 callref = 0xBD
Channel ID i = 0x89

And this is the "debug isdn q931" for a call which didn't do the right way:

*Jun 4 13:33:17.922: ISDN BR1/0 Q931: RX <- SETUP pd = 8 callref = 0x11
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x81
Calling Party Number i = 0x0081, '3479264055'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '590'
Plan:Unknown, Type:Unknown
High Layer Compat i = 0x9181
*Jun 4 13:33:17.954: ISDN BR1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0x91
Channel ID i = 0x89
*Jun 4 13:33:18.078: ISDN BR1/0 Q931: Applying typeplan for sw-type 0x1 is 
0x0
0x0, Calling num 3479264055
*Jun 4 13:33:18.082: ISDN BR1/0 Q931: Applying typeplan for sw-type 0x1 is 
0x0
0x0, Called num #1111111200
*Jun 4 13:33:18.082: ISDN BR1/0 Q931: TX -> SETUP pd = 8 callref = 0x5F
Bearer Capability i = 0x8090A3
Standard = CCITT
Transer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x82
Calling Party Number i = 0x0081, '3479264055'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '#1111111200'
Plan:Unknown, Type:Unknown
Sending Complete
High Layer Compat i = 0x9181
*Jun 4 13:33:18.154: ISDN BR1/0 Q931: RX <- CALL_PROC pd = 8 callref = 0xDF
Channel ID i = 0x8A
*Jun 4 13:33:18.170: ISDN BR1/0 Q931: RX <- ALERTING pd = 8 callref = 0xDF
*Jun 4 13:33:18.183: ISDN BR1/0 Q931: TX -> ALERTING pd = 8 callref = 0x91


To complete the post here's the "Show Running-config" of the Router:

Current configuration : 3594 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ro_lab_off
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$XA5Z$vC3P.6/g5hcssnI6GfMX31
!
no network-clock-participate slot 1
voice-card 0
dspfarm
no local-bypass
!
voice-card 1
no dspfarm
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
no ip domain lookup
no ftp-server write-enable
isdn switch-type basic-net3
!
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g711alaw
!
!
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
!
!
!
!
!
!
class-map match-any AutoQoS-VoIP-RTP-Trust
match ip dscp ef
class-map match-any AutoQoS-VoIP-Control-Trust
match ip dscp cs3
match ip dscp af31
!
!
policy-map AutoQoS-Policy-Trust
class AutoQoS-VoIP-RTP-Trust
  priority percent 70
class AutoQoS-VoIP-Control-Trust
  bandwidth percent 5
class class-default
  fair-queue
!
!
translation-rule 999
Rule 0 5 #1111111
!
!
!
!
interface FastEthernet0/0
ip address 172.18.4.62 255.255.255.192
service-policy output AutoQoS-Policy-Trust
duplex auto
speed auto
auto qos voip trust
h323-gateway voip interface
h323-gateway voip h323-id ro_lab_off
h323-gateway voip tech-prefix 1#
h323-gateway voip bind srcaddr 172.18.4.62
!
interface FastEthernet0/1
no ip address
service-policy output AutoQoS-Policy-Trust
duplex auto
speed auto
auto qos voip trust
!
interface FastEthernet0/1.100
description voice vlan subif
encapsulation dot1Q 100
ip address 172.18.4.126 255.255.255.192
!
interface FastEthernet0/1.200
description pc vlan subif
encapsulation dot1Q 200
ip address 172.18.4.190 255.255.255.192
!
interface BRI1/0
no ip address
isdn switch-type basic-net3
isdn tei-negotiation preserve
isdn incoming-voice voice
!
interface BRI1/1
no ip address
isdn switch-type basic-net3
isdn tei-negotiation preserve
isdn incoming-voice voice
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.18.4.1
ip http server
!
!
!
!
control-plane
!
rmon event 33333 log trap AutoQoS description "AutoQoS SNMP traps for Voice 
Drop
s" owner AutoQoS
rmon alarm 33335 cbQosCMDropBitRate.1171.1173 30 absolute rising-threshold 1 
333
33 falling-threshold 0 owner AutoQoS
rmon alarm 33336 cbQosCMDropBitRate.1207.1209 30 absolute rising-threshold 1 
333
33 falling-threshold 0 owner AutoQoS
!
!
voice-port 1/0/0
compand-type a-law
cptone IT
timeouts interdigit 3
timeouts ringing infinity
connection plar 5200
!
voice-port 1/0/1
compand-type a-law
cptone IT
timeouts interdigit 3
timeouts ringing 10
connection plar 5100
!
!
!
!
!
dial-peer voice 1000 pots
description Connessione a PSTN
destination-pattern T
translate-outgoing called 999
port 1/0/0
!
dial-peer voice 1001 pots
description Connessione a PSTN
preference 1
destination-pattern T
port 1/0/1
!
dial-peer voice 6000 voip
description Chiamate al CM 3.3
destination-pattern 5..
voice-class codec 1
session target ipv4:172.18.4.21
dtmf-relay h245-signal h245-alphanumeric
!
dial-peer voice 6100 voip
description Chiamate al CM 3.3
preference 1
destination-pattern 5..
voice-class codec 1
session target ipv4:172.18.4.22
dtmf-relay h245-signal h245-alphanumeric
!


Please... HELP!!!

Merpeia





More information about the sr-users mailing list