cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3810
Views
0
Helpful
12
Replies

Inbound call to VoiceGateway Router is not working during SRST

cnorton
Level 1
Level 1

                   Hi guys, I hope you can help me on our problem with our IPT. We cant do inbound call to our voice gateway router during SRST but outboud calls is working. On debug isdn q931 shows that number is unallocated. But debug translation shows the number is being translated correctly. Debug dialpeer shows that no outgoing dial-peer is matched, show dialplan number also shows no match. Attached here is the running config and the debug result. Hope someone can help us.

thanks in advance

12 Replies 12

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

From the show ephone registered..The phones do not seem to have a line on them...  We cant see any dn assigned to the phone

ephone-1[0] Mac:7487.AAC7.240A TCP socket:[1] activeLine:0 whisperLine:0 REGISTERED in SCCP ver 9/9 max_streams=1
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.120.86.2 47473 SCCP Gateway (AN)  keepalive 86922 max_line 1 available_line 1 (even though we see available line, we dont see a DN)
port 2/0/10
Preferred Codec: g711ulaw


ephone-2[1] Mac:7487.A81B.B409 TCP socket:[29] activeLine:0 whisperLine:0 REGISTERED in SCCP ver 9/9 max_streams=1
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.120.86.3 59743 SCCP Gateway (AN)  keepalive 86904 max_line 0 available_line 0
port 2/0/9
Preferred Codec: g711ulaw

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Hi aokanlawon,

those are for the analog phones, however the ip phone do have dn assigned to them. See below

phone-32[31] Mac:0019.AA44.8BA0 TCP socket:[69] activeLine:0 whisperLine:0 REGISTERED in SCCP ver 17/12 max_streams=5
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:11
IP:10.171.69.98 36630 7970  keepalive 195 max_line 8 available_line 1
button 1: dn 73 number 877028551  CM Fallback CH1   IDLE         CH2   IDLE
speed dial 1:8503 Client Services
Preferred Codec: g711ulaw


ephone-33[32] Mac:0019.56FD.654C TCP socket:[56] activeLine:0 whisperLine:0 REGISTERED in SCCP ver 17/12 max_streams=5
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:11
IP:10.171.69.27 20951 7970  keepalive 196 max_line 8 available_line 1
button 1: dn 56 number 877028896  CM Fallback CH1   IDLE         CH2   IDLE
speed dial 1:8503 Regus at your Service
Preferred Codec: g711ulaw

My concern is how come its not matching the dialpeer? Im pretty sure that the configuration is correct

Here are the sample voice port summary

20001  pots  up   up             877028562$         2                           50/0/1

20002  pots  up   up             877028822$         2                           50/0/2

20003  pots  up   up             877024000$         2                           50/0/3

20004  pots  up   up             877028835$         2                           50/0/4

20005  pots  up   up             877028620$         2                           50/0/5

20006  pots  up   up             877028896$         2                           50/0/6

20007  pots  up   up             877028536$         2                           50/0/7

20008  pots  up   up             877028521$         2                           50/0/8

20009  pots  up   up             877028561$         2                           50/0/9

20010  pots  up   up             877028539$         2                           50/0/10

20011  pots  up   up             877028808$         2                           50/0/11

20012  pots  up   up             877028847$         2                           50/0/12

20013  pots  up   up             877028596$         2                           50/0/13

20014  pots  up   up             877028682$         2                           50/0/14

20015  pots  up   up             877028685$         2                           50/0/15

20016  pots  up   up             877028608$         2                           50/0/16

20017  pots  up   up             877028512$         2                           50/0/17

20018  pots  up   up             877028513$         2                           50/0/18

20019  pots  up   up             877028551$         2                           50/0/19

20020  pots  up   up             877021102$         2                           50/0/20

20021  pots  up   up             877028831$         2                           50/0/21

20022  pots  up   up             877028619$         2                           50/0/22

20023  pots  up   up             877021101$         2                           50/0/23

20024  pots  up   up             877028538$         2                           50/0/24

20025  pots  up   up             877028897$         2                           50/0/25

20026  pots  up   up             877028597$         2                           50/0/26

20027  pots  up   up             877028577$         2                           50/0/27

20028  pots  up   up             877024006$         2                           50/0/28

20029  pots  up   up             877028697$         2                           50/0/29

20030  pots  up   up             877028625$         2                           50/0/30

20031  pots  up   up             877028810$         2                           50/0/31

20032  pots  up   up             877028635$         2                           50/0/32

20033  pots  up   up             877028677$         2                           50/0/33

20034  pots  up   up             877028849$         2                           50/0/34

20035  pots  up   up             877028609$         2                           50/0/35

20036  pots  up   up             877028552$         2                           50/0/36

20037  pots  up   up             877028618$         2                           50/0/37

dial-peer voice 900 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid
destination-pattern 9T
service mgcpapp
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/0:23



!
dial-peer voice 901 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid
preference 1
destination-pattern 9T
service mgcpapp
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/1:23

20001  pots  up   up             877028562$         2                           50/0/1
20002  pots  up   up             877028822$         2                           50/0/2
20003  pots  up   up             877024000$         2                           50/0/3
20004  pots  up   up             877028835$         2                           50/0/4
20005  pots  up   up             877028620$         2                           50/0/5
20006  pots  up   up             877028896$         2                           50/0/6
20007  pots  up   up             877028536$         2                           50/0/7
20008  pots  up   up             877028521$         2                           50/0/8
20009  pots  up   up             877028561$         2                           50/0/9
20010  pots  up   up             877028539$         2                           50/0/10
20011  pots  up   up             877028808$         2                           50/0/11
20012  pots  up   up             877028847$         2                           50/0/12
20013  pots  up   up             877028596$         2                           50/0/13
20014  pots  up   up             877028682$         2                           50/0/14
20015  pots  up   up             877028685$         2                           50/0/15
20016  pots  up   up             877028608$         2                           50/0/16
20017  pots  up   up             877028512$         2                           50/0/17
20018  pots  up   up             877028513$         2                           50/0/18
20019  pots  up   up             877028551$         2                           50/0/19
20020  pots  up   up             877021102$         2                           50/0/20
20021  pots  up   up             877028831$         2                           50/0/21
20022  pots  up   up             877028619$         2                           50/0/22
20023  pots  up   up             877021101$         2                           50/0/23
20024  pots  up   up             877028538$         2                           50/0/24
20025  pots  up   up             877028897$         2                           50/0/25
20026  pots  up   up             877028597$         2                           50/0/26
20027  pots  up   up             877028577$         2                           50/0/27
20028  pots  up   up             877024006$         2                           50/0/28
20029  pots  up   up             877028697$         2                           50/0/29
20030  pots  up   up             877028625$         2                           50/0/30
20031  pots  up   up             877028810$         2                           50/0/31
20032  pots  up   up             877028635$         2                           50/0/32
20033  pots  up   up             877028677$         2                           50/0/33
20034  pots  up   up             877028849$         2                           50/0/34
20035  pots  up   up             877028609$         2                           50/0/35
20036  pots  up   up             877028552$         2                           50/0/36
20037  pots  up   up             877028618$         2                           50/0/37

Here are the dial-peer config

dial-peer voice 900 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid

preference 2
destination-pattern 9T
service mgcpapp
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/0:23



!
dial-peer voice 901 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid
preference 1
destination-pattern 9T
service mgcpapp
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/1:23

If someone out ther who can figure this out, i need your help. Thanks

Please remove the service mgcpapp from the dial-peer 900 and 901.

Do another test call..and send debug isdn q931

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

HI aokanlawon,

I have removed the mgcapp service but stil getting the same result

7702-18-1-RTR01#show run | s dial-peer voice 900 pots
dial-peer voice 900 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid
preference 1
destination-pattern 9T
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/0:23
forward-digits 9
7702-18-1-RTR01#show run | s dial-peer voice 901 pots
dial-peer voice 901 pots
description PRI to Telco
translation-profile incoming srst-10-to-9-digit
translation-profile outgoing srst-clid
preference 2
destination-pattern 9T
incoming called-number .
fax rate disable
direct-inward-dial
port 0/0/1:23
forward-digits 9


7702-18-1-RTR01#
005507: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: RX <- SETUP pd = 8  callref = 0x0B66
        Bearer Capability i = 0x8090A2
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
        Calling Party Number i = 0x1183, '85231278477'
                Plan:ISDN, Type:International
        Called Party Number i = 0xA1, '2049268500'
                Plan:ISDN, Type:National
005508: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: Received SETUP  callref = 0x8B66 callID = 0x0067 switch = primary-ni interface = User
7702-18-1-RTR01#
005509: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8B66
        Channel ID i = 0xA98381
                Exclusive, Channel 1
005510: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x8B66
        Cause i = 0x8081 - Unallocated/unassigned number
005511: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: RX <- RELEASE pd = 8  callref = 0x0B66
005512: Sep  9 08:29:39: ISDN Se0/0/1:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8B66

OK, the isdn leg will not show us if the voice xlation is working..So lets try the "debug voip ccapi inout"

Please do a test call and send me the output of debug voip ccapi inout

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Hi,

I think the issue is being caused by the number expansion statements in your config.

!
num-exp 1... 817031...
num-exp 2... 817032...
num-exp 3... 817033...
num-exp 4... 817034...
num-exp 5... 817035...
num-exp 6... 817036...
num-exp 7... 817037...
!

The call you have shown in yor Q931 debug shows the called number as:-
Called Party Number i = 0xA1, '2049268500'

The number expansion "num-exp 2... 817032..." will be changing this to:-
817032049

Try negating the number expansion and retest
no num-exp 2... 817032...

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Hi acampbell,

Sorry its my fault, i attached a wrong config file. That config is for another router on our site. I'll attach the correct one so kindly review it again.

Thanks so much

Hi Aokanlawon,

Here is the CCAPI debug result. Also i noticed that the router is failing to download the xml file from ccm. Can that also cause this issue?

7702-18-1-RTR01#show ccm
MGCP Domain Name: 7702-18-1-RTR01.connectregus.com
Priority        Status                   Host
============================================================
Primary         Registered               10.224.16.10
First Backup    Backup Ready             10.224.16.9
Second Backup   None

Current active Call Manager:    10.224.16.10
Backhaul/Redundant link port:   2428
Failover Interval:              30 seconds
Keepalive Interval:             15 seconds
Last keepalive sent:            22:57:37 GMT Sep 10 2012 (elapsed time: 00:00:08)
Last MGCP traffic time:         22:57:37 GMT Sep 10 2012 (elapsed time: 00:00:08)
Last failover time:             17:33:50 GMT Sep 9 2012 from (10.224.16.10)
Last switchback time:           17:34:35 GMT Sep 9 2012 from (10.224.16.9)
Switchback mode:                Graceful
MGCP Fallback mode:             Enabled/OFF
Last MGCP Fallback start time:  None
Last MGCP Fallback end time:    None
MGCP Download Tones:            Disabled
TFTP retry count to shut Ports: 2

Backhaul Link info:
    Link Protocol:      TCP
    Remote Port Number: 2428
    Remote IP Address:  10.224.16.10
    Current Link State: OPEN
    Statistics:
        Packets recvd:   3216
        Recv failures:   0
        Packets xmitted: 4244
        Xmit failures:   0
    PRI Ports being backhauled:
        Slot 0, VIC 0, port 1
        Slot 0, VIC 0, port 0
Configuration Auto-Download Information
=======================================
No configurations downloaded
Current state: Downloading XML file
Configuration Download statistics:
        Download Attempted             : 1
          Download Successful          : 0
          Download Failed              : 0
          TFTP Download Failed         : 671 <<<<<<<<<<<<<<<<<
        Configuration Attempted        : 0
          Configuration Successful     : 0

Hi,

Looking at the traces the called number is not xlated...

002778: Sep 10 23:33:43:  vsacount in free is 0
002779: Sep 10 23:33:45: //-1/CC17E1988347/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=85231278477
   cisco-anitype=1
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=3
   dest=2049268500
   cisco-desttype=2
   cisco-destplan=1
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   cisco-rdntype=-1
   cisco-rdnplan=-1
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

002780: Sep 10 23:33:45: //-1/CC17E1988347/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x696441A8, Call Info(
   Calling Number=85231278477,(Calling Name=)(TON=International, NPI=ISDN, Screening=Network, Presentation=Allowed),
   Called Number=2049268500(TON=National, NPI=ISDN),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=900, Progress Indication=NULL(0), Calling IE Present=TRUE,

Looking at your config... ( i dont see a clation for the dialled number 2049268500 is there something mssing in the config

voice translation-rule 1

rule 1 /^5142287400/ /817034000/

rule 2 /^5142287499/ /915135871660/

rule 3 /^5142287497/ /817034400/

rule 4 /^51422874/ /8170374/

rule 5 /^51422875/ /8170375/

!

voice translation-rule 2

rule 1 /817034000/ /5142287400/

rule 2 /^817037/ /5142287/

!

!

voice translation-profile srst-10-to-9-digit

translate called 1

!

voice translation-profile srst-clid

translate calling 2

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Hi aokanlawon,

The attached config file was incorrect. I attached the correct one on my previuos entry. Here is the configuration of the translation rule -

voice translation-rule 1

rule 1 /^2049268500/ /877024000/

rule 2 /^2049268599/ /915135871660/

rule 3 /^20492685/ /8770285/

rule 4 /^20492686/ /8770286/

rule 5 /^20492688/ /8770288/

!

voice translation-rule 2

rule 1 /877024000/ /2049268500/

rule 2 /^8770285/ /20492685/

rule 3 /^8770286/ /20492686/

rule 4 /^8770288/ /20492688/

Im pretty sure its working since on my debug dial-peer, the number is translated to the correct 9 digit number

002660: Sep 10 23:27:48: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=85231278477, Called Number=2049268500, Voice-Interface=0x696441A8, <<<<<<<<<<<<<<<<<<< called number
   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
002661: Sep 10 23:27:48: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=900
002662: Sep 10 23:27:48: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=85231278477, Called Number=2049268500, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_FAX
002663: Sep 10 23:27:48: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=NO_MATCH(-1) After All Match Rules Attempt
002664: Sep 10 23:27:48 GMT: %CALL_CONTROL-6-APP_NOT_FOUND: Application mgcpapp in dial-peer 900 not found.  Handing callid 1659 to the alternate app default.

002665: Sep 10 23:27:48: //-1/F792BE758343/DPM/dpMatchPeersCore:
   Calling Number=, Called Number=877024000, Peer
7702-18-1-RTR01# Info Type=DIALPEER_INFO_SPEECH
002666: Sep 10 23:27:48: //-1/F792BE758343/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=877024000 <<<<<<<<<<<<<<<<<<<< Xlated called number
002667: Sep 10 23:27:48: //-1/F792BE758343/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
002668: Sep 10 23:27:48: //-1/F792BE758343/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)

7702-18-1-RTR01#show ephone registered | i 877024000

button 1: dn 38 number 877024000  CM Fallback CH1   IDLE         CH2   IDLE         shared

button 1: dn 38 number 877024000  CM Fallback CH1   IDLE         CH2   IDLE         shared

TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT

20422  pots  up   up             877028521$         0                           50/0/36

20423  pots  up   up             877028852$         0                           50/0/37

20424  pots  up   up             877024000$         0                           50/0/38 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,

20425  pots  up   up             877028609$         0                           50/0/39

20426  pots  up   up             877028638$         0                           50/0/40

20427  pots  up   up             877028853$         0                           50/0/41

ok I agree that the xlation looks to be working..but i dont see the xlated number on the ccapi debu..Can you try two things

1. rename the xlation profile to something smaller eg srst_in

voice translation-profile srst-10-to-9-digit

translate called 1

2. can you also try remove the number expansion just to test..

lets know the results

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

This issue was resolved after we upgraded the IOS. Thank guys!

Getting Started

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: